Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/gcc/config/sparc Restore ABI for fast...



details:   https://anonhg.NetBSD.org/src/rev/ac5a34b22675
branches:  trunk
changeset: 331722:ac5a34b22675
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Aug 21 15:25:41 2014 +0000

description:
Restore ABI for fast_{u,}int_*_t to what we have used for thirteen years.

diffstat:

 external/gpl3/gcc/dist/gcc/config/sparc/netbsd-elf.h |  24 ++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diffs (34 lines):

diff -r 1cb841978b3f -r ac5a34b22675 external/gpl3/gcc/dist/gcc/config/sparc/netbsd-elf.h
--- a/external/gpl3/gcc/dist/gcc/config/sparc/netbsd-elf.h      Thu Aug 21 14:06:39 2014 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/sparc/netbsd-elf.h      Thu Aug 21 15:25:41 2014 +0000
@@ -53,6 +53,30 @@
 #undef UINTPTR_TYPE
 #define UINTPTR_TYPE SIZE_TYPE
 
+#undef INT_FAST8_TYPE
+#define INT_FAST8_TYPE   (LONG_TYPE_SIZE == 64 ? "long int" : "int")
+
+#undef UINT_FAST8_TYPE
+#define UINT_FAST8_TYPE  (LONG_TYPE_SIZE == 64 ? "unsigned char" : "unsigned int")
+
+#undef INT_FAST16_TYPE
+#define INT_FAST16_TYPE  (LONG_TYPE_SIZE == 64 ? "long int" : "int")
+
+#undef UINT_FAST16_TYPE
+#define UINT_FAST16_TYPE (LONG_TYPE_SIZE == 64 ? "short unsigned int" : "unsigned int")
+
+#undef INT_FAST32_TYPE
+#define INT_FAST32_TYPE  (LONG_TYPE_SIZE == 64 ? "long int" : "int")
+
+#undef UINT_FAST32_TYPE
+#define UINT_FAST32_TYPE "unsigned int"
+
+#undef INT_FAST64_TYPE
+#define INT_FAST64_TYPE  (LONG_TYPE_SIZE == 64 ? "long int" : "long long int")
+
+#undef UINT_FAST64_TYPE
+#define UINT_FAST64_TYPE (LONG_TYPE_SIZE == 64 ? "long unsigned int" : "long long unsigned int")
+
 /* This is the char to use for continuation (in case we need to turn
    continuation back on).  */
 #undef DBX_CONTIN_CHAR



Home | Main Index | Thread Index | Old Index