linux.h (STARTFILE_SPEC): Handle -pie.
* config/sh/linux.h (STARTFILE_SPEC): Handle -pie. Simplify. (ENDFILE_SPEC): Redefine to handle -pie. From-SVN: r67527
This commit is contained in:
parent
86fb951d4c
commit
25119b21dc
|
@ -1,3 +1,8 @@
|
|||
2003-06-06 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||
|
||||
* config/sh/linux.h (STARTFILE_SPEC): Handle -pie. Simplify.
|
||||
(ENDFILE_SPEC): Redefine to handle -pie.
|
||||
|
||||
2003-06-05 Phil Edwards <phil@jaj.com>
|
||||
|
||||
* Makefile.in (qmtest-g++): Use target_alias, not target.
|
||||
|
|
|
@ -88,12 +88,19 @@ do { \
|
|||
#endif
|
||||
|
||||
#undef STARTFILE_SPEC
|
||||
#if defined HAVE_LD_PIE
|
||||
#define STARTFILE_SPEC \
|
||||
"%{!shared: \
|
||||
%{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
|
||||
%{!p:%{profile:gcrt1.o%s} \
|
||||
%{!profile:crt1.o%s}}}} \
|
||||
crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
|
||||
"%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \
|
||||
crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
|
||||
#else
|
||||
#define STARTFILE_SPEC \
|
||||
"%{!shared: %{pg|p|profile:gcrt1.o%s;:crt1.o%s}} \
|
||||
crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
|
||||
#endif
|
||||
|
||||
#undef ENDFILE_SPEC
|
||||
#define ENDFILE_SPEC \
|
||||
"%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
|
||||
|
||||
/* Output assembler code to STREAM to call the profiler. */
|
||||
|
||||
|
|
Loading…
Reference in New Issue