Commit Graph

  • 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
  • 3b4b3b75a6 revert "update VT_STRUCT_SHIFT for new VT_VLA" Joe Soroka 2011-02-04 17:54:08 -08:00
  • db560e9439 Revert "Implement C99 Variable Length Arrays" Thomas Preud'homme 2011-02-05 02:31:45 +01:00
  • 38f6467c06 Revert "Reorder increasingly VT_* constants in tcc.h" Thomas Preud'homme 2011-02-05 02:31:27 +01:00
  • c1b7267a2f Revert "Make TOK_alloca available for x86-64" Thomas Preud'homme 2011-02-05 02:31:24 +01:00
  • 4b8470f3ae Revert "Disable C99 VLA when alloca is unavailable." Thomas Preud'homme 2011-02-05 02:31:11 +01:00
  • b0c50fbd4d update VT_STRUCT_SHIFT for new VT_VLA Joe Soroka 2011-02-04 14:33:38 -08:00
  • 2775173d4d fix crash with get_tok_str() in skip() grischka 2011-01-20 20:17:24 +01:00
  • e3e5d4ad7a Disable C99 VLA when alloca is unavailable. Thomas Preud'homme 2011-02-04 15:19:54 +01:00
  • af26ac56bf Make TOK_alloca available for x86-64 Thomas Preud'homme 2011-02-04 13:25:38 +01:00
  • 7f00523e2e Reorder increasingly VT_* constants in tcc.h Thomas Preud'homme 2011-02-01 23:55:17 +01:00
  • a5a50eaafe Implement C99 Variable Length Arrays Thomas Preud'homme 2011-01-15 17:50:55 +01:00
  • d35a3ac375 Correct Changelog wrt. to fix attribution Thomas Preud'homme 2011-02-04 01:49:39 +01:00
  • db6fcce78f tcc: add sysinclude path with -B, like gcc does Joe Soroka 2011-02-02 00:00:12 -08:00
  • e939c4072c add -isystem cmdline option Joe Soroka 2011-02-01 23:32:53 -08:00
  • b88677454b tcctest: plugged memleak (was polluting valgrind reports) Joe Soroka 2011-02-01 16:05:57 -08:00
  • 0d9376da70 tccasm: accept bracketed offset expressions Joe Soroka 2011-02-01 15:53:48 -08:00
  • 47b4cf22cd tccasm: accept "fmul/fadd st(0),st(n)" (dietlibc ipow/atanh) Joe Soroka 2011-02-01 15:49:37 -08:00
  • 87d84b7cb8 tccasm: allow one-line prefix+op things like "rep stosb" Joe Soroka 2011-02-01 15:37:58 -08:00
  • a25325e9be tccasm: define __ASSEMBLER__ for .S files, like gcc does Joe Soroka 2011-02-01 15:26:21 -08:00
  • 75c6695932 tccpp: fix bug in handling of recursive macros Joe Soroka 2011-02-01 13:23:40 -08:00
  • cf08675702 weak definitions overrule non-weak prototypes Joe Soroka 2011-02-01 09:41:03 -08:00
  • c59d3426b8 tccasm: support .weak labels Joe Soroka 2011-02-01 08:43:54 -08:00
  • 4d5105c8f1 support weak attribute on variables Joe Soroka 2011-02-01 00:37:53 -08:00
  • 6839382480 asmtest: avoid testing against complex nop alignment in gas Joe Soroka 2011-01-23 16:46:24 -08:00
  • 2047f88334 i386-asm: accept retl as a synonym for ret Joe Soroka 2011-01-21 01:35:28 -08:00
  • f43fafc680 accept multiple comma separated symbols for .globl/.global directives, like gas does Joe Soroka 2011-01-20 02:00:50 -08:00
  • 0a50e6c933 tcc.c: fix an error when you build an object file with '-pthread' key set Sergei Trofimovich 2011-01-04 11:17:52 +02:00
  • d97a25fbdd lib/alloca*: mark ELF stack access flags as nonexecutable Sergei Trofimovich 2011-01-04 10:38:52 +02:00
  • 288831854b Makefile: respect LDFLAGS (set via --extra-ldflags=) Sergei Trofimovich 2011-01-04 10:22:02 +02:00
  • 0ed7ba3f5e Support struct arguments with stdarg.h Shinichiro Hamaji 2010-12-28 19:32:40 +09:00
  • 07fd82b411 Make alignments for struct arguments 8 bytes Shinichiro Hamaji 2010-12-28 19:09:59 +09:00
  • 83f0a7b6f8 Test va_copy in tcctest.c Shinichiro Hamaji 2010-12-28 17:53:56 +09:00
  • 45e1ae2896 One more fix for tcc -run Shinichiro Hamaji 2010-12-28 17:44:51 +09:00
  • d457addfc3 Fix for the previous commit. Shinichiro Hamaji 2010-12-28 16:52:21 +09:00
  • 0ae39f1957 Handle r_addend and R_X86_64_PLT32 properly. Shinichiro Hamaji 2010-12-28 16:14:30 +09:00
  • 48e325df3c configure: --sharedir defaults to /usr/local/share Henry Kroll III 2010-12-23 06:36:07 -08:00
  • f449f98dec configure: --sharedir documentation root Henry Kroll III 2010-12-22 04:42:39 -08:00
  • 44f7055a04 make: fix cannot find -ltcc with --disable-rpath Henry Kroll III 2010-12-21 08:44:48 -08:00
  • 73cb4392ab make: fix install with CC=tcc and potential link problem Henry Kroll III 2010-12-20 06:20:08 -08:00
  • 90355c78ed configure: add --disable-rpath option (Fedora) Henry Kroll III 2010-12-20 05:55:54 -08:00
  • 3b3a7cc8ba configure: improvements to option --tccdir Henry Kroll III 2010-12-20 05:38:59 -08:00
  • d16722481f tcc: add unsupported option -pedantic Henry Kroll III 2010-12-20 04:23:30 -08:00
  • 8f98573658 tcc: -m32 prefix "win32-" when file extension is present Henry Kroll III 2010-12-12 23:55:49 -08:00
  • c6f5d819af tcc: fix format string in error handler Henry Kroll III 2010-12-08 01:05:50 -08:00
  • ffb9fcc5a2 tcc: oops, error handler does not accept format strings Henry Kroll III 2010-12-08 00:52:33 -08:00
  • b3be007afa tcc: fix -m32 and add -m64 option Henry Kroll III 2010-12-08 00:27:06 -08:00
  • f3d3ab5a69 tcc: move undef out of if block Henry Kroll III 2010-12-06 16:33:54 -08:00
  • 10a08a372f Merge branch 'mob' of git://repo.or.cz/tinycc into kroll Henry Kroll III 2010-12-06 16:25:33 -08:00
  • bb7bb37fe2 tcc: add -m32 option to x86_64 cross compilers Henry Kroll III 2010-12-06 16:17:20 -08:00
  • f2d7998a96 Copy tcclib.h to tests directory so GCC uses its own headers. Shinichiro Hamaji 2010-12-07 03:01:14 +09:00
  • 33f86ada92 trim unnecessary bits from my previous 3 commits Henry Kroll III 2010-12-05 12:39:55 -08:00
  • 1c821373ad make: i386/libtcc1.a for i386-tcc (x86_64 to i386 cross) Henry Kroll III 2010-12-05 01:04:28 -08:00
  • 50ff5ed790 make: cross compilers exist before using them (fixes parallel make) Henry Kroll III 2010-12-04 20:15:37 -08:00
  • eb550ed23b tcc: add option -s for gcc compatibility (ignored) Henry Kroll III 2010-12-04 16:04:33 -08:00
  • 69fe7585a2 tiny_libmaker: strip leading directory to avoid buffer overrun grischka 2010-12-04 16:56:58 +01:00