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/riscv don't redefine types.



details:   https://anonhg.NetBSD.org/src/rev/1cb0b4e149a7
branches:  trunk
changeset: 455834:1cb0b4e149a7
user:      maya <maya%NetBSD.org@localhost>
date:      Mon Apr 15 14:19:20 2019 +0000

description:
don't redefine types.
UINTMAX_TYPE / INTMAX_TYPE are mostly not redefined on netbsd.
These choices contradict typical 64bit archs, perhaps we don't want them.

XXX is the SIZE_TYPE default for riscv reasonable?
(long unsigned int for 64bit abi, unsigned int for 32bit abi)

diffstat:

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

diffs (16 lines):

diff -r 017f41cb9a00 -r 1cb0b4e149a7 external/gpl3/gcc/dist/gcc/config/riscv/netbsd.h
--- a/external/gpl3/gcc/dist/gcc/config/riscv/netbsd.h  Mon Apr 15 14:03:32 2019 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/riscv/netbsd.h  Mon Apr 15 14:19:20 2019 +0000
@@ -62,12 +62,3 @@
 
 #undef NETBSD_ENTRY_POINT
 #define NETBSD_ENTRY_POINT     "_start"
-
-#undef SIZE_TYPE
-#define SIZE_TYPE "long unsigned int"
-
-#undef INTMAX_TYPE
-#define INTMAX_TYPE "long long int"
-
-#undef UINTMAX_TYPE
-#define UINTMAX_TYPE "long long unsigned int"



Home | Main Index | Thread Index | Old Index