aboutsummaryrefslogtreecommitdiff
path: root/bfd/nlm32.c
diff options
context:
space:
mode:
authorJames Clarke <jrtc27@jrtc27.com>2016-11-18 12:51:40 +0100
committerJose E. Marchesi <jose.marchesi@oracle.com>2016-11-18 12:51:40 +0100
commitcc133f9f118ef4afd93da0ecba48151488c41c74 (patch)
tree33a09f81fa2df268c88e5562bcba6b6c6cb572bd /bfd/nlm32.c
parenta85db0a6188b89ef49a1bd0f0ed435adc133b3ae (diff)
downloadgdb-cc133f9f118ef4afd93da0ecba48151488c41c74.zip
gdb-cc133f9f118ef4afd93da0ecba48151488c41c74.tar.gz
gdb-cc133f9f118ef4afd93da0ecba48151488c41c74.tar.bz2
bfd: fix negative GOT offsets for non-local references on sparc64
bfd/ChangeLog: 2016-11-18 James Clarke <jrtc27@jrtc27.com> * 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.
Diffstat (limited to 'bfd/nlm32.c')
0 files changed, 0 insertions, 0 deletions