grischka
a3ebdd0aeb
tccpe: support leading underscore for symbols
...
To make this the default, enable this line in libtcc.c:tcc_new:
#if defined(TCC_TARGET_PE) && 0
s->leading_underscore = 1;
and then recompile tcc and also libtcc1.a
2011-02-13 17:44:12 +01:00
grischka
69fe7585a2
tiny_libmaker: strip leading directory to avoid buffer overrun
...
The arhdr.ar_name has 16 bytes. Long object names esp. with
leading directory were causing a buffer overrun which was
detected by glibc.
2010-12-04 16:56:58 +01:00
grischka
86ffc48129
make: new lib/Makefile for libtcc1.a on more platforms
...
win32/64 cross-compilers now build libtcc1.a and install it
together with the windows headers in a 'win32' sub-directory
of TCCDIR.
2010-12-04 16:47:08 +01:00
grischka
9bd69bf49f
build: remove #include "config.h" from target dependent files
...
This is to make cross build of libtcc1.a easier.
2010-11-26 20:46:54 +01:00
grischka
9228842fa7
win32: register SEH in startup code (i386 only)
...
Needed to handle signal() etc. with msvcrt
2010-10-19 13:15:06 +02:00
Thomas Preud'homme
c1c4040d75
Explicit license in tiny_libmaker.c
...
Explicit the license in tiny_libmaker.c to LGPLv2. Confirmation of the
license of this file can be found at
http://lists.nongnu.org/archive/html/tinycc-devel/2010-07/msg00004.html
2010-10-07 10:43:22 +02:00
grischka
e6f43dd0c6
win32: sys/timeb.h use _ftime instead of _ftime32
2010-04-12 20:56:13 +02:00
unknown
27bcc8f583
tinylibmaker: On error situation tempfile was not removed
2010-04-03 11:31:38 +03:00
grischka
3aa26a794e
win32: adjust for mingw32 winapi packages
...
Note: the files in tcc/win32/include/winapi are now from the
mingw-w64 project, however with this fix using mingw32 winapi
should still work.
2010-01-26 22:18:03 +01:00
grischka
e20bf69ac5
win64: defined size_t and ptrdiff_t to unsigned long long
2010-01-14 20:59:43 +01:00
grischka
b0abcfde9d
win32: cleanup include
2010-01-14 20:59:43 +01:00
grischka
2341ee5142
tccpe: improve dllimport/export and use for tcc_add_symbol
2010-01-14 20:59:42 +01:00
grischka
bdb9387a74
win32: readme: add libtcc_test example
2010-01-14 20:59:41 +01:00
grischka
cda8c41ef3
win32: add size_t to _mingw.h
2009-12-20 01:54:38 +01:00
grischka
50b040ef83
win64: add tiny unwind data for setjmp/longjmp
...
This enables native unwind semantics with longjmp on
win64 by putting an entry into the .pdata section for
each compiled fuction.
Also, the function now use a fixed stack and store arguments
into X(%rsp) rather than using push.
2009-12-20 01:54:37 +01:00
grischka
7fa712e00c
win32: enable bounds checker & exception handler
...
exception handler borrowed from k1w1. Thanks.
2009-12-19 22:22:43 +01:00
grischka
1308e8ebcf
integrate x86_64-asm.c into i386-asm.c
...
Also, disable 16bit support for now as it causes bugs
in 32bit mode. #define I386_ASM_16 if you want it.
2009-12-19 22:16:20 +01:00
grischka
d79b867d55
win64: adjust for two args with setjmp(buf,ctx)
2009-12-19 22:16:17 +01:00
grischka
720a32ede4
win32: remove #define alloca from mingw headers
2009-12-01 17:58:39 +01:00
grischka
679f0794f8
win32: explain usage of mingw w32api package
2009-11-30 17:14:41 +01:00
grischka
a26bf10de3
win64: Use tcc's own assembler
...
Now that we have it thanks to Mr. Féret
2009-11-21 23:43:38 +01:00
grischka
697f9e305d
win64: fix bat
2009-08-24 13:28:02 +02:00
grischka
1df662c1b0
tccpe: load dll on the fly
2009-07-18 22:07:25 +02:00
grischka
97738d1ae9
win32: reformat examples, crt etc
2009-07-18 22:07:10 +02:00
grischka
fc977d56c9
x86-64: chkstk, alloca
2009-07-18 22:06:54 +02:00
grischka
c0fc0fa0c4
win64: add x64 target to build-tcc.bat
2009-07-18 22:06:46 +02:00
grischka
dc251a7d8d
win64: use new headers from mingw
2009-07-18 22:06:37 +02:00
grischka
06aed3d171
win64: update tiny_impdef, tiny_libmaker (Elf64)
2009-07-18 22:06:14 +02:00
grischka
ec4a350620
win32: guard va_list typedef
2009-06-17 02:11:40 +02:00
grischka
110a4edc15
drop alloca #define
...
(Because GNU's alloca.h unconditionally #undef's alloca)
Also, remove gcc specific sections in headers. and
instead change tests such that gcc does not use them.
2009-05-16 22:30:13 +02:00
grischka
bf8d8f5f3e
update Changelog, bump version: 0.9.25
2009-05-11 19:01:26 +02:00
grischka
ca4b4a52ad
fix build with msvc
2009-05-11 18:53:52 +02:00
grischka
5c6509578e
make tcc from tcc.c and libtcc from libtcc.c
2009-05-05 20:41:17 +02:00
grischka
5829791ffa
fix makefiles etc for subdirs
2009-04-18 15:08:03 +02:00
grischka
ea5e81bd6a
new subdirs: include, lib, tests
2009-04-18 15:08:03 +02:00
grischka
e8a52a8249
win32: readme.txt->tcc-win32.txt, update tcc-doc
2009-04-18 15:08:03 +02:00
grischka
c80f81c199
tiny_libmaker: fix function array overflow
2009-04-18 15:07:28 +02:00
grischka
78f288bc87
win32/build-tcc.bat: define CONFIG_SYSROOT
2008-11-30 03:16:43 +01:00
grischka
cd24bd05b4
get rid of a warning and fix .bat
2008-03-25 21:05:48 +00:00
grischka
2eaa1104f7
Checkin tiny_libmaker (ar replacement) by Timovj Lahde
2008-03-08 19:55:47 +00:00
grischka
5342b32eef
Switch to newer tccpe.c (includes support for resources)
2007-12-19 17:36:42 +00:00
grischka
2de1b2d14c
Some in-between fixes (See Changelog for details).
2007-11-25 22:14:35 +00:00
grischka
d778bde7f9
Import more changesets from Rob Landley's fork (part 2)
2007-11-21 17:16:31 +00:00
bellard
16559cd60c
update
2005-06-17 22:07:03 +00:00
bellard
fe9b1f60ce
win32 merge (grischka)
2005-04-17 13:15:54 +00:00
bellard
debf0234cc
added DECLARE_STDCALL_P (grischka)
2005-04-17 13:13:54 +00:00
bellard
58f6207abe
_controlfp fix (grischka)
2005-04-17 13:11:15 +00:00
bellard
5556cf1565
dos2unix
2005-04-17 13:10:37 +00:00
bellard
6144d43321
fib fix (grischka)
2005-04-17 13:10:22 +00:00
bellard
4821702fb4
win32 merge
2005-04-14 23:49:21 +00:00