[AArch64] Fix function pointer variable with -Bsymbolic-functions
authorJiong Wang <jiong.wang@arm.com>
Tue, 13 Jan 2015 11:36:54 +0000 (11:36 +0000)
committerJiong Wang <jiong.wang@arm.com>
Tue, 13 Jan 2015 11:36:54 +0000 (11:36 +0000)
commit0941db698eba22727c9a944b5da5c76ae93cc664
treefb75c96d8a0db595586d49ec1399d4aef661e11d
parent0172429c3b2656e96ac390a9cdfc441f63df41c9
[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.
bfd/ChangeLog
bfd/elfnn-aarch64.c
ld/testsuite/ChangeLog
ld/testsuite/ld-aarch64/aarch64-elf.exp
ld/testsuite/ld-aarch64/relocs-257-symbolic-func.d [new file with mode: 0644]
ld/testsuite/ld-aarch64/relocs-257-symbolic-func.s [new file with mode: 0644]