diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2009-06-22 15:07:40 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2009-06-22 15:07:40 -0700 |
commit | 3c30afc8625c680257b91638c3d9bee01e1fe778 (patch) | |
tree | 46b73bd4a4ca129ce8818c14c83657a9d3018f02 /elf/ifuncmain7picstatic.c | |
parent | ccab6d8f73a17346862b681250de6f73a6940144 (diff) | |
download | glibc-3c30afc8625c680257b91638c3d9bee01e1fe778.tar.gz glibc-3c30afc8625c680257b91638c3d9bee01e1fe778.tar.xz glibc-3c30afc8625c680257b91638c3d9bee01e1fe778.zip |
Add more IFUNC tests.
Mostly tests around not-exported IFUNC functions, IFUNC in statically linked binaries and PIEs, etc.
Diffstat (limited to 'elf/ifuncmain7picstatic.c')
-rw-r--r-- | elf/ifuncmain7picstatic.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/elf/ifuncmain7picstatic.c b/elf/ifuncmain7picstatic.c new file mode 100644 index 0000000000..baf8934b95 --- /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" |