changeset 327:cb4a2ec45cf7

[project @ 2004-10-23 23:11:05 by bellard] update
author bellard
date Sat, 23 Oct 2004 23:11:05 +0000
parents 905fe5e8b705
children 3fe3ae25515d
files TODO tcc-doc.texi
diffstat 2 files changed, 32 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/TODO	Sat Oct 23 22:54:24 2004 +0000
+++ b/TODO	Sat Oct 23 23:11:05 2004 +0000
@@ -1,5 +1,11 @@
 TODO list:
 
+- bug with defines:
+    #define spin_lock(lock) do { } while (0)
+    #define wq_spin_lock spin_lock
+    #define TEST() wq_spin_lock(a)
+- see bugfixes.diff + improvement.diff from Daniel Glockner
+- constructors
 - cast bug (Peter Wang)
 - define incomplete type if defined several times (Peter Wang).
 - long long constant evaluation
@@ -13,7 +19,6 @@
 - '-b' bug.
 - atexit (Nigel Horne)
 - see -lxxx bug (Michael Charity).
-- handle inline functions as macros.
 - see transparent union pb in /urs/include/sys/socket.h
 - precise behaviour of typeof with arrays ? (__put_user macro)
 - #include_next support for /usr/include/limits ?
--- a/tcc-doc.texi	Sat Oct 23 22:54:24 2004 +0000
+++ b/tcc-doc.texi	Sat Oct 23 23:11:05 2004 +0000
@@ -58,6 +58,9 @@
 With @code{libtcc}, you can use TCC as a backend for dynamic code
 generation (@pxref{Libtcc}).
 
+TCC mainly supports the i386 target. There are alpha ports for the ARM
+(@code{arm-tcc}) and the TMS320C67xx targets (@code{c67-tcc}).
+
 @node Invoke
 @chapter Command line invocation
 
@@ -211,6 +214,9 @@
 @item -fsigned-char
 Let the @code{char} type be signed.
 
+@item -fno-common
+Do not generate common symbols for uninitialized data.
+
 @end table
 
 Warning options:
@@ -272,6 +278,20 @@
 Generate an object file combining all input files (@option{-o} option must
 also be given).
 
+@item -Wl,-Ttext,address
+Set the start of the .text section to @var{address}.
+
+@item -Wl,--oformat,fmt
+Use @var{fmt} as output format. The supported output formats are:
+@table @code
+@item elf32-i386
+ELF output format (default)
+@item binary
+Binary image (only for executable output)
+@item coff
+COFF output format (only for executable output for TMS320C67xx target)
+@end table
+
 @end table
 
 Debugger options:
@@ -628,6 +648,12 @@
 @item .text
 @item .data
 @item .bss
+@item .fill repeat[,size[,value]]
+@item .org n
+@item .previous
+@item .string string[,...]
+@item .asciz string[,...]
+@item .ascii string[,...]
 @end itemize
 
 @section X86 Assembler