mirror of
https://github.com/yasm/yasm
synced 2026-08-26 22:26:05 -04:00
elf: Add support for 64-bit PC-relative relocation.
svn path=/trunk/yasm/; revision=2207
This commit is contained in:
parent
6f329fb107
commit
0f373ef2ae
1 changed files with 1 additions and 0 deletions
|
|
@ -169,6 +169,7 @@ elf_x86_amd64_map_reloc_info_to_type(elf_reloc_entry *reloc)
|
|||
case 8: return (unsigned char) R_X86_64_PC8;
|
||||
case 16: return (unsigned char) R_X86_64_PC16;
|
||||
case 32: return (unsigned char) R_X86_64_PC32;
|
||||
case 64: return (unsigned char) R_X86_64_PC64;
|
||||
default: yasm_internal_error(N_("Unsupported relocation size"));
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue