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

* configure.host: Remove references to HAVE_GETTIMEOFDAY.
This commit is contained in:
Jeff Johnston 2006-06-07 19:20:04 +00:00
parent cfc2f9e377
commit 3cc3705ca0
2 changed files with 7 additions and 12 deletions

View File

@ -1,3 +1,7 @@
2006-06-07 Fred Fish <fnf@specifix.com>
* configure.host: Remove references to HAVE_GETTIMEOFDAY.
2006-06-05 Shaun Jackman <sjackman@gmail.com> 2006-06-05 Shaun Jackman <sjackman@gmail.com>
* libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and

View File

@ -493,7 +493,7 @@ case "${host}" in
# NOTE: When newlib malloc uses a semaphore, RTEMS will switch to that. # NOTE: When newlib malloc uses a semaphore, RTEMS will switch to that.
*-*-rtems*) *-*-rtems*)
default_newlib_io_long_long="yes" 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 # VxWorks supplies its own version of malloc, and the newlib one
# doesn't work because VxWorks does not have sbrk. # doesn't work because VxWorks does not have sbrk.
@ -510,11 +510,9 @@ case "${host}" in
;; ;;
arm-*-pe) arm-*-pe)
syscall_dir=syscalls syscall_dir=syscalls
newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY"
;; ;;
arm-*-*) arm-*-*)
syscall_dir=syscalls syscall_dir=syscalls
newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY"
# If newlib is supplying syscalls, select which debug protocol is being used. # If newlib is supplying syscalls, select which debug protocol is being used.
# ARM_RDP_MONITOR selects the Demon monitor. # ARM_RDP_MONITOR selects the Demon monitor.
# ARM_RDI_MONITOR selects the Angel monitor. # ARM_RDI_MONITOR selects the Angel monitor.
@ -536,7 +534,7 @@ case "${host}" in
;; ;;
cris-*-* | crisv32-*-*) cris-*-* | crisv32-*-*)
default_newlib_io_long_long="yes" 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 syscall_dir=syscalls
;; ;;
crx-*-*) crx-*-*)
@ -553,7 +551,6 @@ case "${host}" in
;; ;;
ep9312-*-*) ep9312-*-*)
syscall_dir=syscalls syscall_dir=syscalls
newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY"
if [ "x${newlib_may_supply_syscalls}" = "xyes" ] ; then if [ "x${newlib_may_supply_syscalls}" = "xyes" ] ; then
newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR" newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR"
fi fi
@ -641,14 +638,13 @@ case "${host}" in
;; ;;
sh*-*-*) sh*-*-*)
default_newlib_io_long_long="yes" default_newlib_io_long_long="yes"
newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY"
syscall_dir=syscalls syscall_dir=syscalls
;; ;;
sparc-sun-sunos*) sparc-sun-sunos*)
newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED" newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED"
;; ;;
sparc64-*-*) 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*, # This either belongs elsewhere or nowhere. But I need *something*,
# so for now it's here ... # so for now it's here ...
case "${host_os}" in case "${host_os}" in
@ -660,16 +656,13 @@ case "${host}" in
;; ;;
strongarm-*-*) strongarm-*-*)
syscall_dir=syscalls syscall_dir=syscalls
newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY"
;; ;;
thumb-*-pe) thumb-*-pe)
syscall_dir=syscalls syscall_dir=syscalls
newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY"
# Don't use the debugging protocols just yet. # Don't use the debugging protocols just yet.
;; ;;
thumb-*-*) thumb-*-*)
syscall_dir=syscalls syscall_dir=syscalls
newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY"
# If newlib is supplying syscalls, select which debug protocol is being used. # If newlib is supplying syscalls, select which debug protocol is being used.
# ARM_RDP_MONITOR selects the Demon monitor. # ARM_RDP_MONITOR selects the Demon monitor.
# ARM_RDI_MONITOR selects the Angel monitor. # ARM_RDI_MONITOR selects the Angel monitor.
@ -700,14 +693,12 @@ case "${host}" in
;; ;;
xscale-*-*) xscale-*-*)
syscall_dir=syscalls syscall_dir=syscalls
newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY"
newlib_cflags="${newlib_cflags} -DHAVE_SYSTEM -DHAVE_RENAME" newlib_cflags="${newlib_cflags} -DHAVE_SYSTEM -DHAVE_RENAME"
if [ "x${newlib_may_supply_syscalls}" = "xyes" ] ; then if [ "x${newlib_may_supply_syscalls}" = "xyes" ] ; then
newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR" newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR"
fi fi
;; ;;
xstormy16-*-*) xstormy16-*-*)
newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY"
syscall_dir=syscalls syscall_dir=syscalls
;; ;;
z8k-*-*) z8k-*-*)