aboutsummaryrefslogtreecommitdiff
path: root/gold/testsuite/bnd_ifunc_1.s
diff options
context:
space:
mode:
Diffstat (limited to 'gold/testsuite/bnd_ifunc_1.s')
-rw-r--r--gold/testsuite/bnd_ifunc_1.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/gold/testsuite/bnd_ifunc_1.s b/gold/testsuite/bnd_ifunc_1.s
new file mode 100644
index 0000000000..82b64f06e8
--- /dev/null
+++ b/gold/testsuite/bnd_ifunc_1.s
@@ -0,0 +1,16 @@
+ .type foo, %gnu_indirect_function
+ .global __GI_foo
+ .hidden __GI_foo
+ .set __GI_foo, foo
+ .text
+.globl foo
+ .type foo, @function
+foo:
+ ret
+ .size foo, .-foo
+.globl bar
+ .type bar, @function
+bar:
+ call __GI_foo@PLT
+ ret
+ .size bar, .-bar