Fix assumption of 32bit long on portions of Elf
commita0db7162af0f694c25b278984ac66a46fa099000
authorAndrew Mulbrook <andrew262@gmail.com>
Sat, 3 Mar 2012 17:10:15 +0000 (3 11:10 -0600)
committerAndrew Mulbrook <andrew262@gmail.com>
Sat, 3 Mar 2012 17:10:15 +0000 (3 11:10 -0600)
treec8a170b4bd5c7d5e2692bfc6a2bd19f0a796cdca
parent5775911dadef7c10eee8ee44db41c6aeb6b11e07
Fix assumption of 32bit long on portions of Elf

Modify tcc to accept convert full 64bits of specified text section
when converting on Win64. Write high bytes to the elf section address
as well. This allows creation of elf binaries located in offsets using
full 64 bit addresses.

Signed-off-by: Andrew Mulbrook <andrew262@gmail.com>
libtcc.c
tcc.h
tccelf.c