From 9e5dd5ea3ddcf3032b749b62b01e43007be509e8 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 4 Dec 2000 18:15:35 +0000 Subject: [PATCH] 2000-12-04 Joel Sherrill * configure.host (or16, or32): New entries for OpenCores OpenRisc CPUs. (*-*-rtems*): Add -DNO_EXEC. --- newlib/ChangeLog | 6 ++++++ newlib/configure.host | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 0cff0c90a..8f5d71c4b 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,9 @@ +2000-12-04 Joel Sherrill + + * configure.host (or16, or32): New entries for OpenCores + OpenRisc CPUs. + (*-*-rtems*): Add -DNO_EXEC. + 2000-12-04 Keith Outwater * libc/include/sys/errno.h: Added comments on many error numbers. diff --git a/newlib/configure.host b/newlib/configure.host index e86fcffe9..7af14424b 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -131,6 +131,10 @@ case "${host_cpu}" in mn10300) machine_dir=mn10300 ;; + or16) + ;; + or32) + ;; powerpc*) machine_dir=powerpc ;; @@ -315,7 +319,7 @@ case "${host}" in # # NOTE: When newlib malloc uses a semaphore, RTEMS will switch to that. *-*-rtems*) - newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_OPENDIR" + newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_OPENDIR -DNO_EXEC" ;; # VxWorks supplies its own version of malloc, and the newlib one # doesn't work because VxWorks does not have sbrk.