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 s/TARGET_HARD_FLOAT_...



details:   https://anonhg.NetBSD.org/src/rev/97204144939b
branches:  trunk
changeset: 448812:97204144939b
user:      maya <maya%NetBSD.org@localhost>
date:      Sat Feb 09 21:00:41 2019 +0000

description:
s/TARGET_HARD_FLOAT_ABI/TARGET_HARD_FLOAT, the latter has the
benefit of existing. Inspired by mips/netbsd.h.

remove some redefinitions. There are still a few left, but these ones
seem to match.

diffstat:

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

diffs (22 lines):

diff -r d1325b6cf3e1 -r 97204144939b external/gpl3/gcc/dist/gcc/config/riscv/netbsd.h
--- a/external/gpl3/gcc/dist/gcc/config/riscv/netbsd.h  Sat Feb 09 20:57:17 2019 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/riscv/netbsd.h  Sat Feb 09 21:00:41 2019 +0000
@@ -38,7 +38,7 @@
     /* The GNU C++ standard library requires this.  */         \
     if (c_dialect_cxx ())                                      \
       builtin_define ("_GNU_SOURCE");                          \
-    if (!TARGET_HARD_FLOAT_ABI)                                        \
+    if (!TARGET_HARD_FLOAT)                                    \
       builtin_define ("_SOFT_FLOAT");                          \
   } while (0)
 
@@ -98,9 +98,6 @@
 #undef SIZE_TYPE
 #define SIZE_TYPE "long unsigned int"
 
-#define INTPTR_TYPE PTRDIFF_TYPE
-#define UINTPTR_TYPE SIZE_TYPE
-
 #undef INTMAX_TYPE
 #define INTMAX_TYPE "long long int"
 



Home | Main Index | Thread Index | Old Index