This is the mail archive of the binutils@sourceware.org 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] bfd: Fix negative GOT offsets for non-local references on sparc64


Hi James,

> Looks good to me.
> 
>     bfd/
>      * elfxx-sparc.c (_bfd_sparc_elf_relocate_section): Don't convert
>      R_SPARC_GOTDATA_OP_HIX22 and R_SPARC_GOTDATA_OP_LOX10 to R_SPARC_GOT*
>      for non-local references. Instead, treat them like
>      R_SPARC_GOTDATA_HIX22/R_SPARC_GOTDATA_LOX10 when filling in the
>      immediate with the calculated relocation.
 
Approved - please apply.

Cheers
  Nick


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