aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/sysv4.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9daa248..4d4cfda 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-10-08 Alan Modra <amodra@bigpond.net.au>
+
+ * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o
+ for -profile as well as -p and -pg.
+
2004-10-07 Andrew Pinski <pinskia@physics.uc.edu>
* libgcc2.c (__moddi3): Cast &w to UDWtype*.
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