]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[AArch64] Create .got section if _GLOBAL_OFFSET_TABLE_ referenced
authorJiong Wang <jiong.wang@arm.com>
Mon, 7 Mar 2016 15:40:50 +0000 (15:40 +0000)
committerJiong Wang <jiong.wang@arm.com>
Mon, 7 Mar 2016 15:40:50 +0000 (15:40 +0000)
commit18f822a08fd5cb8fed8b0b318e7945545c255081
tree8a6ee313b3871291eaf8a34d79bd94ae75deac68
parentf86f586366275bbb5ae77520eb990769f05a3030
[AArch64] Create .got section if _GLOBAL_OFFSET_TABLE_ referenced

2016-03-07  Jiong Wang  <jiong.wang@arm.com>

bfd/
  * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Always create .got section
  if the symbol "_GLOBAL_OFFSET_TABLE_" referenced.

ld/
  * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
  * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected result.
  * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
bfd/ChangeLog
bfd/elfnn-aarch64.c
ld/ChangeLog
ld/testsuite/ld-aarch64/aarch64-elf.exp
ld/testsuite/ld-aarch64/implicit_got_section_1.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/implicit_got_section_1.s [new file with mode: 0644]