Commit c97c62ef by Alexandre Oliva Committed by Alexandre Oliva

sol2.h (LINK_SPEC): Avoid the duplication of -YP when both -p and -pg are present.

* config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
-YP when both -p and -pg are present.  From i386/sol2.h.

From-SVN: r29516
parent a091679a
Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
-YP when both -p and -pg are present. From i386/sol2.h.
Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk> Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* Makefile.in (distclean): Delete tm_p.h. * Makefile.in (distclean): Delete tm_p.h.
......
/* Definitions of target machine for GNU compiler, for SPARC running Solaris 2 /* Definitions of target machine for GNU compiler, for SPARC running Solaris 2
Copyright 1992, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. Copyright 1992, 1995-8, 1999 Free Software Foundation, Inc.
Contributed by Ron Guilmette (rfg@netcom.com). Contributed by Ron Guilmette (rfg@netcom.com).
Additional changes by David V. Henkel-Wallace (gumby@cygnus.com). Additional changes by David V. Henkel-Wallace (gumby@cygnus.com).
...@@ -155,14 +155,14 @@ Boston, MA 02111-1307, USA. */ ...@@ -155,14 +155,14 @@ Boston, MA 02111-1307, USA. */
%{YP,*} \ %{YP,*} \
%{R*} \ %{R*} \
%{compat-bsd: \ %{compat-bsd: \
%{!YP,*:%{p:-Y P,/usr/ucblib:/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \ %{!YP,*:%{pg:-Y P,/usr/ucblib:/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \
%{pg:-Y P,/usr/ucblib:/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \ %{!pg:%{p:-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}}} \ %{!p:-Y P,/usr/ucblib:/usr/ccs/lib:/usr/lib}}} \
-R /usr/ucblib} \ -R /usr/ucblib} \
%{!compat-bsd: \ %{!compat-bsd: \
%{!YP,*:%{p:-Y P,/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \ %{!YP,*:%{pg:-Y P,/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \
%{pg:-Y P,/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \ %{!pg:%{p:-Y P,/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \
%{!p:%{!pg:-Y P,/usr/ccs/lib:/usr/lib}}}} \ %{!p:-Y P,/usr/ccs/lib:/usr/lib}}}} \
%{Qy:} %{!Qn:-Qy}" %{Qy:} %{!Qn:-Qy}"
/* This defines which switch letters take arguments. /* This defines which switch letters take arguments.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment