diff options
Diffstat (limited to 'REORG.TODO/elf/ifuncmain2.c')
-rw-r--r-- | REORG.TODO/elf/ifuncmain2.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/REORG.TODO/elf/ifuncmain2.c b/REORG.TODO/elf/ifuncmain2.c new file mode 100644 index 0000000000..db3ba56a02 --- /dev/null +++ b/REORG.TODO/elf/ifuncmain2.c @@ -0,0 +1,14 @@ +/* Test calling one STT_GNU_IFUNC function with 3 different + STT_GNU_IFUNC definitions. */ + +#include <stdlib.h> + +extern int foo1 (void); + +int +main (void) +{ + if (foo1 () != -1) + abort (); + return 0; +} |