about summary refs log tree commit diff
path: root/elf/ifuncmain7.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/ifuncmain7.c')
-rw-r--r--elf/ifuncmain7.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/ifuncmain7.c b/elf/ifuncmain7.c
index 099e929ffc..617a596d5e 100644
--- a/elf/ifuncmain7.c
+++ b/elf/ifuncmain7.c
@@ -5,6 +5,7 @@
  */
 
 #include <stdlib.h>
+#include "ifunc-sel.h"
 
 extern int foo (void);
 
@@ -21,7 +22,7 @@ static void *
 __attribute__ ((used))
 foo_ifunc (void)
 {
-  return one;
+  return ifunc_one (one);
 }
 
 typedef int (*foo_p) (void);