aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* put tcc in /usr/lib64/tcc on distros that have itHenry Kroll III2010-04-241-1/+1
|
* make --with-selinux work with libtcc, tooHenry Kroll III2010-04-243-34/+35
|
* add --disable-static option to build libtcc.so instead of libtcc.aHenry Kroll III2010-04-242-10/+33
| | | | for distros that want static libs
* fix typo in configureHenry Kroll III2010-04-241-1/+2
|
* i386-win32-tcc fails to build a valid win32 executable if builtHenry Kroll III2010-04-231-1/+1
| | | | | | | | | on x86_64 using --enable-cross. The easiest way to fix this is to put -m32 in the Makefile. Committer: Henry Kroll <henry@comptune.com> Committer: Henry Kroll <henry@comptune.com>
* Use mmap instead of exec mem for Selinux machines. Fixes crash on Fedora.Henry Kroll III2010-04-202-5/+41
|
* Replace malloc+strcpy by tcc_strdup in ld_load_file_listThomas Preud'homme2010-04-201-9/+3
|
* Fix "already done" test in libname_to_filename()Thomas Preud'homme2010-04-201-1/+1
| | | | if "(libname == '\0')" should be instead "if (libname != '\0')"
* Delete unused vtop_saved variable in unary_typeThomas Preud'homme2010-04-201-2/+0
|
* Clean changes introduced by 47abdbdThomas Preud'homme2010-04-203-89/+86
| | | | | | | | | | | | * Replace the save/load_buffer_state by a dynarray approach: - Filename and libname are added to a dynarray when first encountered - Load repeatedly the files in the dynarray until no new undefined symbol are encountered * Replace snprintf by sprintf in libname_to_filename * Use tcc_fileextension in filename_to_libname * Introduce a tcc_strcpy_part fonction to copy only a subset of a string * Move new_undef_syms declaration from tcc.h to tccelf.c
* WinCE PE subsystemTimo VJ Lahde2010-04-191-0/+2
|
* PE ARM: jump IAT arm codeTimo VJ Lahde2010-04-191-2/+13
|
* libtcc.c: fix compilation failure (inconsistent tcc_add_file_internal)Sergei Trofimovich2010-04-192-1/+2
| | | | | | | | | gcc -o libtcc1.o -c lib/libtcc1.c -O2 -Wall libtcc.c: At top level: libtcc.c:1063: error: static declaration of 'tcc_add_file_internal' follows non-static declaration tccelf.c:2915: note: previous implicit declaration of 'tcc_add_file_internal' was here Signed-off-by: Sergei Trofimovich <st@anti-virus.by>
* Support more arm EABI compatible architecturesThomas Preud'homme2010-04-181-1/+1
| | | | | | | Add support for: - armv5tel - armv6j - armv7a
* Complain for static fct declared w/o file scopeThomas Preud'homme2010-04-151-0/+3
| | | | | Error out on static function without file scope and give an explaination to the user
* Better handle ld scriptsThomas Preud'homme2010-04-153-3/+136
| | | | | | | * search file from INPUT and GROUP commands in the library path in addition to the current directory * handle libraries specified by -lfoo options * Search lib in GROUP command repeatedly
* Don't prefix $prefix with $(DESTDIR) in configureThomas Preud'homme2010-04-151-1/+1
| | | | | | | Prefixing $prefix with $(DESTDIR) is an error as it could lead for example to mandir being equal to $(DESTDIR)$prefix/man where $prefix itself is equal to $(DESTDIR)/usr/local which make man be equal to $(DESTDIR)$(DESTDIR)/usr/local/man
* Correctly support all unary expression with sizeofThomas Preud'homme2010-04-151-6/+19
| | | | | | | Unary expression can start with a parenthesis. Thus, the current test to detect which sizeof form is being parsed is inaccurate. This patch makes tcc able to handle things like sizeof (x)[1] where x is declared as char x[5]; wich is a valid unary expression
* Error out on bad char array initializationRomain Francoise2010-04-151-0/+3
| | | | | | | Error out with an explicit message when trying to initialize a character array with something that's not a literal (optionally enclosed in braces) as per C99 6.7.8:14; thanks to Antti-Juhani Kaijanaho <ajk@debian.org> who did all the work.
* tccelf: fix warninggrischka2010-04-131-0/+2
|
* win32: sys/timeb.h use _ftime instead of _ftime32grischka2010-04-121-1/+2
|
* tccgen: Fix broken use of ATTR_MODEDetlef Riekenberg2010-04-061-2/+2
| | | | | | | Sorry for that. -- By by ... Detlef
* tccgen: Detect (but ignore) function redirectionDetlef Riekenberg2010-04-061-1/+30
| | | | | | | | tcc is now able to parse <stdio.h> from gcc, when __GNUC__ is also defined -- By by ... Detlef
* libtcc: Detect (but ignore) -init and -fini for -WlDetlef Riekenberg2010-04-054-13/+26
| | | | | -- By by ... Detlef
* libtcc: Support -soname for the linkerDetlef Riekenberg2010-04-051-0/+3
| | | | | -- By by ... Detlef
* libtcc: Allow multiple options for -Wl separated with ','Detlef Riekenberg2010-04-053-83/+116
| | | | | | | I moved the code to libtcc to prepare for a later tiny_ld -- By by ... Detlef
* tccasm: Detect (but ignore) .ident directiveDetlef Riekenberg2010-04-052-0/+19
| | | | | | | tcc is now able to compile many asm files generated by gcc -- By by ... Detlef
* tccasm: Detect (but ignore) .size directiveDetlef Riekenberg2010-04-052-0/+22
| | | | | -- By by ... Detlef
* tccasm: Support .type directive (only name,@function)Detlef Riekenberg2010-04-052-0/+32
| | | | | -- By by ... Detlef
* tccpp: Allow local labels to start with a dotDetlef Riekenberg2010-04-052-1/+10
| | | | | -- By by ... Detlef
* tccasm: Detect (but ignore) the .file directiveDetlef Riekenberg2010-04-052-0/+19
| | | | | | | | | Some patches, to allow tcc to compile asm sources generated by gcc and help tcc with the autoconf stuff used in Wine ( http://source.winehq.org/git/wine.git/ ) -- By by ... Detlef
* Avoid a crash with weak symbols for "make test"Timo VJ Lähde2010-04-051-1/+1
| | | | | | | Patch from the mailing list by Timo VJ Lähde -- By by ... Detlef
* generate inc and dec for smaller codeU-UNIT1\dennis2010-04-031-4/+10
|
* tinylibmaker: On error situation tempfile was not removedunknown2010-04-031-0/+3
|
* tccpp: Add missing bracket in an error messageDetlef Riekenberg2010-03-311-1/+1
|
* Catch array[index] with unknown sizeof(*array)Daniel Glöckner2010-03-151-2/+5
| | | | We could support this for index == 0, but GCC doesn't bother, so why should we?
* weak function symbolsManuel Simoni2010-02-276-3/+32
|
* fill got table for static linkingAli Gholami Rudi2010-02-053-0/+54
|
* Fixed bug which prevent tcc preprocessor to ignore line number directivesAlexandre Becoulet2010-02-011-1/+1
|
* Added patch to detect and use the paths for 64bit libraries asNikos Mavrogiannopoulos2010-01-284-2/+17
| | | | used by CentOS (affects X86_64 only).
* Dump the current token in skip(), when it's not the expected tokenDetlef Riekenberg2010-01-271-1/+1
|
* Add support for --helpDetlef Riekenberg2010-01-261-0/+1
|
* Add support for the __mode__ attributeDetlef Riekenberg2010-01-263-1/+30
| | | | | -- By by ... Detlef
* Recognize -Wl,-BsymbolicDetlef Riekenberg2010-01-263-0/+9
| | | | | | | | | | | | | | | Without -Bsymbolic, a symbol/function in a *.so can be overridden by a symbol/function in the main module. That is the default search order, but not supported by tcc. With -Bsymbolic, the linker tries to resolve a symbol/function in the current module first. The loader in tcc implements this search order. We do not distinguish -Bsymbolic and -Bsymbolic-function -- By by ... Detlef
* Makefile: Delete tcc-doc.html during 'make distclean'Detlef Riekenberg2010-01-261-1/+1
|
* win32: adjust for mingw32 winapi packagesgrischka2010-01-261-0/+11
| | | | | | Note: the files in tcc/win32/include/winapi are now from the mingw-w64 project, however with this fix using mingw32 winapi should still work.
* tccpp: signal missing #endif errorgrischka2010-01-141-2/+5
|
* tccpp: convert TOK_GET macro into functiongrischka2010-01-143-72/+68
|
* tccpp: warn about #define redefinitiongrischka2010-01-141-0/+19
|
* win64: defined size_t and ptrdiff_t to unsigned long longgrischka2010-01-143-31/+43
|