summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/config.h
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2002-06-18 21:20:28 +0000
committerDave Brolley <brolley@redhat.com>2002-06-18 21:20:28 +0000
commit4ecedd09e73d48605b31ce03d5fe26becfe55010 (patch)
treec06398e1f8b95c6f03b87dce84c934eff41245ca /newlib/libc/include/sys/config.h
parentc2b0dec2dcf3f57f3c306ad84b8e8a83bb913d35 (diff)
downloadcygnal-4ecedd09e73d48605b31ce03d5fe26becfe55010.tar.gz
cygnal-4ecedd09e73d48605b31ce03d5fe26becfe55010.tar.bz2
cygnal-4ecedd09e73d48605b31ce03d5fe26becfe55010.zip
2002-06-18 Dave Brolley <brolley@redhat.com>
From Catherine Moore, Michael Meissner, Richard Sandiford: * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__. (_JBTYPE): Ditto. * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto. (__ATTRIBUTE_IMPURE_PTR__): Ditto. * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto. * configure.host: Support frv-*-*. * libc/machine/frv/Makefile.am: New file. * libc/machine/frv/configure.in: New file. * libc/machine/frv/setjmp.S: New file.
Diffstat (limited to 'newlib/libc/include/sys/config.h')
-rw-r--r--newlib/libc/include/sys/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/config.h b/newlib/libc/include/sys/config.h
index b5ecfb882..b2b8013d9 100644
--- a/newlib/libc/include/sys/config.h
+++ b/newlib/libc/include/sys/config.h
@@ -180,6 +180,10 @@ __extension__ typedef unsigned long long __uint64_t;
#define _POINTER_INT long
#endif
+#ifdef __frv__
+#define __IEEE_BIG_ENDIAN
+#define __ATTRIBUTE_IMPURE_PTR__ __attribute__((__section__(".sdata")))
+#endif
#undef __RAND_MAX
#if __INT_MAX__ == 32767
#define __RAND_MAX 32767