Add missing test file
authorNick Clifton <nickc@redhat.com>
Fri, 20 Nov 2020 14:06:14 +0000 (14:06 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 20 Nov 2020 14:06:14 +0000 (14:06 +0000)
binutils/testsuite/binutils-all/ifunc.s [new file with mode: 0644]

diff --git a/binutils/testsuite/binutils-all/ifunc.s b/binutils/testsuite/binutils-all/ifunc.s
new file mode 100644 (file)
index 0000000..9896ae4
--- /dev/null
@@ -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