Module Name:    src
Committed By:   mrg
Date:           Sun Jul 10 15:28:26 UTC 2011

Modified Files:
        src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64: auto-host.h
        src/tools/gcc: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
    src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/auto-host.h
cvs rdiff -u -r1.43 -r1.44 src/tools/gcc/Makefile

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/usr.bin/gcc/arch/sparc64/auto-host.h
diff -u src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/auto-host.h:1.1 src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/auto-host.h:1.2
--- src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/auto-host.h:1.1	Wed Jun 29 06:25:34 2011
+++ src/external/gpl3/gcc/usr.bin/gcc/arch/sparc64/auto-host.h	Sun Jul 10 15:28:26 2011
@@ -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
 
 

Index: src/tools/gcc/Makefile
diff -u src/tools/gcc/Makefile:1.43 src/tools/gcc/Makefile:1.44
--- src/tools/gcc/Makefile:1.43	Sun Jul  3 12:11:32 2011
+++ src/tools/gcc/Makefile	Sun Jul 10 15:28:26 2011
@@ -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

Reply via email to