From 31c759bf37a7a41faf8b13800deb769e8a5f3871 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 30 Oct 2009 00:48:54 -0700 Subject: Uglify IFUNC tests for PPC. --- elf/ifuncmain6pie.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'elf/ifuncmain6pie.c') 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 +#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); -- cgit v1.2.3