diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-08-19 17:37:51 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-08-19 17:37:51 -0400 |
commit | 8466d38a89cb2bf37bab67337910209def6dc10c (patch) | |
tree | f6270ccc78b31b6ce31215d3453866fc4089ce47 /gcc/config | |
parent | e63815200c0fce0f5c8cb9bf7657495bd8c3c20d (diff) | |
download | gcc-8466d38a89cb2bf37bab67337910209def6dc10c.zip gcc-8466d38a89cb2bf37bab67337910209def6dc10c.tar.gz gcc-8466d38a89cb2bf37bab67337910209def6dc10c.tar.bz2 |
(STARTFILE_SPEC, ENDFILE_SPEC): Delete superfluous -pg tests.
(LINK_SPEC): Add libp directories to -Y when -pg.
From-SVN: r10258
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/sparc/sol2.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index 34833bc..d0772df 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -102,9 +102,8 @@ do { \ #undef STARTFILE_SPEC #define STARTFILE_SPEC "%{!shared: \ %{!symbolic: \ - %{pg:crt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}} \ - %{pg:gmon.o%s}}} \ - %{pg:crti.o%s}%{!pg:crti.o%s} \ + %{p:mcrt1.o%s}%{!p:crt1.o%s} %{pg:gmon.o%s}}} \ + crti.o%s \ %{ansi:values-Xc.o%s} \ %{!ansi: \ %{traditional:values-Xt.o%s} \ @@ -120,7 +119,7 @@ do { \ "%{compat-bsd:-lucb -lsocket -lnsl -lelf -laio} %{!shared:%{!symbolic:-lc}}" #undef ENDFILE_SPEC -#define ENDFILE_SPEC "crtend.o%s %{pg:crtn.o%s}%{!pg:crtn.o%s}" +#define ENDFILE_SPEC "crtend.o%s crtn.o%s" /* This should be the same as in svr4.h, except with -R added. */ #undef LINK_SPEC @@ -135,11 +134,13 @@ do { \ %{R*} \ %{compat-bsd: \ %{!YP,*:%{p:-Y P,/usr/ucblib:/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \ - %{!p:-Y P,/usr/ucblib:/usr/ccs/lib:/usr/lib}} \ + %{pg:-Y P,/usr/ucblib:/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \ + %{!p:%{!pg:-Y P,/usr/ucblib:/usr/ccs/lib:/usr/lib}}} \ -R /usr/ucblib} \ %{!compat-bsd: \ %{!YP,*:%{p:-Y P,/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \ - %{!p:-Y P,/usr/ccs/lib:/usr/lib}}} \ + %{pg:-Y P,/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \ + %{!p:%{!pg:-Y P,/usr/ccs/lib:/usr/lib}}}} \ %{Qy:} %{!Qn:-Qy}" /* This defines which switch letters take arguments. |