This website requires JavaScript.
be43c8e0ed
x86-64: Cast from 64bit pointer to long long must not generate movslq.
Shinichiro Hamaji
2009-04-16 01:32:16 +09:00
a9c78d04f2
win32: accept uppercase filename suffixes
grischka
2009-04-14 22:01:08 +02:00
b879ffa193
x86-64: There can be valid addresses which is greater than 0xc0000000.
Shinichiro Hamaji
2009-04-15 04:24:03 +09:00
de3f0a46fe
Fix for x86-64: The first and second arguments of memcpy must be pointers.
Shinichiro Hamaji
2009-04-15 04:19:24 +09:00
2e9b57b6d0
Fix silly typos in the previous change.
Shinichiro Hamaji
2009-04-14 01:30:39 +09:00
9fe28b610e
x86-64: Make ABI for long double compatible with GCC.
Shinichiro Hamaji
2009-04-14 01:12:29 +09:00
0e239e2ba5
Improve the test coverage: !val for float/double/long long f.
Shinichiro Hamaji
2009-04-13 04:02:52 +09:00
fcf2e5981f
x86-64: Combine buffers of sections before we call tcc_run().
Shinichiro Hamaji
2009-04-13 03:22:08 +09:00
830b7533c9
Generate PIC code so that we can create shared objects properly.
Shinichiro Hamaji
2009-04-13 00:27:04 +09:00
6c10429aa5
check for absolute include paths
grischka
2009-04-03 20:54:34 +02:00
29c8e1545a
get rid of "free_section problem" with private sections
grischka
2009-04-03 20:52:40 +02:00
c80f81c199
tiny_libmaker: fix function array overflow
grischka
2009-04-03 20:52:24 +02:00
5818945ef6
accept "restrict" in array-decl (STDC 199901)
grischka
2009-04-03 20:52:01 +02:00
0e015988cc
i386: apply "align=8 for doubles ..." for PE only
grischka
2009-04-03 20:51:37 +02:00
97072b3cd7
x86-64: Now TCC can create healthy shared objects from object files generated by GCC
Shinichiro Hamaji
2009-04-05 02:07:19 +09:00
754b0beb7d
x86-64 bug fix: Fix stab generation for x86-64.
Shinichiro Hamaji
2009-04-04 03:09:35 +09:00
e6db5f5fb6
x86-64 bug fix: Use stack with alignment just like 32bit environments.
Shinichiro Hamaji
2009-04-02 01:46:44 +09:00
06fa15fb99
x86-64: Save RDX and RCX before we use them as function parameters.
Shinichiro Hamaji
2009-04-02 01:40:00 +09:00
ebb874e216
Remove multiple definition error caused by combination of x86-64 and va_list.
Shinichiro Hamaji
2009-04-01 03:45:18 +09:00
6512d9e2ea
Add check for invalid numbers.
Shinichiro Hamaji
2009-04-01 02:44:49 +09:00
af6cbc48d1
Fix overrun in decl_initializer_alloc.
Shinichiro Hamaji
2009-04-01 02:22:20 +09:00
040ef000e4
Better DLL support on x86-64.
Shinichiro Hamaji
2009-03-31 22:17:36 +09:00
fe8f230ab6
First naive DLL support on x86-64.
Shinichiro Hamaji
2009-03-21 12:04:35 +09:00
b8a32d8d40
Generate PIC for addresses of symbols.
Shinichiro Hamaji
2009-03-20 20:34:58 +09:00
7db1e69df2
Suppress noisy pointer signed-ness warnings on x86-64.
Shinichiro Hamaji
2009-03-16 02:47:52 +09:00
006c907da7
Code cleaning: utilize vpushll().
Shinichiro Hamaji
2009-03-16 02:27:23 +09:00
4f056031f4
Support long long bitfields for all architectures.
Shinichiro Hamaji
2009-03-16 02:24:45 +09:00
62e73da612
A uint64 bug fix on x86-64
Shinichiro Hamaji
2009-03-15 14:50:38 +09:00
ae607280c5
Allow long long as a type of bitfields on x86-64.
Shinichiro Hamaji
2009-03-14 22:21:58 +09:00
4a8c2229ce
win32: allow user segments as writable & executable
grischka
2009-02-16 15:13:29 +01:00
3116744bdd
i386: align=8 for double and long long
grischka
2009-02-16 15:11:45 +01:00
b41fc95566
win32: fix for VC8Express compiler
grischka
2009-02-11 16:42:04 +01:00
00f0932760
tcc -E: preserve spaces (partial solution)
Kirill Smelkov
2009-01-18 16:52:09 +03:00
6213d4b4b6
string_test: we should always use 'unsigned int' for b
Kirill Smelkov
2009-01-18 14:22:19 +03:00
5a044b67bb
type_size function returned incorrect size
Alexander Egorenkov
2009-02-02 15:49:57 +01:00
64147b346b
fix constant optimization for unsigneds
grischka
2008-12-28 22:43:41 +01:00
7c3f19c079
fix data overflow with init_putv
grischka
2008-12-02 02:34:58 +01:00
aa8d22e38e
Add several test cases.
Shinichiro Hamaji
2008-12-02 03:22:57 +09:00
0a9873aa22
Add support of x86-64.
Shinichiro Hamaji
2008-12-02 03:19:25 +09:00
fb0ac27691
s/int/unsigned/ since GCC 4.3.2 produces code which doesn't stop.
Shinichiro Hamaji
2008-12-02 02:41:48 +09:00
1e776b29d3
Suport LDOUBLE_SIZE == 16 environment.
Shinichiro Hamaji
2008-12-02 01:29:45 +09:00
ba8c95a98d
silly bug fix: s/#ifdef PTR_SIZE == 4/#if PTR_SIZE == 4/
Shinichiro Hamaji
2008-12-01 02:57:11 +09:00
27d23342ea
Make tccelf.c 64bit ready.
Shinichiro Hamaji
2008-12-01 02:52:08 +09:00
c92daa02e4
One more s/int/long/
Shinichiro Hamaji
2008-12-01 02:22:59 +09:00
ce8d71edbc
Use int*2 instead of long*2 to hold double value.
Shinichiro Hamaji
2008-12-01 02:10:06 +09:00
2355fc7686
Use long instead of int to hold pointer values.
Shinichiro Hamaji
2008-12-01 02:07:25 +09:00
d6072d3703
Add __builtin_frame_address(0)
Shinichiro Hamaji
2008-12-01 01:51:34 +09:00
73a84cefda
Imported several macros required by x86-64
Shinichiro Hamaji
2008-11-30 08:38:49 +09:00
7dd792ef51
Introduce ElfW macro and ELFW to encapsulate the difference between Elf32_* and Elf64_*. Also, introduce ElfW_Rel and SHT_RELX for difference between REL and RELA.
Shinichiro Hamaji
2008-11-30 08:14:07 +09:00
76b02c2a03
Futher changes to casts
Daniel Glöckner
2008-11-20 22:52:35 +01:00
5fd6f7bd44
Fix get_tok_str wrt wide characters
Daniel Glöckner
2008-11-20 12:21:59 +01:00
deb410710c
Rewrote '?' for constants
Daniel Glöckner
2008-11-20 11:39:28 +01:00
1b599ea7f8
Cast parameter of '!' to _Bool
Daniel Glöckner
2008-11-20 11:37:46 +01:00
2d9b5e0bb8
Rewrote casts
Daniel Glöckner
2008-11-20 11:30:35 +01:00
83466c6151
line-numbers output for TCC -E
grischka
2008-11-24 20:29:29 +01:00
78f288bc87
win32/build-tcc.bat: define CONFIG_SYSROOT
grischka
2008-11-29 21:51:22 +01:00
7bebf1f59a
was hash, not link
grischka
2008-09-15 02:07:55 +02:00
7f51aa13e7
update changelog
grischka
2008-09-15 00:07:58 +02:00
a80acab4fc
Display error on statement expressions with complex return type
Daniel Glöckner
2008-09-11 21:04:22 +02:00
3783b33508
Fix bitfields with non-int types and in unions
Daniel Glöckner
2008-09-11 19:18:58 +02:00
43a34d354a
Force null pointer exception for code outside of a function
Daniel Glöckner
2008-09-11 19:17:40 +02:00
5a92536cea
Optimize arithmetic with pointer to value on stack + constant
Daniel Glöckner
2008-09-11 19:15:57 +02:00
e263ee3cbf
Fix gv for long longs
Daniel Glöckner
2008-09-05 21:08:48 +02:00
15e0dc08a6
Allow to use libgcc instead of libtcc1
Daniel Glöckner
2008-09-05 21:08:37 +02:00
256f6e6200
A prefix for default library/include search paths
Daniel Glöckner
2008-09-05 21:08:22 +02:00
e8039673ad
ARM related Makefile changes
Daniel Glöckner
2008-09-05 21:07:56 +02:00
12265da6cd
Runtime lib functions
Daniel Glöckner
2008-09-05 21:07:46 +02:00
2c657f6608
Set VT_LVAL_xxx flags for function arguments in gfunc_prolog (Daniel Glöckner)
Daniel Glöckner
2008-08-20 01:44:12 +02:00
8f7e3f325d
Patch for DESTDIR installation (Adam Sampson)
Adam Sampson
2008-05-25 00:36:21 +01:00
2c6cd08bcc
fix isidnum_table for CH_EOF (-1)
grischka
2008-05-10 06:07:55 +02:00
1300cec38c
free_section bugfix
grischka
2008-05-11 00:11:52 +02:00
f9bf48d643
release loaded dlls cleanly (Sam K)
grischka
2008-05-05 22:40:49 +00:00
96bd8f2b25
enable pe-output from libtcc (Shmuel Zeigerman)
grischka
2008-05-05 22:39:43 +00:00
f2698687fb
fix options in C scripts after -run
grischka
2008-04-27 18:50:35 +00:00
5247bbc2f0
fix stabstr with linked objects
grischka
2008-04-27 18:49:31 +00:00
0d598aca08
fix bogus relocations with TCC_OUTPUT_DLL
grischka
2008-04-27 18:48:19 +00:00
23594b6980
enable multiple states and fix minor memory leaks
grischka
2008-04-27 18:47:35 +00:00
f22e961f80
update manual, changelog
grischka
2008-03-31 19:50:58 +00:00
a327c7a552
added verbosity levels (-vv -vvv)
grischka
2008-03-31 19:49:14 +00:00
4d9aaacc85
Accept standard input as an inputstream (Hanzac Chen)
grischka
2008-03-31 18:42:56 +00:00
cd24bd05b4
get rid of a warning and fix .bat
grischka
2008-03-25 21:05:48 +00:00
9bcc0b970b
Add -soname linker option (Marc Andre Tanner)
grischka
2008-03-25 21:04:47 +00:00
88b3cb570e
Comply to c89 compilers other than gcc (Hanzac Chen)
grischka
2008-03-25 20:58:37 +00:00
6ed868c51c
Enable -B option for library path on win32
grischka
2008-03-08 20:00:56 +00:00
e2c89576c7
Fix 'tcc -static' with recent glibc
grischka
2008-03-08 19:58:57 +00:00
c6537d11cb
Get rid of one warning
grischka
2008-03-08 19:57:26 +00:00
2eaa1104f7
Checkin tiny_libmaker (ar replacement) by Timovj Lahde
grischka
2008-03-08 19:55:47 +00:00
265dddbecf
Udated and cleaned up TODO.
grischka
2008-01-16 22:33:56 +00:00
3667408a57
Just warn about unknown directives, define __STDC_VERSION__=199901L
grischka
2008-01-16 20:16:35 +00:00
5342b32eef
Switch to newer tccpe.c (includes support for resources)
grischka
2007-12-19 17:36:42 +00:00
adb1456472
Handle backslashes within #include, #error, #warning
grischka
2007-12-17 19:35:15 +00:00
6c96c41ee4
Import changesets (part 4) 428,457,460,467: defines for openbsd etc.
grischka
2007-12-16 18:24:44 +00:00
f466577673
Disable singnedness warnings with newer gcc.
grischka
2007-12-13 19:17:45 +00:00
34140dd627
Use _WIN32 for a windows hosted tcc and define it for the PE target.
grischka
2007-12-13 19:07:19 +00:00
b0d40c12da
tiny_impdef.c - converted to LF line-endings (and slight cleanup)
grischka
2007-12-09 18:55:18 +00:00
f99d3de221
Import 409,410: ARM EABI by Daniel Glckner
grischka
2007-12-04 20:38:09 +00:00
2de1b2d14c
Some in-between fixes (See Changelog for details).
grischka
2007-11-25 22:14:35 +00:00
2bcb964694
Fixed: - Hanging tcc -E - Crashes witn global 'int g_i = 1LL;' - include & lib search paths on win32 Added quick build batch file for mingw Reverted case label optimization (See Changelog for details).
grischka
2007-11-25 22:13:08 +00:00
3e8b9e6d10
New files: alloca86.S alloca86-bt.S
grischka
2007-11-23 00:03:03 +00:00
d778bde7f9
Import more changesets from Rob Landley's fork (part 2)
grischka
2007-11-21 17:16:31 +00:00