Commit Graph

115 Commits (75e743d23e77d9fef7576efe13dd7da492b4e955)

Author SHA1 Message Date
bellard 4df76253ad FreeBSD fixes - file type guessing - glibc2.2 fixes - ELF align issue 2002-12-08 14:35:31 +00:00
bellard abf909e1ac added static bit fields init - version change - #error and #warning fix - support aligned attribute without parameter 2002-11-24 16:00:08 +00:00
bellard b9d9425993 fixed structure type test - fixed enum parsing - added warning for int/ptr conversions instead of error 2002-11-24 14:56:25 +00:00
bellard 7b2721ff07 added empty structs support - changed double align to 4 (i386 default ABI) - added align support for structs - added GCC defines for basic types 2002-11-24 14:18:17 +00:00
bellard 0841db04c5 fixed structure init without {} - fixed function declaration parse 2002-11-23 23:56:12 +00:00
bellard ab9973c843 optimized unary() - fix long long signed comparisons 2002-11-23 23:12:26 +00:00
bellard 0adc5a8921 fixed line numbering 2002-11-23 22:35:28 +00:00
bellard a9f08655ac expression optimization 2002-11-23 22:26:46 +00:00
bellard 9e180474f0 optimized token strings - optimized token hashing 2002-11-23 22:02:40 +00:00
bellard 8901fbeef1 parsing optimizations 2002-11-23 18:15:17 +00:00
bellard b81d4ba6b3 prepared parser for direct use of file->buf_ptr - faster comment parsing 2002-11-22 23:28:06 +00:00
bellard cdcfed9737 restored include file optimization - added static on all globals 2002-11-22 22:16:30 +00:00
bellard 2956bd85cd suppressed ch1 and preparser 2002-11-22 18:12:41 +00:00
bellard e926c359bb error message fixes - CH_EOB is now '\' 2002-11-22 14:43:38 +00:00
bellard 2f219d8702 use CH_EOB 2002-11-22 14:12:28 +00:00
bellard 63965fc585 further parse optimizations 2002-11-22 13:37:52 +00:00
bellard 5286d3d84c suppressed secondary hash tables - began parsing optimization 2002-11-20 00:29:04 +00:00
bellard 9620fd18e4 added CType structure for type storage - supressed define hash table - added time dump in bench 2002-11-18 21:46:44 +00:00
bellard 804d0c8d41 added computed gotos - better runtime error handling 2002-11-03 00:43:55 +00:00
bellard 43f30315f9 added alignof and typeof - better sizeof support - fixed get_tok_str() for TOK_PPNUM 2002-11-02 20:45:52 +00:00
bellard c0180c4e5f added correct ## handling : added TOK_PPNUM token 2002-11-02 17:02:31 +00:00
bellard c62792e6aa ignore some gcc options - removed many memory leaks - suppressed many global variables 2002-11-02 14:12:32 +00:00
bellard d8ef07df04 added tcc_relocate() and tcc_get_symbol() 2002-09-08 22:46:32 +00:00
bellard 8ecc9cd789 macro optimization - string constant optimisation 2002-09-08 21:55:47 +00:00
bellard ab4da04aa9 added include file optimization 2002-09-08 19:34:32 +00:00
bellard 509fa60368 force #if #endif match in same file 2002-09-08 16:14:57 +00:00
bellard 405c88106d fixed bound checking for structures - fixed ?: type handling - fixed '--' parsing 2002-09-08 12:42:36 +00:00
bellard 44b19defc2 fixed octal char const parsing - better __FUNCTION__ handling - handling of static libraries in case of memory compilation 2002-08-31 12:43:39 +00:00
bellard 6dd6a026c3 better command line parsing - added -r option 2002-08-30 22:46:35 +00:00
bellard d2115bfb27 added symbol + relocation handling 2002-08-29 23:05:59 +00:00
bellard 46803f05e0 fixed local extern handling - fixed '!' with symbols 2002-08-29 21:57:41 +00:00
bellard 41391fbb20 added linux define - added __FUNCTION - fixed spaces parsing - defined special macros 2002-08-29 21:16:24 +00:00
bellard f946dffd33 suppressed section_ptr - fixed constant string allocation 2002-08-18 14:34:57 +00:00
bellard 53834650fb moved ELF stuff to tccelf.c - fixed #include and #line parsing - removed size limit on strings - added support for bound checking in generated executables - fixed -I include order - fixed incorrect function displayed in runtime error - fixed lvalue type when saved in local stack 2002-08-18 13:22:55 +00:00
bellard 7ac43f6d19 better DLL generation - added size to all ELF symbols - dynamic hash table size 2002-07-27 23:08:04 +00:00
bellard 18e40e1a25 add stripping if not debug mode - moved debug and bound check init 2002-07-27 15:38:21 +00:00
bellard 519ec30bcf added __start_x and __stop_x symbol generation - fp_hw fix for dynamic executables 2002-07-27 15:18:33 +00:00
bellard 9b48237795 use data_offset in sections instead of pointer to ease section reallocation - relocated .stabs and .bounds sections - fixed char constants casts - fixed implicit cast to unary plus - fixed type for string constants 2002-07-27 14:05:37 +00:00
bellard 540cd6fde7 fixed preprocessor expression parsing 2002-07-26 22:59:19 +00:00
bellard b12e91aa01 fixed command line help - added -B option - moved bcheck.c outside of tcc 2002-07-24 22:10:59 +00:00
bellard 6cdecbe4e6 added runtime library - fixed more relocations 2002-07-22 23:37:39 +00:00
bellard 9051cc21af better elf output - generalized dynamic array use 2002-07-22 00:20:38 +00:00
bellard 7b54a53e08 added archive support - better ELF output - fixed symbol relocation - added COMMON symbol handling 2002-07-18 00:51:11 +00:00
bellard a50e58e5ba more consistent command line handling 2002-07-15 22:17:02 +00:00
bellard 61a1599052 added object file reading support 2002-07-15 21:33:00 +00:00
bellard 3cd4a7c4f9 better elf output - fixed float relocation data 2002-07-14 23:00:39 +00:00
bellard 6cd36b1285 added better relocation support (needed for file output) 2002-07-14 14:38:33 +00:00
bellard 12f3f3592c better file output - fixed order of variable declaration if initializer is present 2002-07-13 17:23:25 +00:00
bellard 17cbb388d3 optimized bound checking 2002-07-13 15:55:38 +00:00
bellard 3d3e2372c5 added char/short types in lvalues to fix cast problems - added gcc style variadic macros - fixed zero arg macros - refuse extra comma at end of function call - fixed unused logical operation result case 2002-07-13 11:17:19 +00:00