Commit graph

  • b2f5ee9b2d Force const. expr. in expr_cond outside function Thomas Preud'homme 2011-07-30 22:57:53 +02:00
  • 339f961c11 fixed Makefile test targets Joe Soroka 2011-07-22 02:12:49 -07:00
  • 9b52e16a50 re-added negative-array-size testcase and fixed fix for it Joe Soroka 2011-07-22 02:09:28 -07:00
  • d7d8458888 Revert "better constant handling for expr_cond" grischka 2011-07-16 15:53:30 +02:00
  • adc80009c8 elf.h: define SHF_MERGE etc. grischka 2011-07-14 19:35:20 +02:00
  • 8d107d9ffd win64: va_arg with structures grischka 2010-12-17 13:15:01 +01:00
  • aa80e5b1ff tccpe: cleanup ELFW() macros etc. grischka 2011-07-14 19:23:04 +02:00
  • d483ab322f tccrun: win32: improve exception handler grischka 2010-09-15 13:43:40 +02:00
  • 08083ddb21 tccrun: win32: improve rt_get_caller_pc grischka 2010-09-15 13:43:25 +02:00
  • d59bd8be8e tccrun: rt_printline: fix no-stabs case grischka 2010-09-15 13:43:09 +02:00
  • af83993810 tccrun: improve rt_printline output format grischka 2010-09-15 13:42:52 +02:00
  • df4c0892f3 tccrun: win64: add unwind function table for dynamic code grischka 2011-07-14 19:09:49 +02:00
  • 232650f8b3 tccgen: reset aligned attribute for next type grischka 2010-09-15 13:25:19 +02:00
  • 5280293d6b make: create native tcc from separate objects grischka 2011-07-14 18:45:37 +02:00
  • 4ccb5662cb Fix array_test: move params to local vars Thomas Preud'homme 2011-07-12 15:10:59 +02:00
  • 45184e01d8 win32: add -Wl,--stack=xxx switch grischka 2011-07-11 18:47:16 +02:00
  • 7b573dc239 win32/include: enable _timezone etc variables. grischka 2011-07-11 18:44:47 +02:00
  • 436c1a734f allow defining sysroot at compile-time Joe Soroka 2011-07-11 00:20:48 -07:00
  • c71798c376 handle arrays with a flexible member but no initializer Joe Soroka 2011-07-11 00:18:36 -07:00
  • cd3d1a45f3 better constant handling for expr_cond Joe Soroka 2011-07-11 00:00:47 -07:00
  • 38756b506f fix self-referential token pasting Joe Soroka 2011-07-08 02:51:06 -07:00
  • 5cf5871aaf Use CONFIG_TCC_LDDIR for ld.so on all linux archs Thomas Preud'homme 2011-07-08 11:16:34 +02:00
  • 13121e220c Fix problem spotted in <4E15F966.4090102@gmx.de> Thomas Preud'homme 2011-07-08 10:51:26 +02:00
  • d01f65ef93 fix end-of-scope for self-referential macros Joe Soroka 2011-07-08 00:55:34 -07:00
  • f8656fbc3c Remove useless changes from 31ca000d in configure Thomas Preud'homme 2011-07-07 15:32:20 +02:00
  • 27a428cd0f Make ex1.c and ex4.c be executable on any systems Thomas Preud'homme 2011-07-07 12:17:04 +02:00
  • a03346c06e Document in README that ex4.c can be executed. Thomas Preud'homme 2011-07-07 12:15:43 +02:00
  • 571465d32b Revert "Make examples' shebang use target tcc bindir path" Thomas Preud'homme 2011-07-07 12:14:08 +02:00
  • 4d6a4a26e0 Add configuration of include subdirectories Thomas Preud'homme 2011-07-07 10:36:38 +02:00
  • a6775fc154 Introduce tcc_split_path_component for 31ca000d Thomas Preud'homme 2011-07-06 23:32:55 +02:00
  • ca6ff4fada Free extra_libdir_str after use. Thomas Preud'homme 2011-07-06 10:26:25 +02:00
  • 38de06e334 Fix commit 31ca000d Thomas Preud'homme 2011-07-05 10:47:32 +02:00
  • 31ca000d72 Add multiarch dirs to linker search path Thomas Preud'homme 2011-07-05 10:47:32 +02:00
  • cb2138f8b0 Make examples' shebang use target tcc bindir path Thomas Preud'homme 2011-06-18 00:24:47 +02:00
  • 3511e6e2a8 Default to create progs with symbols (incl. debug) Thomas Preud'homme 2011-06-17 22:22:04 +02:00
  • 330d2ee0fa Update Changelog Thomas Preud'homme 2011-05-17 23:38:39 +02:00
  • eb152022a0 make test work when LIBTCC1 not defined Thomas Preud'homme 2011-05-14 16:21:45 +02:00
  • c449ef2e1f tcc-doc: remove obsolete '-o option must also be given' grischka 2011-05-17 21:55:05 +02:00
  • 28a5b702f4 Fix calling ARM EABI functions returning big structures Daniel Glöckner 2011-05-17 02:24:45 +02:00
  • 8123e334e9 Support scratchbox, Nokia N900 and qemu arm archs Thomas Preud'homme 2011-04-20 16:32:08 +02:00
  • 66d992d883 Remove unused variables Thomas Preud'homme 2011-05-16 14:54:22 +02:00
  • ee06ef9dd3 Remove unused variables Thomas Preud'homme 2011-05-16 14:15:32 +02:00
  • db9d5f0fa4 Improve weak aliases handling Thomas Preud'homme 2011-05-16 13:49:08 +02:00
  • 921f002a6d make clean work when LIBTCC1 not defined Thomas Preud'homme 2011-05-14 16:21:45 +02:00
  • 7391cf01a7 fix spurious vstack-leak warnings on error Joe Soroka 2011-05-02 00:05:36 -07:00
  • 48d81a796e libtcc.c: report vstack "leaks" only if compile succeeded Joe Soroka 2011-04-14 01:02:42 -07:00
  • 2b7a8eb8f5 use of TOK_alloca breaks cross compiler build Joe Soroka 2011-04-12 00:17:08 -07:00
  • 46e2dd7c32 tcctok.h: fix ifdef target/host confusion Joe Soroka 2011-04-12 00:11:47 -07:00
  • 812781cd11 simplify/rollback VLA pointer subtraction Joe Soroka 2011-04-11 23:39:27 -07:00
  • 1b0f42f8ad update documentation to reflect VLA changes Joe Soroka 2011-04-09 23:41:16 -07:00
  • 1b8c094f39 remove no-longer-necessary naive fix for vla vstack leak Joe Soroka 2011-04-09 23:04:01 -07:00
  • c85f77de70 prevent internal segfault on apparent VLA at file scope Joe Soroka 2011-04-09 22:59:35 -07:00
  • 1446b543ae VLA fix [3/3]: store VLA sizeofs in anonymous runtime stack vars Joe Soroka 2011-04-09 22:52:25 -07:00
  • 7c7ca3c6aa VLA fix [2/3]: removed VT_ARRAY from VT_VLA types Joe Soroka 2011-04-08 01:09:39 -07:00
  • cb2fa5eab9 VLA fix [1/3]: added testcase demonstrating VLA bug Joe Soroka 2011-04-08 01:07:17 -07:00
  • 174d61a56e move a comment to its correct location Joe Soroka 2011-04-08 00:46:32 -07:00
  • b714af0405 add naive workaround for VLA vstack leak Joe Soroka 2011-04-08 00:44:01 -07:00
  • 6eb97c70b7 VLA leaks vstack. added warning to detect future leaks Joe Soroka 2011-04-08 00:41:55 -07:00
  • c94f80502e VLA bcheck works via bound alloca; add test, remove warning Joe Soroka 2011-04-06 15:27:45 -07:00
  • 810aca9e68 clarify post_type() VT_STORAGE handling by moving it out Joe Soroka 2011-04-06 12:08:50 -07:00
  • ace0f7f259 re-apply VLA by Thomas Preud'homme Joe Soroka 2011-04-06 09:17:03 -07:00
  • 17571298f3 handle c99 flexible array members less hackily Joe Soroka 2011-03-18 17:50:42 -07:00
  • 06a7c415a9 revert complicated & broken flexible array member handling Joe Soroka 2011-03-18 17:47:35 -07:00
  • 4062d787da sizeof(struct with "flexible array member") is wrong Joe Soroka 2011-03-18 17:45:43 -07:00
  • 0b8aa909a3 fix c99 for-loop init decl scope (thanks: grischka) Joe Soroka 2011-03-08 15:19:54 -08:00
  • 9ff91d4c6f clarify support for functions returning an array (try#2) Joe Soroka 2011-03-08 15:12:09 -08:00
  • 91163f167e revert last commit. fails "make test" Joe Soroka 2011-03-08 14:58:02 -08:00
  • 31fe1cc62b clarify support for functions returning an array Joe Soroka 2011-03-08 14:13:08 -08:00
  • 5eb82755db support c99 for-loop init decls (2nd attempt) Joe Soroka 2011-03-08 13:36:04 -08:00
  • 7fc2eee55c partially revert e23194a Joe Soroka 2011-03-08 13:22:48 -08:00
  • b3a8eed49e revert last 3 commits. will find better way. Joe Soroka 2011-03-08 12:56:13 -08:00
  • 2d292e69a1 small change to previous whitespace-only commit Joe Soroka 2011-03-08 09:26:36 -08:00
  • 545a37b306 some indentation made prev patch pretty; removed it Joe Soroka 2011-03-08 01:59:50 -08:00
  • 89059f94c0 refactor post_type() to be explicit about its recursion Joe Soroka 2011-03-08 01:47:31 -08:00
  • 772b302187 added a note clarifying post_type() recursion Joe Soroka 2011-03-08 01:33:17 -08:00
  • 585027aa96 tccelf: allow multiply defined weak symbols Joe Soroka 2011-03-07 12:18:54 -08:00
  • e23194a1fa support c99 for-loop init decls Joe Soroka 2011-03-07 11:28:31 -08:00
  • 4fbe3cda33 use new weaken_symbol() to fix another real-world corner case Joe Soroka 2011-03-07 01:05:09 -08:00
  • 8bcb2ae1b2 factor out symbol weakening into new function Joe Soroka 2011-03-07 01:02:23 -08:00
  • 0f0c2d9c02 weak redefinition of a symbol should weaken the original Joe Soroka 2011-03-07 00:25:27 -08:00
  • 38cbb40e90 __typeof(t) should not include storage modifiers of t Joe Soroka 2011-03-06 22:32:35 -08:00
  • 5d55647a3c tccpp: fix problem in preprocess_skip with empty # grischka 2011-03-06 19:13:12 +01:00
  • c27e76aa2a unlink outfile first Changming Xu 2011-03-03 21:09:18 +08:00
  • c93eca4fe4 tccgen: handle __attribute((alias("target"))) Joe Soroka 2011-03-03 01:58:45 -08:00
  • ce8c1886a5 collapse branch in decl(), making way for next patch Joe Soroka 2011-03-03 01:07:36 -08:00
  • 3beb383236 handle post-asm-label attributes on variables Joe Soroka 2011-03-03 00:55:02 -08:00
  • 823f832630 tcc: fix weak attribute handling Joe Soroka 2011-03-02 13:31:09 -08:00
  • 684723488d Replace comment by a blank Changming Xu 2011-03-01 09:19:43 +08:00
  • 185fba4189 tcc -E: append a ' ' after subst Changming Xu 2011-02-27 10:15:15 +08:00
  • 1b85b55059 i386-asm: support "pause" opcode Joe Soroka 2011-02-24 09:38:13 -08:00
  • bec84fa00a tccasm: support alternate .type syntaxes Joe Soroka 2011-02-24 09:24:02 -08:00
  • 15b8a57096 tccpp: treat gas comments in .S files as raw text, not tokens Joe Soroka 2011-02-23 15:13:08 -08:00
  • 85642f887c fix warning for tcctest.c introduced with my last commit Jaroslav Kysela 2011-02-22 13:55:21 +01:00
  • ab73c9bc4e fix another static struct init issue (arrays with unknown size at end) Jaroslav Kysela 2011-02-22 11:26:45 +01:00
  • dbefae52b0 Fix complex static initializers (handle additional '}' and '{' brackets) Jaroslav Kysela 2011-02-22 10:06:20 +01:00
  • a3ebdd0aeb tccpe: support leading underscore for symbols grischka 2011-02-13 17:41:05 +01:00
  • 11b2d33523 Add support of asm label for variables. Thomas Preud'homme 2011-02-07 23:43:18 +01:00
  • 32a682b88f Fix fct asm label: only valid for declaration Thomas Preud'homme 2011-02-07 22:42:38 +01:00
  • c23400278a Fix incorrect use of basic type as bitflags. Thomas Preud'homme 2011-02-07 23:46:20 +01:00
  • cf36410e30 Complain for static fct declared w/o file scope Thomas Preud'homme 2010-04-13 21:08:37 +02:00