bogon in [PATCH] MIPS gas: irix relocation tweaks
cgd@broadcom.com
cgd@broadcom.com
Mon Oct 21 17:25:00 GMT 2002
Stan,
While reading the code for other reasons, I noticed that your patch:
http://sources.redhat.com/ml/binutils/2002-09/msg00119.html
does:
+
+ /* newabi uses R_MIPS_GOT_DISP for local symbols */
+ if (HAVE_NEWABI && BFD_RELOC_MIPS_GOT_LO16)
+ {
+ fixp->fx_r_type = BFD_RELOC_MIPS_GOT_DISP;
+ retval[1] = NULL;
+ }
(very bottom of the patch).
Doesn't look right. 8-)
Not quite sure what you meant here, perhaps:
if (HAVE_NEWABI && fixp->fx_r_type == BFD_RELOC_MIPS_GOT_LO16)
?
(can't really test that change well myself, though.)
cgd
More information about the Binutils
mailing list