aboutsummaryrefslogtreecommitdiff
path: root/binutils
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 /binutils
parentef21dd3bcffd350f0bf27386f1eafe8095d8feec (diff)
downloadgdb-9d37f01307db492370a260e3ef9aee10b363fec2.zip
gdb-9d37f01307db492370a260e3ef9aee10b363fec2.tar.gz
gdb-9d37f01307db492370a260e3ef9aee10b363fec2.tar.bz2
Add missing test file
Diffstat (limited to 'binutils')
-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 0000000..9896ae4
--- /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