aboutsummaryrefslogtreecommitdiff
path: root/tests/tcctest.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-09-29 16:57:30 +0200
committerMichael Matz <matz@suse.de>2016-12-15 17:47:12 +0100
commitb5669a952babf486f0f8beb1e0a52d9031b3ae84 (patch)
tree4416b8940c31525f7df4e866c1e8547d0db75713 /tests/tcctest.c
parent975c74c1f51679cfe62d1fd455344f12399fb51c (diff)
downloadtinycc-b5669a952babf486f0f8beb1e0a52d9031b3ae84.tar.gz
tinycc-b5669a952babf486f0f8beb1e0a52d9031b3ae84.tar.bz2
x86-64: relocation addend is 64bit
Some routines were using the wrong type (int) in passing addends, truncating it. This matters when bit 31 isn't set and the high 32 bits are set: the truncation would make it unsigned where in reality it's signed (happen e.g. on the x86-64 with it's load address at top-2GB).
Diffstat (limited to 'tests/tcctest.c')
0 files changed, 0 insertions, 0 deletions