This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: mips gas is horribly broken
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.