This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix Linux/Sparc pedantic build
- From: "David S. Miller" <davem at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: jakub at redhat dot com
- Date: Tue, 23 Sep 2003 19:05:54 -0700
- Subject: Fix Linux/Sparc pedantic build
This fixes the pedantic build of mainline on sparc*-*-linux*
2003-09-23 David S. Miller <davem@redhat.com>
* config/sparc/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Undefine
before redefining.
* config/sparc/linux64.h (LINK_GCC_C_SEQUENCE_SPEC): Likewise.
--- config/sparc/linux.h.~1~ Tue Sep 23 18:44:23 2003
+++ config/sparc/linux.h Tue Sep 23 19:12:16 2003
@@ -249,6 +249,7 @@ do { \
#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+#undef LINK_GCC_C_SEQUENCE_SPEC
#define LINK_GCC_C_SEQUENCE_SPEC \
"%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}"
--- config/sparc/linux64.h.~1~ Tue Sep 23 18:44:23 2003
+++ config/sparc/linux64.h Tue Sep 23 19:12:25 2003
@@ -331,6 +331,7 @@ do { \
#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
+#undef LINK_GCC_C_SEQUENCE_SPEC
#define LINK_GCC_C_SEQUENCE_SPEC \
"%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}"