aboutsummaryrefslogtreecommitdiff
path: root/elf/ifuncmain7static.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/ifuncmain7static.c')
-rw-r--r--elf/ifuncmain7static.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/elf/ifuncmain7static.c b/elf/ifuncmain7static.c
new file mode 100644
index 0000000..e470d57
--- /dev/null
+++ b/elf/ifuncmain7static.c
@@ -0,0 +1,7 @@
+/* Test local STT_GNU_IFUNC symbols with -static:
+
+ 1. Direct function call.
+ 2. Function pointer.
+ */
+
+#include "ifuncmain7.c"