Module Name: src
Committed By: mrg
Date: Thu Jun 9 23:28:22 UTC 2016
Modified Files:
src/external/gpl3/gcc/dist/gcc: configure configure.ac
src/external/gpl3/gcc/dist/gcc/config/rs6000: netbsd64.h
Log Message:
enable checks for no dot syms on netbsd ppc64, fixes build issues
in libutil where the opd() function conflicts with the .opd section.
remove a couple of tainted defines that are handled differently now.
this, with mknative-gcc as well, enables ppc64 world to build again.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/dist/gcc/configure
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gcc/dist/gcc/configure.ac
cvs rdiff -u -r1.13 -r1.14 \
src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.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/configure
diff -u src/external/gpl3/gcc/dist/gcc/configure:1.14 src/external/gpl3/gcc/dist/gcc/configure:1.15
--- src/external/gpl3/gcc/dist/gcc/configure:1.14 Tue Jun 7 06:14:16 2016
+++ src/external/gpl3/gcc/dist/gcc/configure Thu Jun 9 23:28:22 2016
@@ -27571,12 +27571,12 @@ fi
$as_echo "$gcc_cv_ld_clearcap" >&6; }
case "$target:$tm_file" in
- powerpc64-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*)
+ powerpc64-*-freebsd* | powerpc64-*-netbsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*)
case "$target" in
*le-*-linux*)
emul_name="-melf64lppc"
;;
- *-*-linux*)
+ *-*-linux* | *-*-netbsd*)
emul_name="-melf64ppc"
;;
*-*-freebsd*)
Index: src/external/gpl3/gcc/dist/gcc/configure.ac
diff -u src/external/gpl3/gcc/dist/gcc/configure.ac:1.12 src/external/gpl3/gcc/dist/gcc/configure.ac:1.13
--- src/external/gpl3/gcc/dist/gcc/configure.ac:1.12 Tue Jun 7 06:14:16 2016
+++ src/external/gpl3/gcc/dist/gcc/configure.ac Thu Jun 9 23:28:22 2016
@@ -5081,12 +5081,12 @@ fi
AC_MSG_RESULT($gcc_cv_ld_clearcap)
case "$target:$tm_file" in
- powerpc64-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*)
+ powerpc64-*-freebsd* | powerpc64-*-netbsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*)
case "$target" in
*le-*-linux*)
emul_name="-melf64lppc"
;;
- *-*-linux*)
+ *-*-linux* | *-*-netbsd*)
emul_name="-melf64ppc"
;;
*-*-freebsd*)
Index: src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h
diff -u src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.13 src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.14
--- src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h:1.13 Wed Jun 24 01:29:33 2015
+++ src/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h Thu Jun 9 23:28:22 2016
@@ -308,13 +308,6 @@ extern int dot_symbols;
process. XXXMRG? */
#define OS_MISSING_POWERPC64 !TARGET_64BIT
-/* NetBSD has float and long double forms of math functions. */
-#undef TARGET_C99_FUNCTIONS
-#define TARGET_C99_FUNCTIONS 1
-
-/* NetBSD doesn't have sincos that follows the GNU extension. */
-#undef TARGET_HAS_SINCOS
-
#undef TARGET_OS_CPP_BUILTINS
#define TARGET_OS_CPP_BUILTINS() \
do \