public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* 3.3 PATCH: Define SUBTARGET_EXTRA_SPECS for pre-Solaris 7/SPARC
@ 2002-08-13  5:15 Rainer Orth
  2002-08-13 19:42 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Rainer Orth @ 2002-08-13  5:15 UTC (permalink / raw)
  To: gcc-patches

During a recent mainline bootstrap, I noticed that the
sparc-sun-solaris2.5.1 gcc doesn't recognize the -R option any longer.
This is a bug caused by my Solaris 2 configuration cleanup, which didn't
define the startfile_arch and link_arch (which passes -R to the linker)
specs for non-bi-arch Solaris 2 configuations.  The trivial patch below
fixes this.

Bootstrapped without regressions on sparc-sun-solaris2.5.1.

Ok for mainline?

	Rainer


Tue Aug 13 00:58:35 2002  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.

Index: config/sparc/sol2.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/sol2.h,v
retrieving revision 1.47
diff -u -p -r1.47 sol2.h
--- config/sparc/sol2.h	20 Jun 2002 11:03:40 -0000	1.47
+++ config/sparc/sol2.h	13 Aug 2002 12:12:34 -0000
@@ -47,6 +47,11 @@ Boston, MA 02111-1307, USA.  */
 %{!mcpu*:%(asm_cpu_default)} \
 "
 
+#undef SUBTARGET_EXTRA_SPECS
+#define SUBTARGET_EXTRA_SPECS \
+  { "startfile_arch",	STARTFILE_ARCH_SPEC },	\
+  { "link_arch",	LINK_ARCH_SPEC }
+
 /* However it appears that Solaris 2.0 uses the same reg numbering as
    the old BSD-style system did.  */
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 3.3 PATCH: Define SUBTARGET_EXTRA_SPECS for pre-Solaris 7/SPARC
  2002-08-13  5:15 3.3 PATCH: Define SUBTARGET_EXTRA_SPECS for pre-Solaris 7/SPARC Rainer Orth
@ 2002-08-13 19:42 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2002-08-13 19:42 UTC (permalink / raw)
  To: Rainer Orth; +Cc: gcc-patches

On Tue, Aug 13, 2002 at 02:15:40PM +0200, Rainer Orth wrote:
> 	* config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.

Ok.


r~

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-14  2:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-13  5:15 3.3 PATCH: Define SUBTARGET_EXTRA_SPECS for pre-Solaris 7/SPARC Rainer Orth
2002-08-13 19:42 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).