This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Remove dead references to HAVE_GETTIMEOFDAY


Patch checked in.

-- Jeff J.

Fred Fish wrote:
Nothing uses HAVE_GETTIMEOFDAY anymore...

2006-06-06 Fred Fish <fnf@specifix.com>

* configure.host: Remove references to HAVE_GETTIMEOFDAY.


Index: newlib/newlib/configure.host =================================================================== RCS file: /cvsroots/latest/src/newlib/newlib/configure.host,v retrieving revision 1.1.1.5 diff -u -p -r1.1.1.5 configure.host --- newlib/newlib/configure.host 16 Apr 2006 22:34:27 -0000 1.1.1.5 +++ newlib/newlib/configure.host 7 Jun 2006 00:44:14 -0000 @@ -493,7 +493,7 @@ case "${host}" in # NOTE: When newlib malloc uses a semaphore, RTEMS will switch to that. *-*-rtems*) default_newlib_io_long_long="yes" - newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_OPENDIR -DNO_EXEC -DHAVE_FCNTL" + newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_OPENDIR -DNO_EXEC -DHAVE_FCNTL" ;; # VxWorks supplies its own version of malloc, and the newlib one # doesn't work because VxWorks does not have sbrk. @@ -510,11 +510,11 @@ case "${host}" in ;; arm-*-pe) syscall_dir=syscalls - newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY" + newlib_cflags="${newlib_cflags} -DABORT_PROVIDED" ;; arm-*-*) syscall_dir=syscalls - newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY" + newlib_cflags="${newlib_cflags} -DABORT_PROVIDED" # If newlib is supplying syscalls, select which debug protocol is being used. # ARM_RDP_MONITOR selects the Demon monitor. # ARM_RDI_MONITOR selects the Angel monitor. @@ -536,7 +536,7 @@ case "${host}" in ;; cris-*-* | crisv32-*-*) default_newlib_io_long_long="yes" - newlib_cflags="${newlib_cflags} -DHAVE_RENAME -DHAVE_GETTIMEOFDAY -D_USE_WRITE -DCOMPACT_CTYPE" + newlib_cflags="${newlib_cflags} -DHAVE_RENAME -D_USE_WRITE -DCOMPACT_CTYPE" syscall_dir=syscalls ;; crx-*-*) @@ -553,7 +553,7 @@ case "${host}" in ;; ep9312-*-*) syscall_dir=syscalls - newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY" + newlib_cflags="${newlib_cflags} -DABORT_PROVIDED" if [ "x${newlib_may_supply_syscalls}" = "xyes" ] ; then newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR" fi @@ -641,14 +641,13 @@ case "${host}" in ;; sh*-*-*) default_newlib_io_long_long="yes" - newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY" syscall_dir=syscalls ;; sparc-sun-sunos*) newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED" ;; sparc64-*-*) - newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_BLKSIZE -DHAVE_GETTIMEOFDAY -DHAVE_FCNTL" + newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_BLKSIZE -DHAVE_FCNTL" # This either belongs elsewhere or nowhere. But I need *something*, # so for now it's here ... case "${host_os}" in @@ -660,16 +659,16 @@ case "${host}" in ;; strongarm-*-*) syscall_dir=syscalls - newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY" + newlib_cflags="${newlib_cflags} -DABORT_PROVIDED" ;; thumb-*-pe) syscall_dir=syscalls - newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY" + newlib_cflags="${newlib_cflags} -DABORT_PROVIDED" # Don't use the debugging protocols just yet. ;; thumb-*-*) syscall_dir=syscalls - newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY" + newlib_cflags="${newlib_cflags} -DABORT_PROVIDED" # If newlib is supplying syscalls, select which debug protocol is being used. # ARM_RDP_MONITOR selects the Demon monitor. # ARM_RDI_MONITOR selects the Angel monitor. @@ -700,14 +699,13 @@ case "${host}" in ;; xscale-*-*) syscall_dir=syscalls - newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY" + newlib_cflags="${newlib_cflags} -DABORT_PROVIDED" newlib_cflags="${newlib_cflags} -DHAVE_SYSTEM -DHAVE_RENAME" if [ "x${newlib_may_supply_syscalls}" = "xyes" ] ; then newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR" fi ;; xstormy16-*-*) - newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY" syscall_dir=syscalls ;; z8k-*-*)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]