This website requires JavaScript.
bc48cc1edb
fix sizeof(array + integer)
Daniel Glöckner
2009-10-08 00:24:21 +02:00
5b113f3ee3
win32: handle __declspec(dllimport)
grischka
2009-11-13 17:14:05 +01:00
dd70d19267
#define __TINYC__ = version-number
grischka
2009-05-25 02:07:30 +02:00
5dadff3de5
x86-64: Fix stab debug information.
Shinichiro Hamaji
2009-07-19 06:42:23 +09:00
3a1380120d
x86-64: change the type of size_t and ptrdiff_t.
Shinichiro Hamaji
2009-07-19 04:26:19 +09:00
834b782a9c
tccpe: fill checksum header field
grischka
2009-07-23 19:19:23 +02:00
569c20f104
tccpp: fix quirk with cached headers and #else
grischka
2009-07-23 19:21:14 +02:00
1026ca5888
fix "symbol not defined" if symbol has offset 0
grischka
2009-07-10 16:29:10 +01:00
d923e652f2
tccpp: avoid double free with macro_ptr_allocated (after errors)
grischka
2009-06-19 15:12:58 +02:00
0d34c2136e
tccgen: free inline functions correctly
grischka
2009-07-14 04:46:35 +02:00
697f9e305d
win64: fix bat
grischka
2009-08-24 02:14:19 +02:00
b08dfb8273
tcc: optionally build using libtcc
grischka
2009-07-18 22:08:01 +02:00
f88350b611
fix some warning
grischka
2009-07-18 22:07:51 +02:00
c998985c74
cleanup: constify some global data
grischka
2009-07-18 22:07:42 +02:00
94ae3984b0
tccpe: set tcc_lib_path from DLL
grischka
2009-07-18 22:07:33 +02:00
1df662c1b0
tccpe: load dll on the fly
grischka
2009-07-18 22:07:25 +02:00
9fda4f4248
win32: treat long double as double
grischka
2009-07-18 22:07:17 +02:00
97738d1ae9
win32: reformat examples, crt etc
grischka
2009-07-18 22:07:10 +02:00
bb5e0df79a
x86-64: fix load() for const pointers: (void*)-2
grischka
2009-07-18 22:07:03 +02:00
fc977d56c9
x86-64: chkstk, alloca
grischka
2009-07-18 22:06:54 +02:00
c0fc0fa0c4
win64: add x64 target to build-tcc.bat
grischka
2009-07-18 22:06:46 +02:00
dc251a7d8d
win64: use new headers from mingw
grischka
2009-07-18 22:06:37 +02:00
06aed3d171
win64: update tiny_impdef, tiny_libmaker (Elf64)
grischka
2009-07-18 22:06:14 +02:00
09ac9faf59
win64: align jmp_buf
grischka
2009-07-18 22:06:07 +02:00
035918ef2f
win64: fix pointer <-> unsigned long typecast issues
grischka
2009-07-18 22:05:58 +02:00
459875796b
pe32+ target: adjust x86_64-gen.c
grischka
2009-07-18 22:05:49 +02:00
3ba1532cfb
pe32+ target: add to makefile
grischka
2009-07-18 22:05:40 +02:00
3ea4acb9b9
pe32+ target: add in various #define's
grischka
2009-07-18 22:05:27 +02:00
719ba918dd
tccpe: use more official structs
grischka
2009-07-06 21:35:35 +02:00
f366cb20fe
tccpe: support pe32+ (x86_64) target
grischka
2009-07-06 21:35:25 +02:00
fe8def3303
tccpe: use ElfW macros
grischka
2009-07-06 21:34:49 +02:00
dcfad3af49
tccpe: get rid of kludgy export-symbol sort
grischka
2009-07-06 21:34:37 +02:00
370cdeb628
tccpe: build IAT vector with with -run too
grischka
2009-07-06 21:34:22 +02:00
bed17847bd
cleanup: stop abuse of sym->c for #define tokenstreams
grischka
2009-07-06 21:16:41 +02:00
d0b432ab38
cleanup: stop abuse of sym->r for inline functions
grischka
2009-06-29 20:14:53 +01:00
5e83b64dae
cleanup: put prototypes in front of libtcc.c
grischka
2009-07-06 21:13:20 +02:00
85e481b66e
pp: return newline after directive
grischka
2009-07-06 21:12:45 +02:00
fcdb663dde
pp: simplify pasting, enable L ## number
grischka
2009-07-06 21:12:18 +02:00
045cff28fe
fix asmtest (somehow), update Makefiles
grischka
2009-07-06 21:11:19 +02:00
0085c648f6
bcheck: restore malloc hooks when done
grischka
2009-07-06 21:10:14 +02:00
c93ddac9aa
configure: support DESTDIR for RPM packagers etc.
grischka
2009-06-30 18:02:00 +02:00
ec4a350620
win32: guard va_list typedef
grischka
2009-06-17 02:11:40 +02:00
c4b7e77bbe
accept option -x <lang>
grischka
2009-06-17 02:11:27 +02:00
610fd47510
win32: structure return GCC compatible (ret 4 with cdecl)
grischka
2009-06-17 02:11:13 +02:00
ec54c34b9e
error messages: print "error: ..."
grischka
2009-06-17 02:10:56 +02:00
e4ae77c7bb
tcc_preprocess: add gcc-style include-depth flags
grischka
2009-06-17 02:10:42 +02:00
956b4beec1
incompatible function ptr assignment: just warn
grischka
2009-06-17 02:10:24 +02:00
6a004ed19f
allow redefinition of func_old_type functions
grischka
2009-06-17 02:09:52 +02:00
c3701df16c
trying to fix the bug of unclean FPU st(0)
Soloist Deng
2009-06-08 19:26:19 +02:00
a342bbadc8
use static declaration from prototype
grischka
2009-06-17 02:09:20 +02:00
69fdb57edd
unions: initzialize only one field
grischka
2009-06-17 02:09:07 +02:00
bba515afe5
tccelf: accept BSS symbol with same name from other module
grischka
2009-06-17 02:08:54 +02:00
e7297581fc
pass constness from structs to members
Sam Watkins
2009-06-16 04:26:44 +08:00
dca2b15df4
x86-64: Align return value of alloca by 16.
Shinichiro Hamaji
2009-06-11 08:33:41 +09:00
8ea8305199
x86-64: Add alloca.
Shinichiro Hamaji
2009-06-09 03:23:08 +09:00
110a4edc15
drop alloca #define
grischka
2009-05-16 22:30:13 +02:00
68310299b6
ulibc: #define TCC_UCLIBC and load elf_interp
grischka
2009-05-16 22:29:40 +02:00
bf8d8f5f3e
update Changelog, bump version: 0.9.25
grischka
2009-05-11 19:01:26 +02:00
aed6a7cb60
fix "cached include" optimization
grischka
2009-05-11 18:55:16 +02:00
530b77e365
ARM: fix big immediate offset construction
Daniel Glöckner
2009-05-07 00:23:06 +02:00
ca4b4a52ad
fix build with msvc
grischka
2009-05-11 18:53:52 +02:00
03c787d6ce
fix unused/uninitalized warnings
grischka
2009-05-11 18:46:39 +02:00
40f5ce002e
fix warnings with tcc_add/get_symbol
grischka
2009-05-11 18:46:25 +02:00
67aebdd5b7
enable making tcc using libtcc
grischka
2009-05-11 18:46:02 +02:00
0a35f9d66e
move static prototypes to libtcc.c
grischka
2009-05-11 18:45:56 +02:00
f9181416f6
move some global variables into TCCState
grischka
2009-05-11 18:45:44 +02:00
5c6509578e
make tcc from tcc.c and libtcc from libtcc.c
grischka
2009-05-05 20:41:17 +02:00
b8f6e1ae30
move minor things from libtcc.c to other files
grischka
2009-05-05 20:30:39 +02:00
92204e8818
move global variables to libtcc.c
grischka
2009-05-05 20:30:13 +02:00
9dc9cbf319
move libtcc interface and helper functions to libtcc.c
grischka
2009-05-05 20:18:53 +02:00
0d1ed74102
move parser/generator to tccgen.c
grischka
2009-05-05 20:18:10 +02:00
805990b94e
move preprocessor to tccpp.c
grischka
2009-05-05 20:17:49 +02:00
ae37bd5abc
move declarations to tcc.h
grischka
2009-05-05 20:17:26 +02:00
a93bcdffae
new files: tcc.h libtcc.c tccpp.c tccgen.c
grischka
2009-05-05 20:17:11 +02:00
15626621fb
cleanup makefiles
grischka
2009-04-19 21:24:32 +02:00
e9e89ad699
enable backtrace only when it's supported
grischka
2009-04-18 18:21:38 +02:00
859da934e0
Return value of exit should be void.
Shinichiro Hamaji
2009-04-18 23:55:51 +09:00
48ae0c0468
Fixes for tests/Makefile.
Shinichiro Hamaji
2009-04-18 23:53:25 +09:00
5829791ffa
fix makefiles etc for subdirs
grischka
2009-04-18 14:31:35 +02:00
ea5e81bd6a
new subdirs: include, lib, tests
grischka
2009-04-18 14:28:45 +02:00
e8a52a8249
win32: readme.txt->tcc-win32.txt, update tcc-doc
grischka
2009-04-18 14:20:27 +02:00
eca1fbaf92
mute strange difference in tcctest
grischka
2009-04-18 13:30:12 +02:00
b56f956247
libtcc: add support to be build as DLL
grischka
2009-04-18 13:17:38 +02:00
d165e87340
libtcc: new api tcc_set_lib_path
grischka
2009-04-18 13:17:27 +02:00
73ba078d2f
tcc_relocate: return error and remove unused code
grischka
2009-04-18 13:14:07 +02:00
d36fea34e3
Call relocate_sym() before we return the offset, so user doesn't need to check the return value twice.
Shinichiro Hamaji
2009-04-18 17:02:46 +09:00
dd5630ff95
tcc -E: fix pasting empty tokens
grischka
2009-04-17 22:44:42 +02:00
0f0ed4a8bf
tcc -E: preserve spaces, alternative solution
grischka
2009-04-17 22:44:08 +02:00
90697c4c56
CONFIG_TCC_STATIC: add dummy for dlclose
grischka
2009-04-17 22:32:54 +02:00
d62301b050
avoid warning uninitialized
grischka
2009-04-17 22:30:49 +02:00
9a7173bf69
x86-64: Fix tcc -run. We need extra memory for PLT and GOT.
Shinichiro Hamaji
2009-04-17 10:17:14 +09:00
e6ba81b012
get rid of 8 bytes memory leak
grischka
2009-04-16 23:25:25 +02:00
b1697be691
change tcc_add/get_symbol to use void*
grischka
2009-04-16 21:50:43 +02:00
795f67428e
alternative int tcc_relocate(TCCState *s1, void *ptr);
grischka
2009-04-16 22:03:03 +02:00
9a8b2912ed
TOK_builtin_malloc: alternative solution
grischka
2009-04-16 19:32:59 +02:00
742cf05875
x86-64: Define make variable TARGET so that test2 and test3 use correct flag.
Shinichiro Hamaji
2009-04-17 01:22:34 +09:00
85d016b507
x86-64: Remove code for debug print. Now, we concat buffers before relocation. So this only happens when users try creating >2GB binary.
Shinichiro Hamaji
2009-04-17 01:06:21 +09:00
39a4b859d4
x86-64: Fix cast from integers to pointers.
Shinichiro Hamaji
2009-04-17 01:01:23 +09:00
51a7f163ad
Work around for the issue TCC doesn't handle -2147483648 properly.
Shinichiro Hamaji
2009-04-16 02:41:24 +09:00
83fd36333a
Fixes for issues I've just found/introduced to x86 TCC.
Shinichiro Hamaji
2009-04-16 02:34:59 +09:00