diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2013-05-06 18:23:09 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2013-05-06 18:23:09 +0000 |
commit | c16862d85b48cb1e00d3b68e8781a6822716a82f (patch) | |
tree | 3f5d1ef55ef97e9f089acdf0c30b62aa99670cd0 /newlib/configure.host | |
parent | d81e052096a745bbe60e20a225377665abd2efdf (diff) | |
download | cygnal-c16862d85b48cb1e00d3b68e8781a6822716a82f.tar.gz cygnal-c16862d85b48cb1e00d3b68e8781a6822716a82f.tar.bz2 cygnal-c16862d85b48cb1e00d3b68e8781a6822716a82f.zip |
2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
* configure.host (machine_dir, sys_dir, syscall_dir, newlib_cflags):
Add settings for nios2*.
* libc/include/machine/ieeefp.h (IEEE_BIG_ENDIAN, IEEE_LITTLE_ENDIAN):
Likewise.
* libc/include/machine/setjmp.h (JBLEN, JBTYPE): Likewise.
* libc/machine/configure.in: Add nios2 subdir.
* libc/machine/configure: Regenerated.
* libc/machine/nios2/Makefile.am: New.
* libc/machine/nios2/Makefile.in: New (autogenerated).
* libc/machine/nios2/aclocal.m4: New (copied from mips version).
* libc/machine/nios2/configure.in: New.
* libc/machine/nios2/configure: New (autogenerated).
* libc/machine/nios2/setjmp.s: New.
Diffstat (limited to 'newlib/configure.host')
-rw-r--r-- | newlib/configure.host | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index f1e130939..404151f06 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -227,6 +227,9 @@ case "${host_cpu}" in mt*) machine_dir=mt ;; + nios2*) + machine_dir=nios2 + ;; or16) ;; or32) @@ -476,6 +479,9 @@ case "${host}" in moxie*) sys_dir= ;; + nios2*) + sys_dir= + ;; powerpcle-*-pe) posix_dir=posix ;; @@ -703,6 +709,10 @@ case "${host}" in syscall_dir=syscalls default_newlib_io_long_long="yes" ;; + nios2*) + syscall_dir= + newlib_cflags="${newlib_cflags} -DHAVE_RENAME -DHAVE_SYSTEM -DMISSING_SYSCALL_NAMES" + ;; powerpc*-*-eabialtivec*) default_newlib_io_long_long="yes" newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES" |