| @@ -58,6 +58,9 @@ these checks even if non patched libraries are used. · 57 unmodified lines |
| 58 | With @code{libtcc}, you can use TCC as a backend for dynamic code | 58 | With @code{libtcc}, you can use TCC as a backend for dynamic code |
| 59 | generation (@pxref{Libtcc}). | 59 | generation (@pxref{Libtcc}). |
| 60 | | 60 | |
| | 61 | TCC mainly supports the i386 target. There are alpha ports for the ARM |
| | 62 | (@code{arm-tcc}) and the TMS320C67xx targets (@code{c67-tcc}). |
| | 63 | |
| 61 | @node Invoke | 64 | @node Invoke |
| 62 | @chapter Command line invocation | 65 | @chapter Command line invocation |
| 63 | | 66 | |
| @@ -211,6 +214,9 @@ Let the @code{char} type be unsigned. · 147 unmodified lines |
| 211 | @item -fsigned-char | 214 | @item -fsigned-char |
| 212 | Let the @code{char} type be signed. | 215 | Let the @code{char} type be signed. |
| 213 | | 216 | |
| | 217 | @item -fno-common |
| | 218 | Do not generate common symbols for uninitialized data. |
| | 219 | |
| 214 | @end table | 220 | @end table |
| 215 | | 221 | |
| 216 | Warning options: | 222 | Warning options: |
| @@ -272,6 +278,20 @@ opened with @code{dlopen()} needs to access executable symbols. · 55 unmodified lines |
| 272 | Generate an object file combining all input files (@option{-o} option must | 278 | Generate an object file combining all input files (@option{-o} option must |
| 273 | also be given). | 279 | also be given). |
| 274 | | 280 | |
| | 281 | @item -Wl,-Ttext,address |
| | 282 | Set the start of the .text section to @var{address}. |
| | 283 | |
| | 284 | @item -Wl,--oformat,fmt |
| | 285 | Use @var{fmt} as output format. The supported output formats are: |
| | 286 | @table @code |
| | 287 | @item elf32-i386 |
| | 288 | ELF output format (default) |
| | 289 | @item binary |
| | 290 | Binary image (only for executable output) |
| | 291 | @item coff |
| | 292 | COFF output format (only for executable output for TMS320C67xx target) |
| | 293 | @end table |
| | 294 | |
| 275 | @end table | 295 | @end table |
| 276 | | 296 | |
| 277 | Debugger options: | 297 | Debugger options: |
| @@ -628,6 +648,12 @@ supported: · 350 unmodified lines |
| 628 | @item .text | 648 | @item .text |
| 629 | @item .data | 649 | @item .data |
| 630 | @item .bss | 650 | @item .bss |
| | 651 | @item .fill repeat[,size[,value]] |
| | 652 | @item .org n |
| | 653 | @item .previous |
| | 654 | @item .string string[,...] |
| | 655 | @item .asciz string[,...] |
| | 656 | @item .ascii string[,...] |
| 631 | @end itemize | 657 | @end itemize |
| 632 | | 658 | |
| 633 | @section X86 Assembler | 659 | @section X86 Assembler |