sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o for -profile as well as -p and -pg.
authorAlan Modra <amodra@bigpond.net.au>
Fri, 8 Oct 2004 07:04:27 +0000 (07:04 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Fri, 8 Oct 2004 07:04:27 +0000 (16:34 +0930)
* config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o
for -profile as well as -p and -pg.

From-SVN: r88736

gcc/ChangeLog
gcc/config/rs6000/sysv4.h

index 9daa248ef9ee16f944b82eca22aad292f0121317..4d4cfda9a029aa8a6b47b463feb12d20433449f7 100644 (file)
@@ -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*.
index 79a44a0ef5760ca08d3b22e78f2bfe5bcc18a465..59bef4137eae7671a28be3e35aec3c5a624f529f 100644 (file)
@@ -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