aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/sysv4.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-10-08 07:04:27 +0000
committerAlan Modra <amodra@gcc.gnu.org>2004-10-08 16:34:27 +0930
commit29ef89522ea2a45358c6474964cc834a760f11b9 (patch)
treed03ffd4c565efcbefde5816380479b2bee34ef8f /gcc/config/rs6000/sysv4.h
parent4a750a6d6a11e96df3559469b28f6ca06fbb0b21 (diff)
downloadgcc-29ef89522ea2a45358c6474964cc834a760f11b9.zip
gcc-29ef89522ea2a45358c6474964cc834a760f11b9.tar.gz
gcc-29ef89522ea2a45358c6474964cc834a760f11b9.tar.bz2
sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o for -profile as well as -p and -pg.
* config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o for -profile as well as -p and -pg. From-SVN: r88736
Diffstat (limited to 'gcc/config/rs6000/sysv4.h')
-rw-r--r--gcc/config/rs6000/sysv4.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index 79a44a0..59bef41 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -1110,12 +1110,12 @@ extern int fixuplabelno;
#ifdef HAVE_LD_PIE
#define STARTFILE_LINUX_SPEC "\
-%{!shared: %{pg|p:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \
+%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \
%{mnewlib:ecrti.o%s;:crti.o%s} \
%{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
#else
#define STARTFILE_LINUX_SPEC "\
-%{!shared: %{pg|p:gcrt1.o%s;:crt1.o%s}} \
+%{!shared: %{pg|p|profile:gcrt1.o%s;:crt1.o%s}} \
%{mnewlib:ecrti.o%s;:crti.o%s} \
%{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
#endif