[binutils-gdb] Add missing test file

Nick Clifton nickc@sourceware.org
Fri Nov 20 14:06:19 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9d37f01307db492370a260e3ef9aee10b363fec2

commit 9d37f01307db492370a260e3ef9aee10b363fec2
Author: Nick Clifton <nickc@redhat.com>
Date:   Fri Nov 20 14:06:14 2020 +0000

    Add missing test file

Diff:
---
 binutils/testsuite/binutils-all/ifunc.s | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

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


More information about the Binutils-cvs mailing list