summaryrefslogtreecommitdiff
path: root/elf/ifuncmain7pie.c
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2009-06-22 15:07:40 -0700
committerUlrich Drepper <drepper@redhat.com>2009-06-22 15:07:40 -0700
commit3c30afc8625c680257b91638c3d9bee01e1fe778 (patch)
tree46b73bd4a4ca129ce8818c14c83657a9d3018f02 /elf/ifuncmain7pie.c
parentccab6d8f73a17346862b681250de6f73a6940144 (diff)
downloadglibc-3c30afc8625c680257b91638c3d9bee01e1fe778.tar.gz
Add more IFUNC tests.
Mostly tests around not-exported IFUNC functions, IFUNC in statically linked binaries and PIEs, etc.
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"