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 Make {u, }intptr_t "l...



details:   https://anonhg.NetBSD.org/src/rev/4afb1310e761
branches:  trunk
changeset: 331584:4afb1310e761
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Aug 15 09:25:25 2014 +0000

description:
Make {u,}intptr_t "long" on both sparc and sparc64 (as the NetBSD headers
always did)

diffstat:

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

diffs (17 lines):

diff -r ce0d22024d74 -r 4afb1310e761 external/gpl3/gcc/dist/gcc/config/sparc/netbsd-elf.h
--- a/external/gpl3/gcc/dist/gcc/config/sparc/netbsd-elf.h      Fri Aug 15 08:59:58 2014 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/sparc/netbsd-elf.h      Fri Aug 15 09:25:25 2014 +0000
@@ -46,6 +46,13 @@
 #undef PTRDIFF_TYPE
 #define PTRDIFF_TYPE "long int"
 
+/* we keep these "long" on both 32bit and 64bit targets */
+#undef INTPTR_TYPE
+#define INTPTR_TYPE PTRDIFF_TYPE
+
+#undef UINTPTR_TYPE
+#define UINTPTR_TYPE SIZE_TYPE
+
 /* 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