This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cleaning up the mips reloc handling


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]