From: Nick Clifton Date: Fri, 20 Nov 2020 14:06:14 +0000 (+0000) Subject: Add missing test file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d37f01307db492370a260e3ef9aee10b363fec2;p=binutils-gdb.git Add missing test file --- 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