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