From 0c7f7ed4d72be3123f115321271fbd9b3eda411b Mon Sep 17 00:00:00 2001 From: doko Date: Wed, 8 Aug 2007 06:35:17 +0000 Subject: 2007-08-08 Samuel Thibault * 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 --- gcc/config/gnu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/config/gnu.h') 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 -- cgit v1.2.1