Commit Graph

  • 9656560f14 Fix sizeof(char[a]) Michael Matz 2016-09-03 23:55:54 +02:00
  • 49bb5a7e06 Fix __builtin_constant_p(1000/x) Michael Matz 2016-09-03 23:23:13 +02:00
  • 5bd8aeb917 tccasm: Support refs to anon symbols from asm Michael Matz 2016-08-26 18:11:19 +02:00
  • dd57a34866 tccasm: Don't ignore # in preprocessor directives Michael Matz 2016-08-25 16:40:50 +02:00
  • e7ef087598 x86-asm: Accept all 32bit immediates Michael Matz 2016-08-24 17:50:23 +02:00
  • 372f4b6a4e Fix enum bitfields passed to stdarg functions Michael Matz 2016-08-15 18:54:11 +02:00
  • d720865fb6 Addresses of non-weak symbols are non-zero Michael Matz 2016-08-15 05:19:12 +02:00
  • be6d8ffc10 Fix access-after-free with statement expressions Michael Matz 2016-08-15 05:09:31 +02:00
  • d0d25ec7df tccpp: Allow computed include like 42.h Michael Matz 2016-08-08 22:26:11 +02:00
  • 0381387640 x86-asm: Correctly infer register size for bools Michael Matz 2016-08-08 20:46:16 +02:00
  • 9e0af6d2b5 x86-64-asm: Implement cmpxchg16b Michael Matz 2016-08-08 20:28:21 +02:00
  • ca8c1cd643 x86-64: Allow loads from some structs/unions Michael Matz 2016-08-08 20:18:11 +02:00
  • 9ae10cad1f tccasm: Lookup C symbols from ASM blocks Michael Matz 2016-08-07 05:37:43 +02:00
  • c4edfb4e08 tccasm: Implement .set sym, expr Michael Matz 2016-08-07 04:27:32 +02:00
  • 34fc6435ee enums and ints are compatible Michael Matz 2016-08-07 02:15:34 +02:00
  • b1a906b970 enums and ints are compatible Michael Matz 2016-08-07 00:09:10 +02:00
  • c0368604e1 x86-64-asm: Fix ltr/str and push/pop operands Michael Matz 2016-08-06 23:19:04 +02:00
  • 45b24c37a0 x86-64-asm: Implement high %cr registers Michael Matz 2016-08-06 22:48:24 +02:00
  • 4e46c22d5c struct-init: Support range inits for local vars Michael Matz 2016-08-06 22:38:26 +02:00
  • 4cb7047f0f x86-64-asm: Support high registers %r8 - %r15 Michael Matz 2016-08-04 04:47:03 +02:00
  • 8765826465 inline-asm: Accept "flags" clobber Michael Matz 2016-08-02 17:45:40 +02:00
  • b7ca74577b struct-init: Allow member initialization from qualified lvalues Michael Matz 2016-08-01 22:55:07 +02:00
  • 9e86ebee94 struct-init: Correctly parse unnamed member initializers Michael Matz 2016-08-01 22:11:49 +02:00
  • 21da73c383 struct-init: Cleanup some more Michael Matz 2016-08-01 05:30:55 +02:00
  • 7bf323843e struct-init: Cleanup Michael Matz 2016-07-31 06:18:45 +02:00
  • ed7d54651d struct-init: Implement initializing subaggregates Michael Matz 2016-07-31 05:43:17 +02:00
  • 968bccdd2a struct-init: Reimplement Michael Matz 2016-07-24 00:43:49 +02:00
  • 5d0c16a884 Support attribute between double pointer stars Michael Matz 2016-07-15 17:56:20 +02:00
  • 662338f116 Fix function to pointer conversion Michael Matz 2016-07-14 04:09:49 +02:00
  • e034853b38 Fix parsing array typedefs of unknown size Michael Matz 2016-07-13 17:39:15 +02:00
  • b7e0b693a6 tccpp: Implement __BASE_FILE__ macro Michael Matz 2016-07-13 15:37:36 +02:00
  • 8a1a2a6033 Implement __builtin_choose_expr Michael Matz 2016-07-13 15:11:40 +02:00
  • 10e4db45dc x86-asm: Implement prefetchw opcode Michael Matz 2016-07-11 22:06:27 +02:00
  • 5692716770 x86-asm: Fix lar opcode operands Michael Matz 2016-07-11 21:41:15 +02:00
  • e3f2a68311 tcc-asm: Parse .size directive correctly Michael Matz 2016-07-11 21:16:43 +02:00
  • 6a5ec8cb3c x86-asm: More opcodes Michael Matz 2016-07-11 21:11:13 +02:00
  • d9d029006c x86-asm: Add [sl][ig]dtq opcodes Michael Matz 2016-07-11 19:57:39 +02:00
  • 75e8df126f inline asm: Accept 'R' constraint Michael Matz 2016-07-11 19:45:51 +02:00
  • f6c1eb10e2 x86-asm: Implement fxrstorq and fxsaveq Michael Matz 2016-07-11 18:53:44 +02:00
  • 2b618c1ab4 Fix parsing attributes for struct decls Michael Matz 2016-07-11 18:38:00 +02:00
  • 7e51546624 x86-asm: Implement clflush opcode Michael Matz 2016-07-11 17:25:18 +02:00
  • e5f4f8d0e7 inline asm: Accept "e" constraint Michael Matz 2016-07-11 17:03:53 +02:00
  • bbce31552e inline asm: accept concatenated strings in constraints Michael Matz 2016-07-11 16:42:18 +02:00
  • f9423ff3fa inline asm: Fix 'P' and accept some r<nr> registers Michael Matz 2016-07-11 16:28:48 +02:00
  • 10c3514889 Accept symbols in initializers also on 64 bit Michael Matz 2016-07-11 16:26:36 +02:00
  • 920474115c x86-64-asm: More opcodes Michael Matz 2016-06-30 16:14:32 +02:00
  • 1a5eacb445 tccasm: Implement compare expressions Michael Matz 2016-06-30 15:47:58 +02:00
  • ff5561ff7d x86-64-asm: Accept expressions for .quad Michael Matz 2016-06-29 19:22:07 +02:00
  • 253afeed1e inline asm: Accept 'p' constraint and 'P' template mod Michael Matz 2016-06-29 18:31:45 +02:00
  • 63e3ff7cca tccasm: Accept .balign Michael Matz 2016-06-29 17:22:05 +02:00
  • 8e4da42384 Accept more asm expressions Michael Matz 2016-06-29 15:57:32 +02:00
  • c82e52d55b tccasm: Implement .pushsection and .popsection Michael Matz 2016-06-28 15:11:06 +02:00
  • 6763b02abc Accept empty struct member decls Michael Matz 2016-06-28 15:09:40 +02:00
  • d5d881d9e9 x86-asm: Accept 'q' modifier Michael Matz 2016-06-27 20:21:57 +02:00
  • 8531de319a Accept concatenated strings in attributes Michael Matz 2016-06-27 20:10:53 +02:00
  • b6799ccd2e Accept -Wp,args Michael Matz 2016-06-27 20:09:40 +02:00
  • 2b3c7d2287 Change dependency file format a bit Michael Matz 2016-06-27 18:47:09 +02:00
  • b285fc50f3 Add --param, reject -mARG if ARG not 32 or 64 Michael Matz 2016-06-27 18:06:32 +02:00
  • 9285149548 Implement -include cmdline option Michael Matz 2016-06-27 16:40:00 +02:00
  • 21d2b71b5c Free defines before gen_inline_functions Michael Matz 2016-10-17 05:20:20 +02:00
  • 38e5cf0983 tccpp: Fix macro_is_equal Michael Matz 2016-05-18 20:36:59 +02:00
  • 8080401ab0 tccpp: free defines also with PP_BENCH Michael Matz 2016-05-18 20:30:09 +02:00
  • e2f489aaff x86-asm: Get rid of OPC_JMP and OPC_SHORTJMP Michael Matz 2016-05-16 05:58:30 +02:00
  • 4094f7c5fc x86-64-asm: Tidy Michael Matz 2016-05-15 19:20:41 +02:00
  • 58963828ab x86-asm: Correct mem64->xmm movq Michael Matz 2016-05-15 19:07:13 +02:00
  • 5a222588a8 x86-asm: Remove OPC_D16 Michael Matz 2016-05-15 18:50:21 +02:00
  • 8a10a442ff x86-asm: Fix register order Michael Matz 2016-12-12 17:53:09 +01:00
  • bde802df29 x86-asm: Reorganize instr_type Michael Matz 2016-05-15 18:46:05 +02:00
  • 4af6e087dd x86-asm: move stats code Michael Matz 2016-05-15 18:38:12 +02:00
  • ed35ac841b x86-asm: Add more SSE2 instructions Michael Matz 2016-05-15 06:54:42 +02:00
  • 2b7ee000cd tests: add .so/.dll creation test grischka 2016-12-15 17:04:07 +01:00
  • ca92bfc3c6 tccelf: some linker cleanup grischka 2016-12-15 17:01:22 +01:00
  • fe6453f8f0 Use functions to get relocation info Thomas Preud'homme 2016-12-10 17:22:08 +00:00
  • d31226c873 Remove now useless pltoff_addend reloc info Thomas Preud'homme 2016-12-10 17:18:09 +00:00
  • ee2108d07d Add missing relocation info for C67 target Thomas Preud'homme 2016-12-10 17:11:00 +00:00
  • 11747fe5d0 Error out in put_got_entry if no dynamic symbol Thomas Preud'homme 2016-12-05 21:00:35 +00:00
  • dfed9babfc Allow PLT/GOT entry for weak static symbol Thomas Preud'homme 2016-12-10 19:09:44 +08:00
  • 0bf262864c Fix PLT creation for i386 Thomas Preud'homme 2016-12-10 09:14:29 +00:00
  • e0fe69050d arm64: Fix regression introduced by 6245db9. Edmund Grimley Evans 2016-12-05 23:29:25 +00:00
  • 2372639e9d Fix set but not used error in arm64-link.c Thomas Preud'homme 2016-12-05 21:34:00 +00:00
  • 3811794048 Fix tcc_error params for R_AARCH64_(JUMP|CALL)26 Thomas Preud'homme 2016-12-05 21:33:24 +00:00
  • e22249b81c Error on unrecognized relocations Thomas Preud'homme 2016-12-05 20:58:00 +00:00
  • 557c5c1f11 Add relocs_info array to c67 backend Thomas Preud'homme 2016-12-05 20:52:02 +00:00
  • 59391d5520 Fix relocs_info declaration in tcc.h Thomas Preud'homme 2016-12-05 20:40:59 +00:00
  • 097cf3aa5e Control symbol table of which to relocate symbols Thomas Preud'homme 2016-11-12 23:16:09 +08:00
  • c4bec037be Code simplification in relocate_syms Thomas Preud'homme 2016-11-12 23:16:09 +08:00
  • 25927df3b7 Consolidate all relocations in relocate_section Thomas Preud'homme 2016-11-12 23:16:08 +08:00
  • 2c38800bbe Allow to get sym attr and fail if no entry Thomas Preud'homme 2016-11-12 23:16:07 +08:00
  • a11b0a67e3 Consolidate GOT creation in build_got_entries Thomas Preud'homme 2016-11-17 23:00:11 +00:00
  • 1c811a4d1d Make build_got_entries more target independent Thomas Preud'homme 2016-11-12 23:16:07 +08:00
  • 523b55d82d Only create GOT or GOT entry when needed Thomas Preud'homme 2016-11-17 22:54:06 +00:00
  • 6cd23d1d8c Recognize more relocations as needing GOT/PLT entry Thomas Preud'homme 2016-11-12 23:16:06 +08:00
  • cb273fdad8 Do section relocation in architecture backend Thomas Preud'homme 2016-11-12 23:16:06 +08:00
  • 60374d01ae Add address of GOT + 8 in PLT + 16 and fix PLT0 Thomas Preud'homme 2016-11-12 23:16:05 +08:00
  • f924d0ca96 Improve put_got_entry doc and structure Thomas Preud'homme 2016-11-12 23:16:05 +08:00
  • 64b5ee2dea Rename add_elf_sym to set_elf_sym Thomas Preud'homme 2016-11-12 23:16:04 +08:00
  • 9e6610b0aa Improve comments for symbol export and binding Thomas Preud'homme 2016-11-12 23:16:04 +08:00
  • e9769a7249 Do not add symbol if it is already there Thomas Preud'homme 2016-11-12 23:16:03 +08:00
  • bf692af31b Fix error logic for undefined reference in library Thomas Preud'homme 2016-11-12 23:16:03 +08:00
  • ccf9ed7d54 Clear SHF_GROUP flag when linking root 2016-11-25 21:29:01 +00:00