This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
configure.host patch
- To: newlib at sources dot redhat dot com
- Subject: configure.host patch
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- Date: Fri, 01 Dec 2000 07:47:35 -0600
- Organization: OAR Corporation
- Reply-To: joel dot sherrill at OARcorp dot com
In reviewing my patch, I noticed that I had some remnants left
from me investigating the v850. I recall some discussion and
we ended up dropping the -mno-app-regs and -msmall-sld options
on all v850 configurations because they were not in gcc. I
do not know if this should still be in or not and have cut it from
my patch. See http://sources.redhat.com/ml/newlib/1999/msg00046.html
for details and Jeff's patch.
The patch is attached/
2000-12-01 Joel Sherrill <joel@OARcorp.com>
* configure.host (or16, or32): New entries for OpenCores
OpenRisc CPUs.
* configure.host (*-*-rtems*): Add -DNO_EXEC.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
Index: newlib/configure.host
===================================================================
RCS file: /cvs/src/src/newlib/configure.host,v
retrieving revision 1.3
diff -u -r1.3 configure.host
--- configure.host 2000/06/27 19:51:32 1.3
+++ configure.host 2000/12/01 13:20:16
@@ -131,6 +131,10 @@
mn10300)
machine_dir=mn10300
;;
+ or16)
+ ;;
+ or32)
+ ;;
powerpc*)
machine_dir=powerpc
;;
@@ -309,7 +316,7 @@
#
# 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.