diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-01-20 09:59:40 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-01-20 09:59:40 +0000 |
commit | d0695096ba9ea056dc7b26eb22bec951cd60f889 (patch) | |
tree | d3f0694c0c1a3ffa6ab42c5781cba15938a3f051 /newlib | |
parent | 8d8f40361f1d0e135f6679a00b19a0e1808df085 (diff) | |
download | newlib-d0695096ba9ea056dc7b26eb22bec951cd60f889.zip newlib-d0695096ba9ea056dc7b26eb22bec951cd60f889.tar.gz newlib-d0695096ba9ea056dc7b26eb22bec951cd60f889.tar.bz2 |
* configure.host: Add extra system for OpenRISC baremetal.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/configure.host | 9 |
2 files changed, 11 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index ac87504..6461d76 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2015-01-19 Stefan Wallentowitz <stefan.wallentowitz@tum.de> + + * configure.host: Add extra system for OpenRISC baremetal. + 2015-01-14 Joel Sherrill <joel.sherrill@oarcorp.com> * libc/include/sys/unistd.h [__BSD_VISIBLE]: Add issetugid() prototype. diff --git a/newlib/configure.host b/newlib/configure.host index c4773d9..a8bbead 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -502,8 +502,10 @@ case "${host}" in nios2*) sys_dir= ;; - or1k-*-* | or1knd-*-*) - syscall_dir=syscalls + or1k-*-elf | or1knd-*-elf) + sys_dir=or1k + newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED " + have_crt0="no" ;; powerpcle-*-pe) posix_dir=posix @@ -748,6 +750,9 @@ case "${host}" in nds32*) syscall_dir=syscalls ;; + or1k*|or1knd*) + syscall_dir=syscalls + ;; powerpc*-*-eabialtivec*) default_newlib_io_long_long="yes" newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES" |