mips gas is horribly broken

H . J . Lu hjl@lucon.org
Fri Jun 8 09:18:00 GMT 2001


On Fri, Jun 08, 2001 at 09:12:36AM -0700, Ian Lance Taylor wrote:
> 
> I haven't looked at the code.  It's quite possible that any addend
> value is legal.  I wasn't suggesting that you use
> _bfd_mips_elf_generic_reloc.  I was suggesting that in the assembler
> you change the addend and the object file so that the result comes out
> right without ever having an addend of zero.  That is generally how
> these sorts of problems are solved now: by adding hacks to gas.  Of
> course, each hack makes it harder to implement the right solution.

According to Geoffrey, that is what was tried last time and it is how
we got what we have today. I guess I will have to put my hack in my
private binutils. I will conditionally apply my patch only if the bfd
includes the ELF/mips target.

Thanks.


H.J.



More information about the Binutils mailing list