Module Name: src
Committed By: maya
Date: Sat Feb 9 21:00:41 UTC 2019
Modified Files:
src/external/gpl3/gcc/dist/gcc/config/riscv: netbsd.h
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gcc/dist/gcc/config/riscv/netbsd.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/riscv/netbsd.h
diff -u src/external/gpl3/gcc/dist/gcc/config/riscv/netbsd.h:1.4 src/external/gpl3/gcc/dist/gcc/config/riscv/netbsd.h:1.5
--- src/external/gpl3/gcc/dist/gcc/config/riscv/netbsd.h:1.4 Fri Aug 19 05:11:10 2016
+++ src/external/gpl3/gcc/dist/gcc/config/riscv/netbsd.h Sat Feb 9 21:00:41 2019
@@ -38,7 +38,7 @@ Boston, MA 02111-1307, USA. */
/* 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 @@ Boston, MA 02111-1307, USA. */
#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"