about summary refs log tree commit diff
path: root/sysdeps/generic/dl-irel.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-06-29 05:00:49 -0700
committerDavid S. Miller <davem@davemloft.net>2011-06-29 05:00:49 -0700
commit751626f948f28d39713e0690fd9aa751a74eaab0 (patch)
tree52598fe1ce4b87af3b488e9ba4ced227680d6186 /sysdeps/generic/dl-irel.h
parent5c0b8d9013560bb24805844d31a7fb3959ee1e8d (diff)
downloadglibc-751626f948f28d39713e0690fd9aa751a74eaab0.tar.gz
glibc-751626f948f28d39713e0690fd9aa751a74eaab0.tar.xz
glibc-751626f948f28d39713e0690fd9aa751a74eaab0.zip
Fix build with multiarch disabled.
Diffstat (limited to 'sysdeps/generic/dl-irel.h')
-rw-r--r--sysdeps/generic/dl-irel.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-irel.h b/sysdeps/generic/dl-irel.h
index 4d7b481e81..62fa1ce9ce 100644
--- a/sysdeps/generic/dl-irel.h
+++ b/sysdeps/generic/dl-irel.h
@@ -17,7 +17,14 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
-#ifndef _DL_IREL_h
+#ifndef _DL_IREL_H
 #define _DL_IREL_H
 
+static inline DL_FIXUP_VALUE_TYPE
+__attribute ((always_inline))
+elf_ifunc_invoke (ElfW(Addr) addr)
+{
+  return ((DL_FIXUP_VALUE_TYPE (*) (void)) (addr)) ();
+}
+
 #endif /* dl-irel.h */