Cleaning up the mips reloc handling
Thiemo Seufer
ica2_ts@csv.ica.uni-stuttgart.de
Wed Dec 17 11:22:00 GMT 2003
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
More information about the Binutils
mailing list