aboutsummaryrefslogtreecommitdiff
path: root/tcc.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-05-09 23:09:55 +0200
committerMichael Matz <matz@suse.de>2016-05-09 23:17:47 +0200
commit9645b62a65986738e6b70d748890d73daf40508b (patch)
treeade2908d9f65ebd9c16edaba00e1c9e0a40a28bc /tcc.c
parent5e47b08dc80281e27f0cd7c15d0d91a2e1c0a636 (diff)
downloadtinycc-9645b62a65986738e6b70d748890d73daf40508b.tar.gz
tinycc-9645b62a65986738e6b70d748890d73daf40508b.tar.bz2
x86_64: Use addend on relocs
Traditional behaviour on x86-64 is to encode the relocation addend in r_addend, not in the relocated field (after all, that's the reason to use RELA relocs to begin with). Our linker can deal with both, other linkers as well. But using e.g. the GNU assembler one can detect differences (equivalent code in the end, but still a difference). Now there's only a trivial difference in tests/asmtest.S (having to do with ordering of prefixes).
Diffstat (limited to 'tcc.c')
0 files changed, 0 insertions, 0 deletions