blob: 86afe55f088ea10e4d6c3ac008b90e8db4225eb8 [file] [log] [blame]
#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 + 1) * 16;
}
void *
sym2addr(Process *proc, struct library_symbol *sym) {
return sym->enter_addr;
}