diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-11-09 14:37:16 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-11-09 14:37:16 +0000 |
commit | 57ca8ac797dc72c1949722ab9b11820e3ea8989b (patch) | |
tree | 040805399b147e6849bd4ed74439dd4129918211 /ld/testsuite/ld-ifunc | |
parent | 46b5151381235cc34bdbfab5bfdfd4d4b9d55d42 (diff) | |
download | gdb-57ca8ac797dc72c1949722ab9b11820e3ea8989b.zip gdb-57ca8ac797dc72c1949722ab9b11820e3ea8989b.tar.gz gdb-57ca8ac797dc72c1949722ab9b11820e3ea8989b.tar.bz2 |
Don't return on STT_GNU_IFUNC symbol when stripping.
bfd/
2009-11-09 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10911
* elflink.c (elf_link_output_extsym): Don't return on
STT_GNU_IFUNC symbol when stripping.
ld/testsuite/
2009-11-09 H.J. Lu <hongjiu.lu@intel.com>
PR ld/10911
* ld-ifunc/ifunc-4a-x86.d: New.
Diffstat (limited to 'ld/testsuite/ld-ifunc')
-rw-r--r-- | ld/testsuite/ld-ifunc/ifunc-4a-x86.d | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-ifunc/ifunc-4a-x86.d b/ld/testsuite/ld-ifunc/ifunc-4a-x86.d new file mode 100644 index 0000000..d06f589 --- /dev/null +++ b/ld/testsuite/ld-ifunc/ifunc-4a-x86.d @@ -0,0 +1,8 @@ +#ld: -s +#readelf: -r --wide +#target: x86_64-*-* i?86-*-* +#source: ifunc-4-x86.s + +#... +[0-9a-f]+[ ]+[0-9a-f]+[ ]+R_[_0-9A-Z]+_IRELATIVE[ ]*[0-9a-f]* +#pass |