[AArch64] PR18270, fix handling of GOT entry for local symbol
authorJiong Wang <jiong.wang@arm.com>
Fri, 24 Apr 2015 22:25:28 +0000 (23:25 +0100)
committerJiong Wang <jiong.wang@arm.com>
Fri, 24 Apr 2015 22:25:28 +0000 (23:25 +0100)
commitb53b1bedbd90044714fc456843cadccce0f208f3
tree419c755d9d8fb9c8bf7ab9162b279c73ff69a98a
parent69b52ab8c566575e4749acf0a04090491009af95
[AArch64] PR18270, fix handling of GOT entry for local symbol

2015-04-24  Jiong. Wang  <jiong.wang@arm.com>

bfd/
  PR ld/18270
  * elfnn-aarch64.c (elfNN_aarch64_size_dynamic): Count local symbol for
  GOT_NORMAL for both sgot/srelgot section.
  (elfNN_aarch64_final_link_relocate): Relocate against GOT entry address
  and generate necessary runtime relocation for GOT entry.
bfd/ChangeLog
bfd/elfnn-aarch64.c