diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-10-17 18:23:29 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-17 18:23:29 -0700 |
commit | 64fa04f0199cdab91ee5dea3d29dd8a6970edde3 (patch) | |
tree | 2574ea26a5b5e1464e9d11d394063473d8a7bf6b /disasm.c | |
parent | e41b69beaf51a725a98b1ba4480751333b24a06f (diff) | |
download | nasm-64fa04f0199cdab91ee5dea3d29dd8a6970edde3.tar.gz nasm-64fa04f0199cdab91ee5dea3d29dd8a6970edde3.tar.bz2 nasm-64fa04f0199cdab91ee5dea3d29dd8a6970edde3.zip |
ELF64: use the RELA addend field instead of relying on the code stream
The x86-64 ABI wants the symbol addend to reside in the addend field
of the RELA relocation, not in the code stream. Apparently it's
something one can get away with, but the linker would still botch it
for some cases. Change it so we pass the proper output and emit zero
into the code stream.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'disasm.c')
0 files changed, 0 insertions, 0 deletions