Subject: Re: different behaviour of system cc and TOOLDIR/cc
To: Todd Vierling <tv@pobox.com>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: tech-toolchain
Date: 06/26/2003 21:00:16
This is a multipart MIME message.

--==_Exmh_1283765946940
Content-Type: text/plain; charset=us-ascii


tv@pobox.com said:
> gcc/config/netbsd.h:LINK_SPEC is where it should happen; perhaps the
> m68k specs are overriding that and forgetting to include "%{R*}". 

Indeed. gcc/config/m68k/netbsd-elf.h overrides it, without the -R.

So should I commit the appended patch?

best regards
Matthias



--==_Exmh_1283765946940
Content-Type: text/plain ; name="gccm68k.txt"; charset=us-ascii
Content-Description: gccm68k.txt
Content-Disposition: attachment; filename="gccm68k.txt"

--- netbsd-elf.h.~1.9.~	Tue Mar  4 15:11:52 2003
+++ netbsd-elf.h	Thu Jun 26 20:56:59 2003
@@ -642,7 +642,7 @@
 #undef LINK_SPEC
 #define	LINK_SPEC							\
  "-m m68kelfnbsd							\
-  %{assert*}								\
+  %{assert*} %{R*}     							\
   %{shared:-shared}							\
   %{!shared:								\
     -dc -dp								\

--==_Exmh_1283765946940--