summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/bnd-branch-1.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/bnd-branch-1.s')
-rw-r--r--ld/testsuite/ld-x86-64/bnd-branch-1.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/bnd-branch-1.s b/ld/testsuite/ld-x86-64/bnd-branch-1.s
new file mode 100644
index 00000000000..bf62981dcc0
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/bnd-branch-1.s
@@ -0,0 +1,9 @@
+ .text
+ .globl _start
+_start:
+bnd jmp foo1@plt
+ call foo2@plt
+ jmp foo3@plt
+ call foo4@plt
+bnd call foo3@plt
+ jmp foo4@plt