Commit graph

  • 2887f40f76 Add support for GNU/Hurd Thomas Preud'homme 2010-09-10 20:55:54 +02:00
  • 9b09fc376e Add support of asm label for functions. Thomas Preud'homme 2010-09-05 22:39:34 +02:00
  • a7fb00e887 tccmain: simplify option help grischka 2010-09-08 19:13:36 +02:00
  • c31dc7aa0c Fix casts from 32bit integer types to 64bit integer types. Shinichiro Hamaji 2010-08-31 08:35:31 +09:00
  • 9d347f8742 Probably wrong stack alignment for struct on Win64 Shinichiro Hamaji 2010-08-27 02:49:09 +09:00
  • 1f6781f0ee Fix alignment around struct for SSE. Shinichiro Hamaji 2010-08-27 01:28:52 +09:00
  • 4ab4efd3a6 Revert "implemented C99 for loop with variable declaration" grischka 2010-08-21 13:39:12 +02:00
  • 7901d1e3ad tcc_set_linker: mimic all option forms as supported by GNU ld Kirill Smelkov 2010-08-12 23:30:21 +04:00
  • bcc9137a10 Add support for indirect functions as externals. Thomas Preud'homme 2010-06-24 20:53:42 +02:00
  • 82c5edb31c Avoid crash with "Avoid a crash with weak symbols for "make test"" grischka 2010-06-30 20:25:04 +02:00
  • 5e6fabefd7 Revert "Use mktemp to generate temp files." Thomas Preud'homme 2010-06-23 14:10:22 +02:00
  • 27988c5e66 Use mktemp to generate temp files. Thomas Preud'homme 2010-06-22 18:40:35 +02:00
  • 9775aea1ab Merge branch 'kirr/tcc-MD' into mob Kirill Smelkov 2010-06-21 20:50:32 +04:00
  • 2fe5210a33 .gitignore += tags Kirill Smelkov 2010-06-20 20:48:16 +04:00
  • 93de8d8038 tcc: Explicitly require -l<lib> for libraries Kirill Smelkov 2010-06-20 19:18:58 +04:00
  • 441a089aa4 Document what tcc_fileextension does Kirill Smelkov 2010-06-20 19:17:42 +04:00
  • 1203348302 tcc -E: Let output_default be <file>.o instead of a.out Kirill Smelkov 2010-06-20 20:42:16 +04:00
  • 0c928da96d tcc: Draft suppoprt for -MD/-MF options Kirill Smelkov 2010-06-20 20:08:12 +04:00
  • 3ba37e1e3f tccgen: Revert yuanbin's recent patches grischka 2010-06-21 18:21:44 +02:00
  • 433ecdfc9d implemented C99 for loop with variable declaration Claudio Bley 2010-06-21 11:57:32 +02:00
  • bdae4a59c3 tcc: Refactor "compute default outfile name" into libtcc function Kirill Smelkov 2010-06-16 16:54:24 +04:00
  • a919a373da Add input files/libs and reloc_output switch to TCCState Kirill Smelkov 2010-06-20 19:49:58 +04:00
  • 66b54af8ea tcc: Fix typo in error (it's '%s', not '%s) Kirill Smelkov 2010-06-16 16:51:55 +04:00
  • 87db8b637e chmod a-x i386-gen.c Kirill Smelkov 2010-06-16 14:37:08 +04:00
  • 632ee5a540 Revert "Complain for static fct declared w/o file scope" grischka 2010-06-15 17:03:23 +02:00
  • 10b4802869 Fix "Fix bashims in configure ..." for MSYS grischka 2010-06-15 17:02:35 +02:00
  • 5fcd1fef1c Fix last commits: remove CRLF, chmod 644 tccgen.c grischka 2010-06-15 17:02:09 +02:00
  • d351384fdc tccgen: skip ')' in front of ',' for initializer yuanbin 2010-06-13 14:50:53 +08:00
  • 952e83e0ca tccgen: skip fields from same union yuanbin 2010-06-13 02:37:28 +08:00
  • d6ce75b4d6 tccgen.c: skip fields from same union yuanbin 2010-06-13 01:12:36 +08:00
  • 5344b2e73b .gitignore += *.o *.a Kirill Smelkov 2010-06-12 18:26:37 +04:00
  • de7a214c17 .cvsignore -> .gitignore Kirill Smelkov 2010-06-12 18:18:19 +04:00
  • dd72577759 tccgen: initial the last member of union yuanbin 2010-06-11 21:18:05 +08:00
  • 6709933d78 tccgen: initial last member of union yuanbin 2010-06-11 20:28:31 +08:00
  • dc265feb63 Fix bashims in configure and gcctestsuite.sh. Thomas Preud'homme 2010-05-26 13:45:16 +02:00
  • a867f42597 don't discard SHT_((PRE)INIT|FINI)_ARRAY sections Daniel Glöckner 2010-05-15 01:26:56 +02:00
  • 128e46f91b ARM: add support for R_ARM_V4BX Daniel Glöckner 2010-05-15 01:23:34 +02:00
  • 20a1cba286 ARM: implement rt_get_caller_pc Daniel Glöckner 2010-05-14 14:22:32 +02:00
  • 741841d863 ARM: allow jumps > 32MB on -run Daniel Glöckner 2010-05-14 13:07:59 +02:00
  • a64727ba7d append ULL to big constants Daniel Glöckner 2010-05-13 22:18:33 +02:00
  • 3de023b6c6 ARM: use uint32_t for opcodes Daniel Glöckner 2010-05-13 22:17:09 +02:00
  • 6eac6b7254 Revert "tccpp: Allow local labels to start with a dot" Daniel Glöckner 2010-05-06 21:42:37 +02:00
  • 8eb86ab78d Add nan, snan and inf float constants Thomas Preud'homme 2010-05-06 02:19:00 +02:00
  • 2220467fcf Don't load libtcc1 on arch where it doesn't exist Thomas Preud'homme 2010-04-27 20:13:19 +02:00
  • a28b18fa16 Link alias symbols together Thomas Preud'homme 2010-04-26 00:46:39 +02:00
  • 036ff17916 reverse another unnecessary change -m32 is set elsewhere now. Henry Kroll III 2010-04-29 23:52:20 -07:00
  • 1f62f2253c recursive Makefiles should use $(MAKE), not "make" add clean: target for lib/tcc1.def Henry Kroll III 2010-04-29 23:06:23 -07:00
  • c7a4e11bf1 remove superfluous LIBS=. (leftover from work on --disable-statc) Henry Kroll III 2010-04-28 16:15:19 -07:00
  • 209caeedee Summary of commits + added some brief comments to Makefile Henry Kroll III 2010-04-26 23:20:35 -07:00
  • ac0b7d82d8 don't build tcc1.def on Windows. I think the Windows build portion of the Makefile already provides their own version. If not, we can remove the check. Henry Kroll III 2010-04-26 01:27:15 -07:00
  • 765992396f Makefile fixup: * additional make target for lib/tcc1.def on non-win32 builds tcc1.def was formerly lib/libtcc1.a but has bee made into its own Makefile target, tcc1.def Henry Kroll III 2010-04-25 13:34:02 -07:00
  • 07eb850608 make --enable-cross work properly on x86_64 merge more changes from Fedora spec file into Makefile I did a lot of reading on Makefiles. It should be a lot less hacked now that I got rid of my temporary cross-build script. I had to build i386-win32-tcc as 32 bit in order to use it to build the windows version of libtcc1.a and move that into lib directory. Still testing, but it does build windows fib.exe smoothly now and generates shard lib, libtcc.so.1.0 and test links against it. Henry Kroll III 2010-04-25 00:35:25 -07:00
  • 1a8e7d9fbb Merge branch 'mob' of ssh://repo.or.cz/srv/git/tinycc into makefile Henry Kroll III 2010-04-25 00:32:10 -07:00
  • 239fdf0b87 remove make_libtcc1_win32.sh shell script and merge commands into Makefile Henry Kroll III 2010-04-24 21:58:12 -07:00
  • eb78e94300 reverse make win32 version of libtcc1.a patch Henry Kroll III 2010-04-24 21:58:12 -07:00
  • 80b4c698c2 make win32 version of libtcc1.a for cross-compiler on x86 / x86_64 Henry Kroll III 2010-04-24 13:27:56 -07:00
  • b0b29d8013 put tcc in /usr/lib64/tcc on distros that have it Henry Kroll III 2010-04-24 03:30:46 -07:00
  • 2ab42855cb make --with-selinux work with libtcc, too Henry Kroll III 2010-04-24 03:28:54 -07:00
  • a4ed587f61 add --disable-static option to build libtcc.so instead of libtcc.a for distros that want static libs Henry Kroll III 2010-04-24 02:35:43 -07:00
  • 1578322b06 fix typo in configure Henry Kroll III 2010-04-24 02:28:27 -07:00
  • 4686236091 i386-win32-tcc fails to build a valid win32 executable if built on x86_64 using --enable-cross. The easiest way to fix this is to put -m32 in the Makefile. Henry Kroll III 2010-04-23 18:32:09 -07:00
  • be7e339d8a Use mmap instead of exec mem for Selinux machines. Fixes crash on Fedora. Henry Kroll III 2010-04-20 23:40:33 -07:00
  • a64a6f36a0 Replace malloc+strcpy by tcc_strdup in ld_load_file_list Thomas Preud'homme 2010-04-20 22:25:16 +02:00
  • 6525a15919 Fix "already done" test in libname_to_filename() Thomas Preud'homme 2010-04-20 16:19:54 +02:00
  • 4d5fcfb971 Delete unused vtop_saved variable in unary_type Thomas Preud'homme 2010-04-20 16:12:41 +02:00
  • 3ad3168125 Clean changes introduced by 47abdbd Thomas Preud'homme 2010-04-20 15:49:34 +02:00
  • 809f489662 WinCE PE subsystem Timo VJ Lahde 2010-04-19 16:34:59 +03:00
  • 2cb1fd6a10 PE ARM: jump IAT arm code Timo VJ Lahde 2010-04-19 15:50:22 +03:00
  • 83b0bd3095 libtcc.c: fix compilation failure (inconsistent tcc_add_file_internal) Sergei Trofimovich 2010-04-19 11:46:36 +03:00
  • e4ed4e7f4f Support more arm EABI compatible architectures Thomas Preud'homme 2010-04-18 19:29:11 +02:00
  • e9406c09a3 Complain for static fct declared w/o file scope Thomas Preud'homme 2010-04-13 21:08:37 +02:00
  • 47abdbd3d5 Better handle ld scripts Thomas Preud'homme 2010-03-30 09:45:31 +02:00
  • 6d4166df61 Don't prefix $prefix with $(DESTDIR) in configure Thomas Preud'homme 2010-04-15 19:10:59 +02:00
  • 8de9b7a631 Correctly support all unary expression with sizeof Thomas Preud'homme 2010-04-11 01:53:40 +02:00
  • 6655e06ec8 Error out on bad char array initialization Romain Francoise 2010-03-13 18:07:57 +01:00
  • d2cf970a41 tccelf: fix warning grischka 2010-04-13 18:30:01 +02:00
  • e6f43dd0c6 win32: sys/timeb.h use _ftime instead of _ftime32 grischka 2010-04-12 20:56:13 +02:00
  • a3b932b3f9 tccgen: Fix broken use of ATTR_MODE Detlef Riekenberg 2010-04-06 22:53:16 +02:00
  • 264a103610 tccgen: Detect (but ignore) function redirection Detlef Riekenberg 2010-04-06 00:33:15 +02:00
  • 34dabe496f libtcc: Detect (but ignore) -init and -fini for -Wl Detlef Riekenberg 2010-04-05 22:56:33 +02:00
  • 87574de8ed libtcc: Support -soname for the linker Detlef Riekenberg 2010-04-05 21:37:54 +02:00
  • 78e83d8761 libtcc: Allow multiple options for -Wl separated with ',' Detlef Riekenberg 2010-04-05 21:21:58 +02:00
  • a135dd50c6 tccasm: Detect (but ignore) .ident directive Detlef Riekenberg 2010-04-05 12:45:52 +02:00
  • 558258a301 tccasm: Detect (but ignore) .size directive Detlef Riekenberg 2010-04-05 12:43:51 +02:00
  • 6825c5db72 tccasm: Support .type directive (only name,@function) Detlef Riekenberg 2010-04-05 12:31:45 +02:00
  • f740485a5a tccpp: Allow local labels to start with a dot Detlef Riekenberg 2010-04-05 12:28:27 +02:00
  • 9ff7a0bc98 tccasm: Detect (but ignore) the .file directive Detlef Riekenberg 2010-04-05 12:19:49 +02:00
  • 197a6acb30 Avoid a crash with weak symbols for "make test" Timo VJ Lähde 2010-04-05 01:08:49 +02:00
  • d3c432244c generate inc and dec for smaller code U-UNIT1\dennis 2010-04-03 21:20:34 +03:00
  • 27bcc8f583 tinylibmaker: On error situation tempfile was not removed unknown 2010-04-03 11:31:38 +03:00
  • 95bc36a149 tccpp: Add missing bracket in an error message Detlef Riekenberg 2010-03-31 00:42:39 +02:00
  • 4d05a6319d Catch array[index] with unknown sizeof(*array) Daniel Glöckner 2010-03-15 22:37:41 +01:00
  • 95b9a477b6 weak function symbols Manuel Simoni 2010-02-27 17:37:59 +01:00
  • d63ec6f20d fill got table for static linking Ali Gholami Rudi 2010-02-04 23:08:01 +03:30
  • b9aeac0a64 Fixed bug which prevent tcc preprocessor to ignore line number directives Alexandre Becoulet 2010-02-01 18:08:51 +01:00
  • 253bad7993 Added patch to detect and use the paths for 64bit libraries as used by CentOS (affects X86_64 only). Nikos Mavrogiannopoulos 2010-01-28 08:27:38 +01:00
  • 900871ca8d Dump the current token in skip(), when it's not the expected token Detlef Riekenberg 2010-01-27 00:02:33 +01:00
  • 62ba135228 Add support for --help Detlef Riekenberg 2010-01-26 22:58:48 +01:00
  • a975008ae7 Add support for the __mode__ attribute Detlef Riekenberg 2010-01-26 22:56:22 +01:00
  • 2650584ac4 Recognize -Wl,-Bsymbolic Detlef Riekenberg 2010-01-26 22:55:14 +01:00