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: [PATCH] MIPS bfd: abi 64 ld -r


On Wed, Sep 04, 2002 at 01:25:02AM -0300, Alexandre Oliva wrote:
> .data
> foo:
> .word bar
> bar:
> 
> assemble it with the IRIX assembler (n32), and you get:
> 
> 0000000000000000 <.data>:
>    0:   00000004        sllv    $zero,$zero,$zero
>                         0: R_MIPS_32    .data
>                ^ note the in-place addend,    ^ nothing here

If this reloc really is RELA, then that isn't an "in-place addend".
Rather, it's random garbage in the section contents that should be
ignored.  At least, that's the way standard RELA relocs work, but
mips is weird.  ;)

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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