aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc/sparc64/dl-plt.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-06-20 19:56:40 -0700
committerDavid S. Miller <davem@davemloft.net>2011-06-20 19:56:40 -0700
commit42675c6ff0e95346de8a2cbc066e14e0d6a856e4 (patch)
tree2350fafe239e6a63d30f480628cc1f1d86e0b5a4 /sysdeps/sparc/sparc64/dl-plt.h
parent57912a71cc379f8582e3ea272782dc39c6c02e45 (diff)
downloadglibc-42675c6ff0e95346de8a2cbc066e14e0d6a856e4.zip
glibc-42675c6ff0e95346de8a2cbc066e14e0d6a856e4.tar.gz
glibc-42675c6ff0e95346de8a2cbc066e14e0d6a856e4.tar.bz2
Add an elf_ifunc_invoke interface so that architectures can implement
the ifunc resolver calls however they wish.
Diffstat (limited to 'sysdeps/sparc/sparc64/dl-plt.h')
-rw-r--r--sysdeps/sparc/sparc64/dl-plt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/sparc/sparc64/dl-plt.h b/sysdeps/sparc/sparc64/dl-plt.h
index ca2fe3b..ed8abfa 100644
--- a/sysdeps/sparc/sparc64/dl-plt.h
+++ b/sysdeps/sparc/sparc64/dl-plt.h
@@ -17,6 +17,9 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#ifndef _DL_PLT_H
+#define _DL_PLT_H
+
/* We have 4 cases to handle. And we code different code sequences
for each one. I love V9 code models... */
static inline void __attribute__ ((always_inline))
@@ -161,3 +164,5 @@ sparc64_fixup_plt (struct link_map *map, const Elf64_Rela *reloc,
__asm __volatile ("flush %0" : : "r" (insns));
}
}
+
+#endif /* dl-plt.h */