aboutsummaryrefslogtreecommitdiff
path: root/elf/ifuncmod3.c
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/ifuncmod3.c
parentfbb04b35e7997070feec74e0fd46953faef71f9e (diff)
downloadglibc-2f083d7511460b3beea2df165c3e43742f73f3c9.tar
glibc-2f083d7511460b3beea2df165c3e43742f73f3c9.tar.gz
glibc-2f083d7511460b3beea2df165c3e43742f73f3c9.tar.bz2
glibc-2f083d7511460b3beea2df165c3e43742f73f3c9.zip
Test for ELF IFUNC functionality.
Diffstat (limited to 'elf/ifuncmod3.c')
-rw-r--r--elf/ifuncmod3.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/elf/ifuncmod3.c b/elf/ifuncmod3.c
new file mode 100644
index 0000000000..379d2c8d53
--- /dev/null
+++ b/elf/ifuncmod3.c
@@ -0,0 +1,8 @@
+/* Test STT_GNU_IFUNC symbols with dlopen. */
+
+#include "ifuncmod1.c"
+
+int ret_foo;
+int ret_foo_hidden;
+int ret_foo_protected;
+int global = -1;