diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-12-13 21:07:16 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-12-13 21:07:16 +0000 |
commit | 5ca5bb354599855357bd35d99dfa07a729f91095 (patch) | |
tree | c5d3a394c93f8220ec8ae744b1c20f534910c52d /ld/testsuite/ld-ifunc/ifunc-14d-x86-64.d | |
parent | e780d813de745dfe6f2403226fec488d30d372f5 (diff) | |
download | gdb-5ca5bb354599855357bd35d99dfa07a729f91095.zip gdb-5ca5bb354599855357bd35d99dfa07a729f91095.tar.gz gdb-5ca5bb354599855357bd35d99dfa07a729f91095.tar.bz2 |
Check local IFUNC calls
bfd/
2012-12-13 H.J. Lu <hongjiu.lu@intel.com>
PR ld/14956
* elf32-i386.c (elf_i386_adjust_dynamic_symbol): Check local
IFUNC calls.
* elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise.
ld/testsuite/
2012-12-13 H.J. Lu <hongjiu.lu@intel.com>
PR ld/14956
* ld-ifunc/ifunc-14-i386.d: Renamed to ...
* ld-ifunc/ifunc-14a-i386.d: This.
* ld-ifunc/ifunc-14-x86-64.d: Renamed to ...
* ld-ifunc/ifunc-14a-x86-64.d: This.
* ld-ifunc/ifunc-14b-i386.d: New file.
* ld-ifunc/ifunc-14b-x86-64.d: Likewise.
* ld-ifunc/ifunc-14c-i386.d: Likewise.
* ld-ifunc/ifunc-14c-x86-64.d: Likewise.
* ld-ifunc/ifunc-14d-i386.d: Likewise.
* ld-ifunc/ifunc-14d-x86-64.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-ifunc/ifunc-14d-x86-64.d')
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc-14d-x86-64.d | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-ifunc/ifunc-14d-x86-64.d b/ld/testsuite/ld-ifunc/ifunc-14d-x86-64.d new file mode 100644 index 0000000..789584b --- /dev/null +++ b/ld/testsuite/ld-ifunc/ifunc-14d-x86-64.d @@ -0,0 +1,11 @@ +#source: ifunc-14b.s +#source: ifunc-14a.s +#ld: -shared -m elf_x86_64 -z nocombreloc +#as: --64 +#readelf: -r --wide +#target: x86_64-*-* + +#failif +#... +.* +R_X86_64_NONE +.* +#... |