aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-11-09 14:37:16 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-11-09 14:37:16 +0000
commit57ca8ac797dc72c1949722ab9b11820e3ea8989b (patch)
tree040805399b147e6849bd4ed74439dd4129918211 /ld
parent46b5151381235cc34bdbfab5bfdfd4d4b9d55d42 (diff)
downloadfsf-binutils-gdb-57ca8ac797dc72c1949722ab9b11820e3ea8989b.zip
fsf-binutils-gdb-57ca8ac797dc72c1949722ab9b11820e3ea8989b.tar.gz
fsf-binutils-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')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-ifunc/ifunc-4a-x86.d8
2 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index a0c73c6..e5ffab9 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/10911
+ * ld-ifunc/ifunc-4a-x86.d: New.
+
2009-11-02 Paul Brook <paul@codesourcery.com>
* ld-arm/arm-elf.exp: Add new attr-merge-vfp tests.
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