aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/linux-gnu/arm/plt.c
blob: 635b4ce9cbd1214a857f4ff535992047aaa6d0b0 (plain)
1
2
3
4
5
6
7
8
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 + 20 + ndx * 12;
}