binutils-gdb/ld/testsuite/ld-aarch64/pcrel_pic_defined_local.d
Jiong Wang dcbd20eb14 [AArch64] Improve PC-relative relocation check for shared library
2015-04-24  Jiong. Wang  <jiong.wang@arm.com>

bfd/
  * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Reject
  PC-relative relocation for external symbol.

ld/testsuite/
  * ld-aarch64/pcrel.s: New testcase.
  * ld-aarch64/pcrel_pic_defiend_local.d: New expect file.
  * ld-aarch64/pcrel_pic_undefined.d: Ditto.
  * ld-aarch64/aarch64-elf.exp: Run them.
2015-04-24 22:35:04 +01:00

6 lines
117 B
Makefile

#name: PC-Rel relocation against defined
#source: pcrel.s
#objdump: -r
#ld: -shared -e0 -defsym global_a=0x1000
#...