about summary refs log tree commit diff
path: root/elf/ifuncmain6pie.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/ifuncmain6pie.c')
-rw-r--r--elf/ifuncmain6pie.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/ifuncmain6pie.c b/elf/ifuncmain6pie.c
index 06f179bf9d..8478d4c408 100644
--- a/elf/ifuncmain6pie.c
+++ b/elf/ifuncmain6pie.c
@@ -6,6 +6,7 @@
  */
 
 #include <stdlib.h>
+#include "ifunc-sel.h"
 
 typedef int (*foo_p) (void);
 extern foo_p foo_ptr;
@@ -22,7 +23,7 @@ __asm__(".type foo, %gnu_indirect_function");
 void *
 foo_ifunc (void)
 {
-  return one;
+  return ifunc_one (one);
 }
 
 extern int foo (void);