Commit Graph
100 Commits
Author SHA1 Message Date
bellard 122198a8c2 update 2002-11-24 15:58:28 +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 6cd2d5d2c8 update 2002-11-03 00:44:38 +00:00
bellard 923627f030 computed goto test 2002-11-03 00:44:07 +00:00
bellard 804d0c8d41 added computed gotos - better runtime error handling 2002-11-03 00:43:55 +00:00
bellard fde824b7cd handle computed gotos 2002-11-03 00:43:01 +00:00
bellard bde35a81f3 simplified error handling 2002-11-03 00:42:33 +00:00
bellard b31d34fa0b sizeof/alignof/typeof tests 2002-11-02 20:46:36 +00:00
bellard b8772fc99a all keywords are now in tcctok.h 2002-11-02 20:46:19 +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 973eb60e01 more long long tests - more ## tests 2002-11-02 14:14:50 +00:00
bellard 05a919e29f added better error support 2002-11-02 14:14:08 +00:00
bellard e4c7dd5e60 removed many memory leaks - suppressed many global variables 2002-11-02 14:13:21 +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 10f5d44f43 update 2002-09-08 22:13:54 +00:00
bellard 3748975feb trivial jump size optimization 2002-09-08 22:06:11 +00:00
bellard 1cb355747a update 2002-09-08 21:56:11 +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 f1418e836f more tests 2002-08-31 12:45:26 +00:00
bellard bc427f5bec update 2002-08-31 12:44:16 +00:00
bellard 540d31895c added alloca 2002-08-31 12:44:05 +00:00
bellard 5c81896e06 double fix 2002-08-31 12:43:53 +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 431d648096 fixed PC32 relocation if constant address 2002-08-31 12:42:16 +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 5e85ad260d fixed strlen - added __FUNCTION__ 2002-08-29 21:15:05 +00:00
bellard 5370be48e2 updated 2002-08-18 14:44:08 +00:00
bellard f946dffd33 suppressed section_ptr - fixed constant string allocation 2002-08-18 14:34:57 +00:00
bellard 524be938fd updated 2002-08-18 14:34:02 +00:00
bellard 2eddd13c10 tccelf.c 2002-08-18 14:31:04 +00:00
bellard cdf51a7a2a added cvsignore 2002-08-18 13:27:16 +00:00
bellard 4264267299 added support for standalone operation 2002-08-18 13:25:38 +00:00
bellard 59b27e85d9 added include tests 2002-08-18 13:25:12 +00:00
bellard 796866862f updated 2002-08-18 13:24:19 +00:00
bellard f5b9220b60 added tcc_add_sysinclude_path() 2002-08-18 13:24:03 +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 4891761bc9 realloc text section in code generation 2002-08-18 13:19:18 +00:00
bellard acba7d10a2 better #line and #include tests 2002-08-18 13:18:20 +00:00
bellard 3a58c53eaf moved ELF specific stuff to tccelf.c 2002-08-18 13:17:59 +00:00
bellard 4c9c0ab114 added size info 2002-07-27 23:08:29 +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 8264c257e7 more tests 2002-07-27 14:06:23 +00:00
bellard a42941b1f0 use data_offset in sections instead of pointer to ease section reallocation 2002-07-27 14:06:11 +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 20f4085145 added FPU control word 2002-07-24 22:13:23 +00:00
bellard 840d197e87 update 2002-07-24 22:13:02 +00:00
bellard e9315f499b added bound check symbols 2002-07-24 22:12:47 +00:00
bellard b2834b35b5 api change 2002-07-24 22:12:38 +00:00
bellard 3f13ae4961 bcheck.c is now a tcc library 2002-07-24 22:11:56 +00:00
bellard 58af3a6cd2 moved bcheck.c outside of tcc - optimized add sp code 2002-07-24 22:11:30 +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 3d902af1a9 moved relocation handling to elf generator 2002-07-22 00:20:57 +00:00
bellard 9051cc21af better elf output - generalized dynamic array use 2002-07-22 00:20:38 +00:00
bellard be44fce9cd added GOT support 2002-07-18 00:51:27 +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 f75e0c6d62 update options 2002-07-15 22:38:56 +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 82695ae971 fixed PC32 relocation 2002-07-14 23:00:53 +00:00
bellard 3cd4a7c4f9 better elf output - fixed float relocation data 2002-07-14 23:00:39 +00:00
bellard 9a8976d5eb update 2002-07-14 14:39:27 +00:00
bellard 6cd36b1285 added better relocation support (needed for file output) 2002-07-14 14:38:33 +00:00
bellard 7ab1ac48bb more tests 2002-07-13 17:24:30 +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 264dbcfed2 fixed floating poing compare - use LVAL type - optimized bound checking 2002-07-13 15:55:16 +00:00
bellard 30766d3cd1 converted to texinfo - added developper's guide 2002-07-13 15:21:18 +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
bellard 4e5a85292b correct line numbers when reparsing - added explicit TokenString structure - better logic for search path 2002-06-30 17:34:30 +00:00
bellard dd35b8ccd1 man page 2002-06-23 16:32:40 +00:00
bellard 14fb0c49d8 added arg to save_regs() 2002-05-13 23:00:39 +00:00
bellard 8f64c13c40 added libtcc - fixed spill reg bugs 2002-05-13 23:00:17 +00:00
bellard 1e14c90c7a added libtcc 2002-05-13 22:58:22 +00:00