old-cross-binutils/ld/testsuite/ld-aarch64/relocs-257-symbolic-func.s
Jiong Wang 0941db698e [AArch64] Fix function pointer variable with -Bsymbolic-functions
bfd/ChangeLog

2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>

    * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Use
    SYMBOLIC_BIND to check if a symbol should be bound symbolically.

ld/testsuite/ChangeLog

2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>

    * ld-aarch64/aarch64-elf.exp: Added relocs-257-symbolic-func test.
    * ld-aarch64/relocs-257-symbolic-func.d: New file.
    * ld-aarch64/relocs-257-symbolic-func.s: Likewise.
2015-01-13 11:36:54 +00:00

11 lines
184 B
ArmAsm

.text
.global tempy
.type tempy, %function
tempy:
.size tempy, .-tempy
.section .data.rel
.align 3
.type tempy_ptr, %object
.size tempy_ptr, 8
tempy_ptr:
.xword tempy