Module Name:    src
Committed By:   martin
Date:           Fri Aug 15 09:25:25 UTC 2014

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config/sparc: netbsd-elf.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
    src/external/gpl3/gcc/dist/gcc/config/sparc/netbsd-elf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/dist/gcc/config/sparc/netbsd-elf.h
diff -u src/external/gpl3/gcc/dist/gcc/config/sparc/netbsd-elf.h:1.7 src/external/gpl3/gcc/dist/gcc/config/sparc/netbsd-elf.h:1.8
--- src/external/gpl3/gcc/dist/gcc/config/sparc/netbsd-elf.h:1.7	Sat Mar  1 08:58:33 2014
+++ src/external/gpl3/gcc/dist/gcc/config/sparc/netbsd-elf.h	Fri Aug 15 09:25:25 2014
@@ -46,6 +46,13 @@ along with GCC; see the file COPYING3.  
 #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

Reply via email to