GCC patch for MIPS multi-got support in the linker

Daniel Jacobowitz drow@mvista.com
Tue Jan 14 05:20:00 GMT 2003


On Tue, Jan 14, 2003 at 03:12:21AM -0200, Alexandre Oliva wrote:
> With the upcoming introduction of multi-got support in the linker, the
> assumption that the value crti.o places in $gp is appropriate for
> crtbegin/crtend no longer holds.  This patch fixes it.  Bootstrapped
> on mips-sgi-irix6.5 (a couple of days ago).  Ok to install?  Ok for
> 3.3?

[Can you get your mailer to use inline attachments?  It makes
responding to your patches awkward.]

I recommend fixing:
+1:     .set reoder\n\

Hmm, and I assume this is only an issue if you're using the new
binutils with multi-GOT support; best-case scenario from a
compatibility perspective.  Whew.

I have the feeling I should buy you a beer or something for doing all
this :)

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gcc-patches mailing list