t-darwin (TARGET_LIBGCC2_CFLAGS): Add -pipe.
authorGeoffrey Keating <geoffk@apple.com>
Sat, 2 Apr 2005 09:48:31 +0000 (09:48 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Sat, 2 Apr 2005 09:48:31 +0000 (09:48 +0000)
* config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Add -pipe.
* config/t-darwin (TARGET_LIBGCC2_CFLAGS): Likewise.

From-SVN: r97434

gcc/ChangeLog
gcc/config/rs6000/t-darwin
gcc/config/t-darwin

index 948cda08ccb118a828f0fea2288111940e3c78e0..a827229ad5f256fe6fb98b6ea44f005dcd64888e 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-02  Geoffrey Keating  <geoffk@apple.com>
+
+       * config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Add -pipe.
+       * config/t-darwin (TARGET_LIBGCC2_CFLAGS): Likewise.
+
 2005-04-01  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
 
        * gcc/config/vax/vax.md: Spellcheck, fix whitespace.
index 467c426f9766766912d8718277690ad82c5f0ec2..74ded0f279324cb8ad1e17a6a0d628d67ed5b14e 100644 (file)
@@ -9,7 +9,12 @@ LIB2FUNCS_STATIC_EXTRA = \
 # The .asm files above are designed to run on all processors,
 # even though they use AltiVec instructions.  -Wa is used because
 # -force_cpusubtype_ALL doesn't work with -dynamiclib.
-TARGET_LIBGCC2_CFLAGS = -Wa,-force_cpusubtype_ALL
+#
+# -pipe because there's an assembler bug, 4077127, which causes
+# it to not properly process the first # directive, causing temporary
+# file names to appear in stabs, causing the bootstrap to fail.  Using -pipe
+# works around this by not having any temporary file names.
+TARGET_LIBGCC2_CFLAGS = -Wa,-force_cpusubtype_ALL -pipe
 
 # Export the _xlq* symbols from darwin-ldouble.c.
 SHLIB_MAPFILES += $(srcdir)/config/rs6000/libgcc-ppc64.ver
index ab2e6ae05c1414d5922332b05f3d2282c6112a08..fc8735bd9c0668e0a4cfe7c3d073fd25c725d3ba 100644 (file)
@@ -22,4 +22,8 @@ LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde-darwin.c \
   $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c
 LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c
 
-TARGET_LIBGCC2_CFLAGS = -fPIC
+# -pipe because there's an assembler bug, 4077127, which causes
+# it to not properly process the first # directive, causing temporary
+# file names to appear in stabs, causing the bootstrap to fail.  Using -pipe
+# works around this by not having any temporary file names.
+TARGET_LIBGCC2_CFLAGS = -fPIC -pipe