about summary refs log tree commit diff
path: root/elf/ifuncmain7pie.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/ifuncmain7pie.c')
-rw-r--r--elf/ifuncmain7pie.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/elf/ifuncmain7pie.c b/elf/ifuncmain7pie.c
new file mode 100644
index 0000000000..254d453f1e
--- /dev/null
+++ b/elf/ifuncmain7pie.c
@@ -0,0 +1,7 @@
+/* Test local STT_GNU_IFUNC symbols with PIE:
+
+   1. Direct function call.
+   2. Function pointer.
+ */
+
+#include "ifuncmain7.c"