ELF files contain two structures to handle relocations:
Elf64_Rel:
typedef struct {
Elf64_Addr r_offset;
Uint64_t
r_info;
} Elf64_Rel;
and Elf64_Rela:
typedef struct {
Elf64_Addr r_offset;
uint64_t
r_info;
int64_t
r_addend;
} Elf64_Rela;
I want to take peek at the relocation entries but I'm not sure which one to use, the manual pages are quite crypt about this. Is there a specific usage for each?