aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/linux-gnu/alpha/plt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/linux-gnu/alpha/plt.c')
-rw-r--r--sysdeps/linux-gnu/alpha/plt.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/linux-gnu/alpha/plt.c b/sysdeps/linux-gnu/alpha/plt.c
new file mode 100644
index 0000000..a626d59
--- /dev/null
+++ b/sysdeps/linux-gnu/alpha/plt.c
@@ -0,0 +1,9 @@
+#include <gelf.h>
+#include "ltrace.h"
+#include "elf.h"
+
+GElf_Addr
+arch_plt_sym_val (struct ltelf *lte, size_t ndx, GElf_Rela *rela)
+{
+ return lte->plt_addr + ndx * 12 + 32;
+}