blob: 635b4ce9cbd1214a857f4ff535992047aaa6d0b0 [file] [log] [blame]
Juan Cespedesd914a202004-11-10 00:15:33 +01001#include <gelf.h>
2#include "ltrace.h"
3#include "elf.h"
4
5GElf_Addr
6arch_plt_sym_val (struct ltelf *lte, size_t ndx, GElf_Rela *rela)
7{
8 return lte->plt_addr + 20 + ndx * 12;
9}