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 enable checks for no dot syms on ...



details:   https://anonhg.NetBSD.org/src/rev/9e9f45e6defd
branches:  trunk
changeset: 815961:9e9f45e6defd
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jun 09 23:28:22 2016 +0000

description:
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.

diffstat:

 external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h |  7 -------
 external/gpl3/gcc/dist/gcc/configure                |  4 ++--
 external/gpl3/gcc/dist/gcc/configure.ac             |  4 ++--
 3 files changed, 4 insertions(+), 11 deletions(-)

diffs (53 lines):

diff -r 55aa21e80d8d -r 9e9f45e6defd external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h
--- a/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h       Thu Jun 09 22:05:38 2016 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/rs6000/netbsd64.h       Thu Jun 09 23:28:22 2016 +0000
@@ -308,13 +308,6 @@
    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                                                   \
diff -r 55aa21e80d8d -r 9e9f45e6defd external/gpl3/gcc/dist/gcc/configure
--- a/external/gpl3/gcc/dist/gcc/configure      Thu Jun 09 22:05:38 2016 +0000
+++ b/external/gpl3/gcc/dist/gcc/configure      Thu Jun 09 23:28:22 2016 +0000
@@ -27571,12 +27571,12 @@
 $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*)
diff -r 55aa21e80d8d -r 9e9f45e6defd external/gpl3/gcc/dist/gcc/configure.ac
--- a/external/gpl3/gcc/dist/gcc/configure.ac   Thu Jun 09 22:05:38 2016 +0000
+++ b/external/gpl3/gcc/dist/gcc/configure.ac   Thu Jun 09 23:28:22 2016 +0000
@@ -5081,12 +5081,12 @@
 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*)



Home | Main Index | Thread Index | Old Index