Commit Graph

  • 112148172b tccpe: speed up .def file loading grischka 2014-04-13 20:30:46 +02:00
  • aa255f37f2 tests2: fix and enable 46_grep test. minux 2014-04-12 14:04:10 -04:00
  • 0a51386960 tests2: fix 30_hanoi test and enable it. minux 2014-04-12 13:37:37 -04:00
  • 0e3d2e0bea Make build CPU detection a tad more flexible Thomas Preud'homme 2014-04-12 16:20:12 +08:00
  • 6e56bb387d Fix preprocessor concat with empty arg Thomas Preud'homme 2014-04-12 12:00:13 +08:00
  • 9714d2e75f build: add initial NetBSD support. minux 2014-04-12 01:42:46 -04:00
  • 469ae3a7e5 build: ignore and properly clean tests/vla_test minux 2014-04-12 01:10:58 -04:00
  • b8eb7dd8e8 tcc.h: add ELF interpreter for DragonFly BSD. minux 2014-04-12 01:10:12 -04:00
  • 8d3e0b3080 tccrun: fix build on DragonFly BSD. minux 2014-04-12 00:52:20 -04:00
  • 5f7cdd29b6 win32/include/process.h: update prototypes to match mingw. minux 2014-04-12 00:09:57 -04:00
  • df0267b287 tcc, libtcc: fix build on windows with latest mingw. minux 2014-04-11 23:49:53 -04:00
  • bba1c381f4 tiny_impdef: remove artificial length restriction. minux 2014-04-11 23:23:05 -04:00
  • 822f4630e3 add missing prototypes Urs Janssen 2014-04-10 11:53:54 +02:00
  • a715d7143d Prevent ## to appear at start or end of macro Thomas Preud'homme 2014-04-08 22:19:48 +08:00
  • 91d4db600b Add new tests for macro nesting Thomas Preud'homme 2014-04-07 23:30:57 +08:00
  • c2422ba87f Fix test for macro nesting Thomas Preud'homme 2014-04-07 21:12:08 +08:00
  • 3e9a7e9d69 Corrected spelling mistakes in comments and strings Vincent Lefevre 2014-04-07 13:31:00 +02:00
  • d09a46d655 corrected a typo Vincent Lefevre 2014-04-07 13:20:49 +02:00
  • f90bad0925 tests2: cleanup grischka 2014-04-07 11:20:45 +02:00
  • 76accfb8d5 win32: libtcc1.a needs to be built with tcc grischka 2014-04-07 11:13:19 +02:00
  • f01373765b stdbool.h: Make conformant to ISOC99 Michael Matz 2014-04-07 00:30:31 +02:00
  • 0961a38493 Declare wint_t in <stddef.h> when needed Michael Matz 2014-04-07 00:26:36 +02:00
  • 0e43f3aef4 win32: warn people about using undeclared WINAPI functions grischka 2014-04-06 10:59:40 +02:00
  • 6a947d9d26 ELF: Remove traces of old RUNTIME_PLTGOT code Michael Matz 2014-04-06 01:59:35 +02:00
  • 01c0419234 arm: Use proper PLT/GOT for -run. Michael Matz 2014-04-06 01:02:42 +02:00
  • 9750d0b725 x86_64: Create proper PLT and GOT also for -run Michael Matz 2014-04-06 00:30:22 +02:00
  • c4427747e6 arm: Provide alloca() Michael Matz 2014-04-05 22:54:11 +02:00
  • b0f8ca5e03 Git should ignore tests2 executables. Michael Matz 2014-04-05 22:52:17 +02:00
  • 3d18c9aa64 tests2: Build executables as well Michael Matz 2014-04-05 17:35:00 +02:00
  • 0688afdd34 arm: Handle R_ARM_NONE relocs Michael Matz 2014-04-04 23:33:04 +02:00
  • 5879c854fb tccgen: x86_64: fix garbage in the SValue upper bits grischka 2014-04-04 20:18:39 +02:00
  • 2024c44541 run: Always create .got relocs Michael Matz 2014-04-04 17:54:52 +02:00
  • f2c8491fc0 ELF: Make first PT_LOAD cover headers Michael Matz 2014-04-03 18:00:44 +02:00
  • a913ee6082 x86-64: Use correct ELF values Michael Matz 2014-04-03 17:59:41 +02:00
  • ea2805f097 shared libs: Build libtcc1.a with -fPIC Michael Matz 2014-04-02 21:27:22 +02:00
  • 3e56584223 Allow local redefinition of enumerator Thomas Preud'homme 2014-03-31 22:58:17 +08:00
  • a620b12dc1 Fixed typo from commit 0ac8aaab1b Vincent Lefevre 2014-03-31 15:24:32 +02:00
  • 01cf514e59 Update Changelog from git changelog entries Thomas Preud'homme 2014-01-04 20:33:21 +08:00
  • 0bd1282059 x86-64: shared libs improvement Michael Matz 2014-03-31 05:36:12 +02:00
  • 080ad7e62a x86-64: Add basic shared lib support Michael Matz 2014-03-31 03:45:35 +02:00
  • 5a5fee867a Add __attribute__ ((noreturn)) to tcc_error and expect functions. This make use of static analysis tools like scan-build report less false positives. mingodad 2014-03-30 10:10:24 +01:00
  • 80811671d4 Add tests for previous fixes Thomas Preud'homme 2014-03-30 12:55:32 +08:00
  • fdc31e152b Update Changelog from git changelog entries Thomas Preud'homme 2014-01-04 20:33:21 +08:00
  • 3900b235e0 x86_64: pass va_list as pointer Daniel Glöckner 2014-03-30 00:08:05 +01:00
  • 0ac8aaab1b tccpp: reorder some tokens grischka 2014-03-29 16:40:54 +01:00
  • 1075087241 ARM: Fix passing arrays to varadic functions Daniel Glöckner 2014-03-29 17:50:40 +01:00
  • f272407353 Fix typo in code added by b018bac9c8 Thomas Preud'homme 2014-03-29 14:57:29 +08:00
  • b018bac9c8 Fix again GOT32 + PLT32 reloc commit Thomas Preud'homme 2014-03-26 22:13:20 +08:00
  • b125743323 Create bcheck region for argv and arge argument Thomas Preud'homme 2014-03-29 14:28:02 +08:00
  • 9a6ee577f6 Make get_tok_str support NULL as second param. Thomas Preud'homme 2014-03-27 22:59:05 +08:00
  • 5c233f2cf3 The hack to allow valgrind works with tcc compiled programs have the undesired side effect of programs compiled with debug info segfaulting after debug info been striped more tought must be done here mingodad 2014-03-28 21:07:06 +00:00
  • c025478d7c New implementation of va_list/va_start/var_copy that do not use dynamic memory, with this when compiling fossil-scm with tcc on linux X86_64 it works fine. mingodad 2014-03-28 20:28:19 +00:00
  • 700c2f769b Remove the fix from my last commit, it was pointed by scan-build and is a false positive, thanks to grischka for pointing it. mingodad 2014-03-28 20:25:39 +00:00
  • 0ba7c8670c This allow valgrind to work on linux, some how the PHDR is missing and then valgrind complain with: Inconsistency detected by ld.so: rtld.c: 1284: dl_main: Assertion `_rtld_local._dl_rtld_map.l_libname' failed! mingodad 2014-03-28 11:44:00 +00:00
  • 14bb8302c4 Fix a incorrect size for malloc. mingodad 2014-03-27 22:15:45 +00:00
  • 4bc83ac393 After several days searching why my code refactoring to remove globals was crashing, I found the problem it was because CValue stack variables have rubish as it inital values and assigning to a member that is smaller than the big union item and trying to recover it later as a different member gives bak garbage. mingodad 2014-03-26 20:14:39 +00:00
  • aa561d7011 Simplify and fix GOT32 + PLT32 reloc commit Thomas Preud'homme 2014-03-26 22:13:20 +08:00
  • bed865275d Add the generated executables ending with "-cc" and "-tcc" to the makefile "clean" mingodad 2014-03-26 14:19:22 +00:00
  • ad9568060e A possible fix for the memory leak reported by valgrind when running tcctest.c with tcc. mingodad 2014-03-25 18:06:14 +00:00
  • dc8ea93b13 Support GOT32 and PLT32 reloc for same symbol Thomas Preud'homme 2014-03-25 22:35:11 +08:00
  • 078ba241d9 Always link libtcc1.a in (useful for va_* on x86) Thomas Preud'homme 2014-03-25 21:18:57 +08:00
  • f1f45a47ef Add test for previous commit Thomas Preud'homme 2014-03-25 20:54:19 +08:00
  • 6f6ed8acc7 Warn about soft float ABI not being supported Thomas Preud'homme 2014-03-25 19:54:04 +08:00
  • b8610f14b0 Deprecate FPA and OABI support for ARM Thomas Preud'homme 2014-03-25 19:48:33 +08:00
  • b68499e971 Make parse_btype only accept one basic type Thomas Preud'homme 2014-03-24 23:28:56 +08:00
  • ec1c83081d Fix relocation of __bound_init Thomas Preud'homme 2014-03-17 23:14:38 +08:00
  • 40e3859739 Fix __clear_cache implementation Thomas Preud'homme 2014-03-11 22:57:22 +08:00
  • b2192fc50b Adjust relocation offset for thumb to ARM veneer Thomas Preud'homme 2014-03-11 21:45:52 +08:00
  • d3d89900f6 Don't hardcode gcc in tests Makefile Thomas Preud'homme 2014-03-09 22:54:48 +08:00
  • 62d1da1b3e Fix warning of clang Thomas Preud'homme 2014-03-09 22:52:31 +08:00
  • 98afe11c85 Use intptr_t to cast pointer Thomas Preud'homme 2014-03-09 22:22:43 +08:00
  • 73ac39c317 Undefine __va* in libtcc1 to avoid errors w/ clang Thomas Preud'homme 2014-03-09 22:21:27 +08:00
  • e50f08faa1 Make condition in libtcc1 based on target Thomas Preud'homme 2014-03-09 22:15:01 +08:00
  • 33cea54dc7 Fix type_to_str test for unsigned int Thomas Preud'homme 2014-03-09 13:32:24 +08:00
  • fdb3b10d06 Fix various errors uncovered by static analysis Thomas Preud'homme 2014-03-08 18:36:02 +08:00
  • ba286136bf libtcc: ignore linker optizimization and as-needed options. This allows compiling some packages from Gentoo's portage Austin English 2014-03-06 12:29:19 -08:00
  • 361ec4f98e Call fill_got_entry unconditionally Thomas Preud'homme 2014-02-10 21:34:04 +08:00
  • c6017182f6 Define float_eabi only in arm-gen.o Thomas Preud'homme 2014-02-09 23:15:33 +08:00
  • 497f9393e0 conftest: fix globbing to match MSVC Austin English 2014-02-08 14:38:41 -08:00
  • b46f7461a3 Fix warning about undeclared __clear_cache function call. Christian Jullien 2014-02-08 08:31:32 +01:00
  • d0dae7f241 Ignore VT_DEFSIGN in load on x86-64 arch Thomas Preud'homme 2014-02-07 22:31:44 +08:00
  • b0b5165d16 Def signedness != signed != unsigned for char Thomas Preud'homme 2014-02-06 20:51:47 +08:00
  • e571850d79 Add support of Thumb to ARM branch relocation Thomas Preud'homme 2014-02-02 17:15:19 +08:00
  • 4aec2902ca Split elf_output_file in smaller functions Thomas Preud'homme 2013-12-18 11:17:17 +08:00
  • 55f751ac6d Add macro to browse reloc and sym entries Thomas Preud'homme 2013-12-17 21:02:51 +08:00
  • 88c9f1bb4e Round mode of ll -> float conversion to nearest Thomas Preud'homme 2014-02-05 19:47:15 +08:00
  • d029507494 Fix negative long long to float conversion on ARM Thomas Preud'homme 2014-02-05 16:56:27 +08:00
  • 0ab07f39a6 Fix float to long long conversion on ARM Thomas Preud'homme 2014-02-05 16:09:54 +08:00
  • 02d2ca8ac7 Fix and extend *FCAST test in tcctest.c Thomas Preud'homme 2014-02-05 15:26:46 +08:00
  • 17314a1fb3 Fix parameter passing of long long bitfield Thomas Preud'homme 2014-02-04 20:54:28 +08:00
  • 4e5f15c685 switch last 2 params of TOK_memset on ARM Thomas Preud'homme 2014-02-03 22:27:23 +08:00
  • 1415d7e6b6 Don't perform builtin_frame_address on ARM Thomas Preud'homme 2014-02-03 12:26:49 +08:00
  • 4760804dba Fix fct param passing of struct with size < 4 Thomas Preud'homme 2014-02-03 11:13:42 +08:00
  • 9fc57302f8 Switch float abi to softfp for int <--> float conv Thomas Preud'homme 2014-02-02 20:29:24 +08:00
  • 2eb844f8b5 Revert "Add macro to browse reloc and sym entries" Thomas Preud'homme 2014-02-02 20:02:12 +08:00
  • e5a706a091 Revert "Split elf_output_file in smaller functions" Thomas Preud'homme 2014-02-02 20:02:11 +08:00
  • f62e97e0ed Revert "Add support of Thumb to ARM branch relocation" Thomas Preud'homme 2014-02-02 20:02:08 +08:00
  • 8635939b8d Add support of Thumb to ARM branch relocation Thomas Preud'homme 2014-02-02 17:15:19 +08:00
  • b5b82df3e3 Split elf_output_file in smaller functions Thomas Preud'homme 2013-12-18 11:17:17 +08:00
  • 3cbc7a2dcc Add macro to browse reloc and sym entries Thomas Preud'homme 2013-12-17 21:02:51 +08:00