Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src force HAVE_AS_SPARC_GOTDATA_OP to false, since those relocs ...



details:   https://anonhg.NetBSD.org/src/rev/ee2452120ea0
branches:  trunk
changeset: 767180:ee2452120ea0
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jul 10 15:28:26 2011 +0000

description:
force HAVE_AS_SPARC_GOTDATA_OP to false, since those relocs seem
busted with our binutils.  now sparc64 seems to work fine.

diffstat:

 external/gpl3/gcc/usr.bin/gcc/arch/sparc64/auto-host.h |  2 +-
 tools/gcc/Makefile                                     |  8 +++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (41 lines):

diff -r 5d5c1ab58976 -r ee2452120ea0 external/gpl3/gcc/usr.bin/gcc/arch/sparc64/auto-host.h
--- a/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/auto-host.h    Sun Jul 10 14:41:34 2011 +0000
+++ b/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/auto-host.h    Sun Jul 10 15:28:26 2011 +0000
@@ -436,7 +436,7 @@
 
 /* Define if your assembler and linker support GOTDATA_OP relocs. */
 #ifndef USED_FOR_TARGET
-#define HAVE_AS_SPARC_GOTDATA_OP 1
+/* #define HAVE_AS_SPARC_GOTDATA_OP 1 */
 #endif
 
 
diff -r 5d5c1ab58976 -r ee2452120ea0 tools/gcc/Makefile
--- a/tools/gcc/Makefile        Sun Jul 10 14:41:34 2011 +0000
+++ b/tools/gcc/Makefile        Sun Jul 10 15:28:26 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.43 2011/07/03 12:11:32 mrg Exp $
+#      $NetBSD: Makefile,v 1.44 2011/07/10 15:28:26 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -64,7 +64,8 @@
                EXTRA_PARTS= CPPFLAGS=${GCC_CPPFLAGS:Q} \
                AR=${HOST_AR:Q} RANLIB=${HOST_RANLIB:Q}
 
-CONFIGURE_ENV+= gcc_cv_libc_provides_ssp=yes
+CONFIGURE_ENV+= gcc_cv_libc_provides_ssp=yes \
+               gcc_cv_as_sparc_gotdata_op=no
 
 MKNATIVE_ENV=  ${BINENV} ${CONFIGURE_ENV:NC*:NLD*} \
                        CC_FOR_BUILD=${HOST_CC:Q} \
@@ -84,7 +85,8 @@
                        gcc_cv_libc_provides_ssp=yes \
                        gdb_cv_printf_has_long_double=yes \
                        gdb_cv_printf_has_long_long=yes \
-                       gdb_cv_scanf_has_long_double=yes
+                       gdb_cv_scanf_has_long_double=yes \
+                       gcc_cv_as_sparc_gotdata_op=no
 
 ALL_TARGET=    all-gcc
 INSTALL_TARGET=        install-gcc



Home | Main Index | Thread Index | Old Index