From 5f89fef6c49500be489aeca3d76bb69b49ca47dd Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Sat, 2 Apr 2005 09:48:31 +0000 Subject: [PATCH] t-darwin (TARGET_LIBGCC2_CFLAGS): Add -pipe. * config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Add -pipe. * config/t-darwin (TARGET_LIBGCC2_CFLAGS): Likewise. From-SVN: r97434 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/t-darwin | 7 ++++++- gcc/config/t-darwin | 6 +++++- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 948cda08ccb..a827229ad5f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-04-02 Geoffrey Keating + + * config/rs6000/t-darwin (TARGET_LIBGCC2_CFLAGS): Add -pipe. + * config/t-darwin (TARGET_LIBGCC2_CFLAGS): Likewise. + 2005-04-01 Jan-Benedict Glaw * gcc/config/vax/vax.md: Spellcheck, fix whitespace. diff --git a/gcc/config/rs6000/t-darwin b/gcc/config/rs6000/t-darwin index 467c426f976..74ded0f2793 100644 --- a/gcc/config/rs6000/t-darwin +++ b/gcc/config/rs6000/t-darwin @@ -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 diff --git a/gcc/config/t-darwin b/gcc/config/t-darwin index ab2e6ae05c1..fc8735bd9c0 100644 --- a/gcc/config/t-darwin +++ b/gcc/config/t-darwin @@ -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