about summary refs log tree commit diff
path: root/elf/ifuncmain7.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2009-10-30 00:48:54 -0700
committerUlrich Drepper <drepper@redhat.com>2009-10-30 00:48:54 -0700
commit31c759bf37a7a41faf8b13800deb769e8a5f3871 (patch)
treeb1e594e990e74cff74ab667cfb4a57faa790e6dd /elf/ifuncmain7.c
parent51a71cf063505d689337cf998670691a0a4b2410 (diff)
downloadglibc-31c759bf37a7a41faf8b13800deb769e8a5f3871.tar.gz
glibc-31c759bf37a7a41faf8b13800deb769e8a5f3871.tar.xz
glibc-31c759bf37a7a41faf8b13800deb769e8a5f3871.zip
Uglify IFUNC tests for PPC.
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);