This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Cleaning up the mips reloc handling
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- To: binutils at sources dot redhat dot com
- Date: Wed, 17 Dec 2003 12:20:30 +0100
- Subject: Re: Cleaning up the mips reloc handling
- References: <87oeube6h9.fsf@redhat.com>
Richard Sandiford wrote:
> Another MIPS gas relocation bug, I'm afraid. We're assembling:
>
> la $4,foo
> .comm foo,12
>
> as:
>
> 0: 3c040000 lui a0,0x0
> 0: R_MIPS_HI16 foo
> 4: 2484fff4 addiu a0,a0,-12
> 4: R_MIPS_LO16 foo
[snip]
> Tested against the gas, ld & binutils testsuite with:
>
> mips-ecoff mips{,el}-elf mips64{,el}-elf mips{,el}-linux-gnu
> mips64{,el}-linux-gnu mips-sgi-irix6.5
>
> OK to install?
Yes. Thank you _very_ much for this patch!
Thiemo