Multiple fixes for 64 bit sections
commitd7a7c3769d0a1dcb8400258cd8adf78a8566de61
authormob <mob>
Mon, 27 Feb 2012 01:02:51 +0000 (26 19:02 -0600)
committermob <mob>
Mon, 27 Feb 2012 01:02:51 +0000 (26 19:02 -0600)
tree1333ad336c0626f41ec5690ea9e34c908c967d60
parent6e13c35334200e7ef918308aeb820404d7b35283
Multiple fixes for 64 bit sections

This changeset attempts to fix a few problems when giving using
the high 32bits of a 64bit section offset. There are likely more
issues (or perhaps regressions) lurking in the muck here. In general,
this moves a few data type declarations to use uplong.  Also, add
support for 64bit mingw32 building under cygwin.  Because native
types are used for 64 bit offsets, this won't fix challenges with
cross compiling from 32bit -> 64bit.

Tested under cygwin, against binary compiled with
-Wl,-Ttext=0xffffff8000000000

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