forked from Imagelibrary/binutils-gdb
Experimental implementation of RELR-style relocations.
For x86-64 only. Instead of R_X86_64_RELATIVE relocations, we write the offsets of the relocation targets to a new section, .relr.dyn, with section type SHT_RELR.
This commit is contained in:
@@ -180,6 +180,12 @@ struct Rela_data
|
||||
typename Elf_types<size>::Elf_Swxword r_addend;
|
||||
};
|
||||
|
||||
template<int size>
|
||||
struct Relr_data
|
||||
{
|
||||
typename Elf_types<size>::Elf_Addr r_offset;
|
||||
};
|
||||
|
||||
// MIPS-64 has a non-standard layout for relocations.
|
||||
|
||||
struct Mips64_rel_data
|
||||
|
||||
Reference in New Issue
Block a user