summaryrefslogtreecommitdiffstats
path: root/gcc/config/gnu.h
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-08 06:35:17 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2007-08-08 06:35:17 +0000
commit0c7f7ed4d72be3123f115321271fbd9b3eda411b (patch)
tree5185ba498d5c927400c1483ff82be6687d455814 /gcc/config/gnu.h
parent8786a5e0d907f03e8823ac7f5caa8cb62e8623c2 (diff)
downloadppe42-gcc-0c7f7ed4d72be3123f115321271fbd9b3eda411b.tar.gz
ppe42-gcc-0c7f7ed4d72be3123f115321271fbd9b3eda411b.zip
2007-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
* gcc/config/i386/gnu.h (STARTFILE_SPEC): Use gcrt0.o in profile mode, add -profile option, add pie support. (ENDFILE_SPEC): New spec. * gcc/config/gnu.h (LIB_SPEC): Add -profile option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127290 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/gnu.h')
-rw-r--r--gcc/config/gnu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/gnu.h b/gcc/config/gnu.h
index 93b94b1aa9c..b7fefa4427c 100644
--- a/gcc/config/gnu.h
+++ b/gcc/config/gnu.h
@@ -6,7 +6,7 @@
/* Default C library spec. Use -lbsd-compat for gcc -bsd. */
#undef LIB_SPEC
-#define LIB_SPEC "%{pthread:-lpthread} %{bsd:-lbsd-compat} %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
+#define LIB_SPEC "%{pthread:-lpthread} %{bsd:-lbsd-compat} %{pg|p|profile:-lc_p;:-lc}"
/* Standard include directory. In GNU, "/usr" is a four-letter word. */
#undef STANDARD_INCLUDE_DIR
OpenPOWER on IntegriCloud