summaryrefslogtreecommitdiffstats
path: root/newlib/configure.host
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-10-05 19:44:24 +0000
committerJeff Johnston <jjohnstn@redhat.com>2004-10-05 19:44:24 +0000
commit1185687a7b7f2e707484100d48a68d074d763f15 (patch)
treecbc370a99be45739ac334b54f29179209c1eb5ac /newlib/configure.host
parent423152ed0a26e3dc2f7f26dabacf7e25049d72e4 (diff)
downloadcygnal-1185687a7b7f2e707484100d48a68d074d763f15.tar.gz
cygnal-1185687a7b7f2e707484100d48a68d074d763f15.tar.bz2
cygnal-1185687a7b7f2e707484100d48a68d074d763f15.zip
2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
* configure.host: Add support for crx. * libc/include/machine/ieeefp.h: Ditto. * libc/include/machine/setjmp.h: Ditto. * libc/machine/crx/Makefile.am: New file. * libc/machine/crx/configure.in: Ditto. * libc/machine/crx/setjmp.S: Ditto. * libc/machine/crx/getenv.c: Ditto. * libc/machine/crx/aclocal.m4: Generate. * libc/machine/crx/configure: Ditto. * libc/machine/crx/Makefile.in: Ditto. * libc/machine/crx/sys/asm.h: New file. * libc/machine/crx/sys/libh.h: Ditto. * libc/machine/crx/sys/syscall.h: Ditto.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host10
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index a4b7506c2..8e8d7190b 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -93,6 +93,9 @@ case "${host_cpu}" in
avr*)
newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mcall-prologues"
;;
+ crx*)
+ machine_dir=crx
+ ;;
d10v*)
machine_dir=d10v
;;
@@ -307,6 +310,9 @@ case "${host}" in
sys_dir=arm
fi
;;
+ crx*)
+ sys_dir=
+ ;;
d10v*)
sys_dir=d10v
;;
@@ -496,6 +502,10 @@ case "${host}" in
avr*)
newlib_cflags="${newlib_cflags} -DNO_EXEC -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES"
;;
+ crx-*-*)
+ newlib_cflags="${newlib_cflags} -DHAVE_RENAME -DMISSING_SYSCALL_NAMES"
+ syscall_dir=
+ ;;
d10v*)
newlib_cflags="${newlib_cflags} -DSMALL_MEMORY"
syscall_dir=syscalls