summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2020-11-20 14:06:14 +0000
committerNick Clifton <nickc@redhat.com>2020-11-20 14:06:14 +0000
commit9d37f01307db492370a260e3ef9aee10b363fec2 (patch)
treef0a3af37304ab7ed7830dd75b760a0d066361422
parentef21dd3bcffd350f0bf27386f1eafe8095d8feec (diff)
downloadbinutils-gdb-9d37f01307db492370a260e3ef9aee10b363fec2.tar.gz
Add missing test file
-rw-r--r--binutils/testsuite/binutils-all/ifunc.s18
1 files changed, 18 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/ifunc.s b/binutils/testsuite/binutils-all/ifunc.s
new file mode 100644
index 00000000000..9896ae43043
--- /dev/null
+++ b/binutils/testsuite/binutils-all/ifunc.s
@@ -0,0 +1,18 @@
+ .file "ifunc.c"
+ .text
+ .p2align 4
+
+ .type resolve_local_foo, %function
+resolve_local_foo:
+ .nop
+ .size resolve_local_foo, .-resolve_local_foo
+
+ .globl global_foo
+ .type global_foo, %gnu_indirect_function
+ .set global_foo,resolve_local_foo
+
+ .globl resolve_global_foo
+ .set resolve_global_foo,resolve_local_foo
+
+ .type local_foo, %gnu_indirect_function
+ .set local_foo,resolve_local_foo