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/mips Fix INTPTR_TYPE/UINTP...
details: https://anonhg.NetBSD.org/src/rev/e70dabbf749f
branches: trunk
changeset: 331556:e70dabbf749f
user: matt <matt%NetBSD.org@localhost>
date: Thu Aug 14 15:16:20 2014 +0000
description:
Fix INTPTR_TYPE/UINTPTR_TYPE for n32.
diffstat:
external/gpl3/gcc/dist/gcc/config/mips/netbsd.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r 4ccd692ac023 -r e70dabbf749f external/gpl3/gcc/dist/gcc/config/mips/netbsd.h
--- a/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h Thu Aug 14 15:14:45 2014 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/mips/netbsd.h Thu Aug 14 15:16:20 2014 +0000
@@ -231,6 +231,12 @@
#define PTRDIFF_TYPE ((POINTER_SIZE == 64 || TARGET_NEWABI) \
? "long int" : "int")
+#undef INTPTR_TYPE
+#define INTPTR_TYPE PTRDIFF_TYPE
+
+#undef UINTPTR_TYPE
+#define UINTPTR_TYPE SIZE_TYPE
+
#undef WCHAR_TYPE
#define WCHAR_TYPE "int"
Home |
Main Index |
Thread Index |
Old Index