aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2009-06-03 16:21:40 -0700
committerUlrich Drepper <drepper@redhat.com>2009-06-03 16:21:40 -0700
commit2f083d7511460b3beea2df165c3e43742f73f3c9 (patch)
treedb6421cac30909a7a0546460ca271d0b54158ea0 /elf/ifuncmain2pic.c
parentTerminate correct buffer. (diff)
downloadglibc-2f083d7511460b3beea2df165c3e43742f73f3c9.tar.gz
glibc-2f083d7511460b3beea2df165c3e43742f73f3c9.tar.bz2
glibc-2f083d7511460b3beea2df165c3e43742f73f3c9.zip
Test for ELF IFUNC functionality.
Diffstat (limited to 'elf/ifuncmain2pic.c')
-rw-r--r--elf/ifuncmain2pic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/elf/ifuncmain2pic.c b/elf/ifuncmain2pic.c
new file mode 100644
index 0000000000..0006012a96
--- /dev/null
+++ b/elf/ifuncmain2pic.c
@@ -0,0 +1,3 @@
+/* Test STT_GNU_IFUNC symbols with -fPIC. */
+
+#include "ifuncmain2.c"