This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] restore bootstrap on ppc FreeBSD


I came up with a patch a few moons ago to restore the bootstrap on powerpc FreeBSD. It was not ok. Unfortunately my research ended up in nirvana land. Nobody was able to teach/tell me about the history.

Here the previous patch trial:

Now I try again with the attached patch.

Test results here:

Would this patch be acceptable on gcc-head?


2009-06-04 Andreas Tobler <>

	* config/rs6000/freebsd.h: Define SVR4_ASM_SPEC. Adjust copyright

Index: config/rs6000/freebsd.h
--- config/rs6000/freebsd.h	(revision 148180)
+++ config/rs6000/freebsd.h	(working copy)
@@ -1,5 +1,5 @@
 /* Definitions for PowerPC running FreeBSD using the ELF format
-   Copyright (C) 2001, 2003, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2001, 2003, 2007, 2009 Free Software Foundation, Inc.
    Contributed by David E. O'Brien <> and BSDi.

    This file is part of GCC.
@@ -69,3 +69,6 @@
 /* Override rs6000.h definition.  */
 #undef  ASM_APP_OFF
 #define ASM_APP_OFF "#NO_APP\n"
+/* Define SVR4_ASM_SPEC, we use GAS by default. See svr4.h for details.  */
+#define SVR4_ASM_SPEC \
+  "%{v:-V} %{Wa,*:%*}"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]