PR20989, sparc GOT sequence optimisation
authorAlan Modra <amodra@gmail.com>
Mon, 2 Jan 2017 11:36:28 +0000 (22:06 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 2 Jan 2017 11:36:28 +0000 (22:06 +1030)
commit5b86074c4a84e32ca55a6c72c5fca45d97dc9374
treee3666b846d6e1cb9d942273723f901c6bf781e08
parent2571583aed598dd3f9651b53434e5f177a0e3cf7
PR20989, sparc GOT sequence optimisation

PR ld/20989
* elfxx-sparc.c (gdop_relative_offset_ok): New function.
(_bfd_sparc_elf_relocate_section): Use it to validate GOT
indirect to GOT pointer relative code edit.
bfd/ChangeLog
bfd/elfxx-sparc.c