From 29ef89522ea2a45358c6474964cc834a760f11b9 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 8 Oct 2004 07:04:27 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/sysv4.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9daa248ef9e..4d4cfda9a02 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-08 Alan Modra + + * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Choose gcrt1.o + for -profile as well as -p and -pg. + 2004-10-07 Andrew Pinski * libgcc2.c (__moddi3): Cast &w to UDWtype*. diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index 79a44a0ef57..59bef4137ea 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 -- 2.30.2