This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] bfd: Fix negative GOT offsets for non-local references on sparc64
> 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.
Applied to master in behalf of James Clarke.
Thanks.