diff options
author | Peter Johnson <peter@tortall.net> | 2009-07-21 06:49:44 +0000 |
---|---|---|
committer | Peter Johnson <peter@tortall.net> | 2009-07-21 06:49:44 +0000 |
commit | 0f373ef2ae19766bb62e05d901779f80826e6a1e (patch) | |
tree | 4c9a49bf1876373020ed5c8dbd44c999d2b78415 /modules | |
parent | 6f329fb10706d1c26fbddedcfd5d1bb8f9a330e9 (diff) | |
download | yasm-0f373ef2ae19766bb62e05d901779f80826e6a1e.tar.gz |
elf: Add support for 64-bit PC-relative relocation.
svn path=/trunk/yasm/; revision=2207
Diffstat (limited to 'modules')
-rw-r--r-- | modules/objfmts/elf/elf-x86-amd64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/objfmts/elf/elf-x86-amd64.c b/modules/objfmts/elf/elf-x86-amd64.c index bdaf82fa..23675d64 100644 --- a/modules/objfmts/elf/elf-x86-amd64.c +++ b/modules/objfmts/elf/elf-x86-amd64.c @@ -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 { |