summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/bnd-ifunc-1.d
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-11-20 09:01:04 -0800
committerH.J. Lu <hjl.tools@gmail.com>2014-01-27 12:45:26 -0800
commit3035fb6a863c1264d47e98036f02c308a75029e2 (patch)
treeef187a7f971fbb4bee6dff0ca775e531d82d2d55 /ld/testsuite/ld-x86-64/bnd-ifunc-1.d
parent568e808b7d80a7613c1b6d94ff93dd517436b249 (diff)
downloadbinutils-gdb-3035fb6a863c1264d47e98036f02c308a75029e2.tar.gz
Create the second PLT for BND relocationsusers/hjl/mpx/pltext8
Map each entry in .plt, except for PLT0, to .plt.bnd.
Diffstat (limited to 'ld/testsuite/ld-x86-64/bnd-ifunc-1.d')
-rw-r--r--ld/testsuite/ld-x86-64/bnd-ifunc-1.d7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/bnd-ifunc-1.d b/ld/testsuite/ld-x86-64/bnd-ifunc-1.d
new file mode 100644
index 00000000000..cdcb4f69a6c
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/bnd-ifunc-1.d
@@ -0,0 +1,7 @@
+#as: --64 -madd-bnd-prefix
+#ld: -shared -melf_x86_64
+#objdump: -dw
+
+#...
+[ ]*[a-f0-9]+: f2 e8 f0 ff ff ff bnd callq 220 <\*ABS\*\+0x228@plt>
+#pass