Commit Graph

  • 5a16f5ea98 Fix Makefile. gus knight 2015-07-29 09:55:23 -04:00
  • 7f5b95ea32 Fix formatting breakage from "rogue tabs" commit. gus knight 2015-07-29 09:54:03 -04:00
  • 271abe7117 Add a root Makefile for running targets in subdirectories. gus knight 2015-07-29 09:05:56 -04:00
  • 770fd39bd1 Relicensing TinyCC. gus knight 2015-07-29 09:03:37 -04:00
  • 07c6263732 typo in RELICENSING Vincent Lefevre 2015-07-29 15:29:22 +02:00
  • e667d0cc9c Relicensing TinyCC Vincent Lefevre 2015-07-29 15:24:56 +02:00
  • 47e06c6d4e Reorganize the source tree. gus knight 2015-07-27 16:03:25 -04:00
  • 694d0fdade clang-format on arm-gen.c and tcccoff.c. gus knight 2015-07-27 14:26:15 -04:00
  • 9e1b6bf517 Update CodingStyle. gus knight 2015-07-27 14:25:50 -04:00
  • d6b64e2574 Clean up lots of rogue tabs. gus knight 2015-07-27 14:14:41 -04:00
  • 41031221c8 Trim trailing spaces everywhere. gus knight 2015-07-27 12:43:40 -04:00
  • 5e67f24e6b Relicensing TinyCC. gus knight 2015-07-27 12:39:54 -04:00
  • 4e04f67c94 fix-mixed-struct (patch by Pip Cet) seyko 2015-05-14 07:32:24 +03:00
  • 101cc8747f win32/include/winapi changes from https://github.com/run4flat/tinycc.git seyko 2015-05-14 01:27:46 +03:00
  • 80322adaa0 redo of the -dD option seyko 2015-05-13 12:16:00 +03:00
  • cf92f7aacb some -bench fixes seyko 2015-05-12 22:02:51 +03:00
  • 06e0753fce minor pp optimizations seyko 2015-05-12 21:32:32 +03:00
  • 1234beccb8 restore a max memory usage printing for a new MEM_DEBUG when -bench seyko 2015-05-12 16:07:09 +03:00
  • c52e1a9af5 SYMBOL_NAME_LABEL(X) X##: seyko 2015-05-12 15:24:41 +03:00
  • 121e95d115 a new version of the MEM_DEBUG seyko 2015-05-12 11:56:39 +03:00
  • a98fd13090 a mem leak fix for "ability to compile multiple *.c files with -c switch" seyko 2015-05-12 10:58:04 +03:00
  • ae09051c81 allow to use MEM_DEBUG with libtcc seyko 2015-05-11 18:05:31 +03:00
  • cb7e820eae tcc_add_dll is not used if TCC_TARGET_PE seyko 2015-05-10 11:37:36 +03:00
  • ff06d4258e define __OPTIMIZE__ if -ON (N != 0) seyko 2015-05-10 10:21:37 +03:00
  • c497f9c82c warn if multile -o option is given seyko 2015-05-10 10:13:35 +03:00
  • 87a0109604 restore "./configure --enable-tcc32-mingw" on linux seyko 2015-05-10 09:57:11 +03:00
  • 30df3189b1 tccpp: fix issues, add tests grischka 2015-05-09 14:29:39 +02:00
  • 70a6c4601e VLA code: minor fix Philip 2015-05-04 03:42:02 +00:00
  • c75d0deecf VLA code minor fix seyko 2015-05-04 04:19:24 +03:00
  • 999274ca90 a lot simpler VLA code seyko 2015-05-04 04:09:05 +03:00
  • fca58734fb -traditional and -iwithprefix options seyko 2015-05-03 20:10:57 +03:00
  • 576aeb3aa9 fix "tcc test.c -Wl,,--oformat,binary" seyko 2015-05-03 14:17:18 +03:00
  • 2ba219f781 fix "tcc test.c -UAAA -UBBB" seyko 2015-05-03 13:58:27 +03:00
  • 929d171f47 Mostly revert "tccpp.c: minor fix I'd accidentally not committed" Philip 2015-05-02 20:30:07 +00:00
  • 27ec4f67a3 tccpp.c: minor fix I'd accidentally not committed Philip 2015-05-02 17:14:07 +00:00
  • 3b4c42c3c0 minor fix Philip 2015-05-02 16:49:12 +00:00
  • 823d0583dc tccpp.c: unterminated macro argument error message Philip 2015-05-02 14:47:11 +00:00
  • 2f90db434e tccpp.c: fix GNU comma handling Philip 2015-05-02 14:27:49 +00:00
  • 2f50cefbd4 tccpp.c: restore whitespace after failed macro Philip 2015-05-02 13:55:42 +00:00
  • a6e6a954f5 tccpp.c: correct # stringification Philip 2015-05-02 13:19:14 +00:00
  • 0877ba7cbf tccpp.c: parse flag to accept stray \ Philip 2015-05-02 12:58:37 +00:00
  • a3d78b95d7 tccpp.c: fix endless loop Philip 2015-05-02 12:33:45 +00:00
  • 1e878200f7 tccpp.c: reset spc after macro_subst_tok() Philip 2015-05-02 12:26:10 +00:00
  • 3a922ad2ba tccpp.c: fix ##-in-macros logic Philip 2015-05-02 12:14:14 +00:00
  • a6b94eff79 tccpp.c: fix empty stringify Philip 2015-05-01 14:48:25 +00:00
  • 951a43ea6c fix a potential end-of-buffer issue in tccelf.c Philip 2015-04-30 21:31:32 +00:00
  • 2e04fa8872 fix end-of-buffer error in tccpp.c Philip 2015-04-30 19:07:44 +00:00
  • 4126056fbe fix vstack leak Philip 2015-04-29 21:32:14 +00:00
  • 44c330d647 VLA fix: save stack pointer right after modification Philip 2015-04-28 09:23:29 +00:00
  • d2dd6fdbfb fix VLA/continue issue Philip 2015-04-27 16:38:27 +00:00
  • bd489a4815 add test case for VLA segfaults Philip 2015-04-27 14:41:57 +00:00
  • bbcb54a1f4 replace PARSE_FLAG_ASM_COMMENTS with PARSE_FLAG_ASM_FILE seyko 2015-04-27 16:36:58 +03:00
  • 2e51f0ee63 warn about declarations after statements when compiling with gcc. Philip 2015-04-27 13:28:03 +00:00
  • 1351de6ad1 fixes for "tcc -E -dD" seyko 2015-04-27 16:04:54 +03:00
  • 2df290073b preprocess: "assign PARSE_FLAG_ASM_COMMENTS only for asm files" seyko 2015-04-27 15:25:49 +03:00
  • 2d3458363e fix another x86_64 ABI bug Philip 2015-04-26 17:31:39 +00:00
  • 8d44851d65 Fix zero-length struct/union test. Remove nonsensical test. Philip 2015-04-25 19:17:37 +00:00
  • 1dd3f88f3b x86_64 ABI tests, which currently cause failures Philip 2015-04-25 10:49:55 +00:00
  • 9cbab3630e a test for the #pragma push/pop_macro seyko 2015-04-25 15:03:50 +03:00
  • 72e8ff11e9 tccpp: alternative #pragma push/pop_macro grischka 2015-04-23 23:27:36 +02:00
  • 7c27186a83 Revert "* and #pragma pop_macro("macro_name")" grischka 2015-04-23 23:26:46 +02:00
  • 059aea5d35 fix a subtle x86-64 calling bug Philip 2015-04-23 18:08:28 +00:00
  • aacf65bbfa Bugfix: 32-bit vs 64-bit bug in x86_64-gen.c:gcall_or_jmp Philip 2015-04-23 17:30:16 +00:00
  • b08ce88082 "#pragma once" implementation seyko 2015-04-21 15:46:29 +03:00
  • 0c8447db79 * and #pragma pop_macro("macro_name") * give warning if pragma is unknown for tcc * don't free asm_label in sym_free(), it's a job of the asm_free_labels(). seyko 2015-04-21 06:34:35 +03:00
  • 5e8fb713c4 add missing test from -fdollar-in-identifiers commit Ramsay Jones 2015-04-20 12:02:57 +01:00
  • 5ce2154c74 -fdollar-in-identifiers addon seyko 2015-04-20 03:44:08 +03:00
  • 9336fa7ae5 Fix program symbols exported in dynsym section Thomas Preud'homme 2015-04-18 15:28:02 +08:00
  • b472d53672 clarify error message when library not found seyko 2015-04-16 07:30:24 +03:00
  • aeaff94ec1 implement #pragma comment(lib,...) Steven G. Messervey 2015-04-15 22:56:21 -04:00
  • e50d68e417 Revert "implement #pragma comment(lib,...)" Steven G. Messervey 2015-04-15 21:24:15 -04:00
  • 8615bb40fb implement #pragma comment(lib,...) Steven G. Messervey 2015-04-15 17:00:26 -04:00
  • a13f183e4c ability to compile multiple *.c files with -c switch seyko 2015-04-12 15:39:48 +03:00
  • 0536407204 ability to specify a type of the input file with the -x switch seyko 2015-04-12 15:35:37 +03:00
  • dcb36587b5 -fdollar-in-identifiers switch which enables '$' in identifiers seyko 2015-04-12 15:32:03 +03:00
  • e8ad336ac5 A new file CodingStyle with rules for indentation seyko 2015-04-12 09:26:28 +03:00
  • e7a60e4d01 replace a method to force bcheck.o linking seyko 2015-04-12 04:47:15 +03:00
  • 4bb9dd44f1 Fix for Microsoft compilers seyko 2015-04-11 16:22:34 +03:00
  • 5c9dde7255 option to use an old algorithm of the array in struct initialization seyko 2015-04-10 23:44:10 +03:00
  • 92efee6e52 fix "handle a -s option" commit seyko 2015-04-10 17:35:54 +03:00
  • d81611b641 fix a preprocessor for .S seyko 2015-04-10 16:53:29 +03:00
  • 8037a1ce39 fix a preprocessor for .S seyko 2015-04-10 16:40:30 +03:00
  • 70dbe169b2 fix a preprocessor for .S seyko 2015-04-10 16:31:12 +03:00
  • 559675b90a a bounds checking code for the ARCH=x86_64 seyko 2015-04-10 15:17:22 +03:00
  • e92dc595cd Add a demo.bat file to the examples directory on Windows seyko 2015-04-10 07:46:04 +03:00
  • 7e7e6148fd fix installation amd bcheck for Windows seyko 2015-04-10 07:37:31 +03:00
  • 5cd4393a54 handle a -s option by executing sstrip/strip program seyko 2015-04-10 06:53:48 +03:00
  • 089ce6235c output all sections if we produce an executable file seyko 2015-04-10 06:49:24 +03:00
  • 3c372b4c8a remove a compilation warnings for libtest and test3 seyko 2015-04-10 06:44:34 +03:00
  • dec959358a fix the bug #31403: parser bug in structure seyko 2015-04-10 06:31:58 +03:00
  • 9fc3d66f1b Fix to accommodate missing i386/bcheck.o during install on Mac OS X Raphael Cohn 2015-04-07 16:34:37 +01:00
  • aa6946b92c Fix to test for HOST_OS not TARGETOS Raphael Cohn 2015-04-07 16:06:43 +01:00
  • 50fc86a447 Fixing bug for Linux x86_64 introduced in previous macosx commit Raphael Cohn 2015-04-07 15:55:41 +01:00
  • 2ba7542e4b Adjusted configure host_os to use uname for Darwin Adjusted Makefile to make it Darwin (Mac OS X 10.10)-friendly for cross-compilers by removing the creation of arm64 cross-compilers on this platform. Raphael Cohn 2015-04-07 15:28:31 +01:00
  • fa0eff949d Adjusted configure to be more BSD friendly Raphael Cohn 2015-04-07 15:18:34 +01:00
  • 96debc72f8 a small revers for bcheck.o changes (d80593bc4d) seyko 2015-03-30 06:15:47 +03:00
  • db08122d31 Fix for Microsoft compilers seyko 2015-03-29 11:52:16 +03:00
  • d80593bc4d fix for the bcheck.o (bug #14958) seyko 2015-03-29 11:28:02 +03:00
  • f2cfc07554 fix: try to add a bounds.o only if __bounds_init not found seyko 2015-03-28 19:41:01 +03:00
  • 3b7f5008fd fix for the previous commit (compilation on RPi) seyko 2015-03-26 11:28:11 +03:00