Commit Graph

  • 1caee8ab3b Sorted out CMake on x86-64 and fixed silly XMM# bug introduced when working on Win64 stdargs. James Lyon 2013-04-25 22:30:53 +01:00
  • e7a7efed11 Added cross compilation to CMake build system. James Lyon 2013-04-25 01:08:18 +01:00
  • 5c35ba66c5 64-bit tests now pass (well, nearly). James Lyon 2013-04-24 02:19:15 +01:00
  • 8a81f9e103 Added CMake build system (to facilitate Win64 builds) James Lyon 2013-04-21 11:20:20 +01:00
  • 05fa2e754b Workaround for MinGWs use of 80-bit long double on Win32. James Lyon 2013-04-19 23:21:33 +01:00
  • 23f73e92f3 Fixed 64-bit integer bug introduced by x86-64 ABI work. James Lyon 2013-04-19 22:55:09 +01:00
  • cbce6d2bac Improved x86-64 XMM register argument passing. James Lyon 2013-04-19 22:05:49 +01:00
  • 946afd2343 Fixed problems with XMM1 use on Linux/x86-64. James Lyon 2013-04-19 18:31:24 +01:00
  • 0e17671f72 Most x86-64 tests now work; only on error in test1-3. James Lyon 2013-04-19 15:33:16 +01:00
  • b961ba5396 Got test1-3 working on x86-64. James Lyon 2013-04-19 11:08:12 +01:00
  • 55ea6d3fc1 x86-64 ABI fixes. James Lyon 2013-04-19 00:40:48 +01:00
  • 3f1d900007 Added some additional tests to abitest.c James Lyon 2013-04-18 17:55:00 +01:00
  • 2bbfaf436f Tests in abitest.c now work on Win32. James Lyon 2013-04-18 17:27:34 +01:00
  • ce5e12c2f9 Added ABI compatibility tests with native compiler using libtcc. James Lyon 2013-04-17 21:51:51 +01:00
  • e31579b076 Fixed tests on Windows (including out-of-tree problems) James Lyon 2013-04-17 20:32:07 +01:00
  • 1d673cbfd6 Fixed out of tree build problem on Windows. James Lyon 2013-04-17 17:31:18 +01:00
  • 1ef95ea342 Fix building instruction wrt make/gmake Thomas Preud'homme 2013-04-08 23:26:27 +02:00
  • 0de6fe6c41 Update README,add x86_64/arm,FreeBSD/OSX etc. Change make to gmake because make will not be gnu make in some OS like FreeBSD Jov 2013-03-25 22:51:52 +08:00
  • c68af2db9d Fix synchronization between data and instr caches Thomas Preud'homme 2013-03-19 14:03:15 +01:00
  • 6ed6a36a51 Flush caches before -running program Thomas Preud'homme 2013-02-28 16:40:18 +01:00
  • d9dfd9cded Fix configure script on FreeBSD Thomas Preud'homme 2013-03-14 18:15:32 +01:00
  • c219a53402 Update .gitignore with regards to test changes Thomas Preud'homme 2013-03-11 22:31:59 +01:00
  • 243c699009 document $CPATH, $C_INCLUDE_PATH, $LIBRARY_PATH Urs Janssen 2013-02-20 14:23:44 +01:00
  • 183b2ab14c don't confuse LD_LIBRARY_PATH (run time) with LIBRARY_PATH (link time) Urs Janssen 2013-02-19 14:41:58 +01:00
  • 0ad857c80e added CPATH, C_INCLUDE_PATH and LD_LIBRARY_PATH Andrew Aladjev 2013-02-19 14:47:36 +03:00
  • 0db7f616ad remove doubled prototype fix documentation about __TINYC__ define __STDC_HOSTED__ like __STDC__ Urs Janssen 2013-02-18 15:44:18 +01:00
  • 5d6cfe855a Fix GNU Hurd interpreter path Thomas Preud'homme 2013-02-18 11:53:00 +01:00
  • e946c3583f Add support for KfreeBSD 64bits Thomas Preud'homme 2013-02-18 11:41:34 +01:00
  • 322743eef8 libtcc: tcc_define_symbol() uses strings, fix segfault Roy 2013-02-18 08:32:03 +08:00
  • 3ad64ffe2e Define __STDC_HOSTED__ to a sane value Thomas Preud'homme 2013-02-17 22:13:41 +01:00
  • fe64a4d005 Define __STDC_HOSTED__ Thomas Preud'homme 2013-02-17 19:44:55 +01:00
  • 0bdbd49eac add version number to manpage avoid c++/c99 style comments in preprocessor directives avoid leadings whitespaces in preprocessor directives mention implemented variable length arrays in documentation fixed ambiguous option in texi2html call (Austin English) Urs Janssen 2013-02-17 00:48:51 +01:00
  • d5e22108a0 Release TinyCC 0.9.26 Thomas Preud'homme 2013-02-14 15:56:40 +01:00
  • bfde339b8c fixed pasto in in 108b2876; background for the additional $CC test is: GCC_MAJOR may be set even is $CC not realy gcc (but i.e. clang, which (as of 3.1) requires an addtional CFLAG to accept the non portable (gnuisms all over the place; try to cimpile tcc with Sun^HOracle, Intel, Pathscale, ... compiler) code). Urs Janssen 2013-02-15 13:04:39 +01:00
  • cec76c8b8a - document -dumpversion - fixed a broken prototype Urs Janssen 2013-02-15 12:48:33 +01:00
  • 108b287665 - don't use GCC_MAJOR to see if we're not using gcc as GCC_MAJOR might be set during configure even with --cc=notgcc as long as gcc is installed. Urs Janssen 2013-02-15 00:53:33 +01:00
  • 0928761257 Revert "Don't search libgcc_s.so.1 on /lib64" Thomas Preud'homme 2013-02-14 23:52:11 +01:00
  • c4397b2b02 configure: detect ARM variants grischka 2013-02-14 21:15:56 +01:00
  • b9f089fc4a Don't search libgcc_s.so.1 on /lib64 Thomas Preud'homme 2013-02-14 18:02:56 +01:00
  • 762a43877b configure: pass CONFIG_xxxDIR/PATH options via commandline grischka 2013-02-14 17:43:24 +01:00
  • 99b801dafc Add missing heading slash to detect /lib64 systems Thomas Preud'homme 2013-02-14 16:56:40 +01:00
  • b4656f3191 Add arm ABI detection in conftest.c Thomas Preud'homme 2013-02-14 16:40:16 +01:00
  • b1a8233562 Another attempt to "detect" multiarch Thomas Preud'homme 2013-02-14 15:39:35 +01:00
  • 062efe6ab8 - make clang accept unportable code in libtcc1.c - add -dumpversion cmd.line opt Urs Janssen 2013-02-14 08:24:51 +01:00
  • 944627c479 configure: cleanup grischka 2013-02-14 06:53:07 +01:00
  • e298f60838 Create config-print program to test $cc Thomas Preud'homme 2013-02-13 22:35:36 +01:00
  • a4cbd9b002 Various fixes for f9ac2013 Thomas Preud'homme 2013-02-13 22:28:41 +01:00
  • f9ac201377 Detect multiarch triplet and lddir from ldd output Thomas Preud'homme 2013-02-13 20:14:13 +01:00
  • af4b27f0fd Fix previous commit Thomas Preud'homme 2013-02-13 17:58:14 +01:00
  • f6cfaa6d25 Improve multiarch detection Thomas Preud'homme 2013-02-13 17:01:53 +01:00
  • 05108a3b0a libtcc: new LIBTCCAPI tcc_set_options(TCCState*, const char*str) grischka 2013-02-12 19:13:28 +01:00
  • 829655949b tcc --help: update option summary grischka 2013-02-10 20:39:05 +01:00
  • 8042121d74 tcc -vv/--print-search-dirs: print more info grischka 2013-02-10 00:38:40 +01:00
  • d6d7686b60 tcc.h: declare CValue.tab[LDOUBLE_SIZE/4] grischka 2013-02-08 19:07:11 +01:00
  • 4b8e7f1f39 Fix fn_dirname in configure script Thomas Preud'homme 2013-02-08 11:07:05 +01:00
  • 7a477d70ca lib/Makefile: use CC, add bcheck to libtcc1.a grischka 2013-02-06 19:01:07 +01:00
  • 92024ab07a tccelf: fix debug section relocation grischka 2013-02-05 21:18:29 +01:00
  • d5f4df09ff tests: cleanup grischka 2013-02-05 14:27:38 +01:00
  • 60cf64612c tests2: move into tests grischka 2013-02-05 13:22:36 +01:00
  • 6c4d3244da Align on 4n bytes when copying fct args on stack Thomas Preud'homme 2013-02-05 10:35:12 +01:00
  • e0aee4f455 portability: make tcc_get_symbol() available for non-native grischka 2013-02-04 20:57:57 +01:00
  • 60e647f856 Slightly improved support for !gcc compilers Thomas Preud'homme 2013-02-04 17:58:24 +01:00
  • 248dc67506 win32: Honor "-Wl,-subsystem=console/gui" option grischka 2013-02-04 17:58:37 +01:00
  • 4b539aa67d tccrun.c: unify rt_get_caller_pc prototype grischka 2013-02-04 17:24:03 +01:00
  • 97c279f5ea Makefile: fix "allow CONFIG_LDDIR=lib64 configuration" grischka 2013-02-04 17:10:47 +01:00
  • 82bcbd027f portability: fix void* <-> target address conversion confusion grischka 2013-02-04 16:08:06 +01:00
  • 3186455599 Makefile: allow CONFIG_LDDIR=lib64 configuration grischka 2013-02-04 16:11:17 +01:00
  • 4c2941d248 win32: wincrt1.c: include stdlib.h for exit() grischka 2013-02-04 16:12:17 +01:00
  • 263dc93cfa c67: remove global #define's for TRUE/FALSE/BOOL grischka 2013-02-04 15:10:08 +01:00
  • f715207249 arm-gen.c: fix var initialization in gfunc_call Thomas Preud'homme 2013-02-04 11:01:58 +01:00
  • 61a4fd1d6e arm: force rounding towards zero on cast to integer with VFP Daniel Glöckner 2013-02-04 09:17:01 +01:00
  • f7f6025bd1 arm: fix conversion from float/double to signed integer with VFP Daniel Glöckner 2013-02-03 23:47:52 +01:00
  • 506193724f arm: fix conversion from integer to float/double with VFP Daniel Glöckner 2013-02-03 17:51:33 +01:00
  • 6f4983af5b Revert "Add predictability in CType initialization." Thomas Preud'homme 2013-01-31 13:42:00 +01:00
  • ae33c30b49 Revert "Don't call elf_hash on NULL value" Thomas Preud'homme 2013-01-31 13:41:58 +01:00
  • 2f6b8469cc safety: replace occurrences of strcpy by pstrcpy grischka 2013-01-31 11:29:45 +01:00
  • 370547a550 Revert "Check whether structure fields have a type" Thomas Preud'homme 2013-01-31 13:02:04 +01:00
  • 981eb84d8a Check whether structure fields have a type Thomas Preud'homme 2013-01-31 12:32:31 +01:00
  • 505329b5b3 Don't call elf_hash on NULL value Domingo Alvarez Duarte 2013-01-31 12:05:11 +01:00
  • 93785149ed Add predictability in CType initialization. Domingo Alvarez Duarte 2013-01-31 11:30:23 +01:00
  • 1b1e7ee1fd Fix cross-compilation out-of-tree build Thomas Preud'homme 2013-01-30 19:39:29 +01:00
  • 913cd6270b Changelog: cleanup grischka 2013-01-30 18:50:02 +01:00
  • 828ccde9fc arm: define TCC_ARM_VERSION for cross compiler grischka 2013-01-30 17:45:21 +01:00
  • b7e75ccdb0 tccpe: no debug, no stabs grischka 2012-12-22 18:06:17 +01:00
  • 17cf0dcf70 configure: use relative paths for in-tree build grischka 2013-01-30 18:39:09 +01:00
  • 6ccee6edb3 Add my copyright for changes in arm-gen.c Thomas Preud'homme 2013-01-30 17:34:19 +01:00
  • 5fa135f9eb Changelog update Thomas Preud'homme 2013-01-30 17:13:40 +01:00
  • 01e1eecdbe Update Changelog Thomas Preud'homme 2013-01-30 17:02:35 +01:00
  • 52947e5844 Favor arm hardfloat over arm softfloat. Thomas Preud'homme 2013-01-29 18:13:08 +01:00
  • bcac413c30 Fix overflow detection in ARM relocation Thomas Preud'homme 2013-01-28 19:13:25 +01:00
  • 0f81512d7d Fix stack alignment on 8 bytes at function call Thomas Preud'homme 2013-01-27 01:08:01 +01:00
  • f3e5649150 Don't do builtin_frame_address test with ARM gcc Thomas Preud'homme 2013-01-26 20:31:14 +01:00
  • f63c750942 Organize frames in a real linked list on ARM Thomas Preud'homme 2013-01-26 20:09:04 +01:00
  • de35a3389f Use gcc to generate tcctest.gcc Thomas Preud'homme 2013-01-25 20:14:10 +01:00
  • f8cde52984 Link STT_GNU_IFUNC into STT_FUNC in executable. Thomas Preud'homme 2013-01-25 20:01:43 +01:00
  • b89793d10a win32: _mingw.h: do not undef NULL grischka 2013-01-24 19:49:58 +01:00
  • 6b6eea60f3 Fix [f]getc return value usage in 40_stdio test Thomas Preud'homme 2013-01-24 10:55:18 +01:00
  • c5892fe4f5 Revert "Optimize vswap()" grischka 2013-01-14 18:33:59 +01:00
  • 2daf8b96a8 Revert mistake in "win32: malloc.h: fix win32 ... _STATIC_ASSERT" grischka 2013-01-14 18:14:00 +01:00
  • f7b417723e Fix out-of-tree build with relative path to root Thomas Preud'homme 2013-01-14 18:18:27 +01:00