History

update

bellard committed 22 years ago

Commit 2a6c1041 parent 38e8a232 files · +32 −1Browse files

Unified · Split

2 files
  1. TODO +6 −1
  2. tcc-doc.texi +26 −0
TODO+6−1
@@ -1,5 +1,11 @@
11 TODO list:
22
3+- bug with defines:
4+ #define spin_lock(lock) do { } while (0)
5+ #define wq_spin_lock spin_lock
6+ #define TEST() wq_spin_lock(a)
7+- see bugfixes.diff + improvement.diff from Daniel Glockner
8+- constructors
39 - cast bug (Peter Wang)
410 - define incomplete type if defined several times (Peter Wang).
511 - long long constant evaluation
@@ -13,7 +19,6 @@ TODO list: · 7 unmodified lines
1319 - '-b' bug.
1420 - atexit (Nigel Horne)
1521 - see -lxxx bug (Michael Charity).
16−- handle inline functions as macros.
1722 - see transparent union pb in /urs/include/sys/socket.h
1823 - precise behaviour of typeof with arrays ? (__put_user macro)
1924 - #include_next support for /usr/include/limits ?
tcc-doc.texi+26−0
@@ -58,6 +58,9 @@ these checks even if non patched libraries are used. · 57 unmodified lines
5858 With @code{libtcc}, you can use TCC as a backend for dynamic code
5959 generation (@pxref{Libtcc}).
6060
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+
6164 @node Invoke
6265 @chapter Command line invocation
6366
@@ -211,6 +214,9 @@ Let the @code{char} type be unsigned. · 147 unmodified lines
211214 @item -fsigned-char
212215 Let the @code{char} type be signed.
213216
217+@item -fno-common
218+Do not generate common symbols for uninitialized data.
219+
214220 @end table
215221
216222 Warning options:
@@ -272,6 +278,20 @@ opened with @code{dlopen()} needs to access executable symbols. · 55 unmodified lines
272278 Generate an object file combining all input files (@option{-o} option must
273279 also be given).
274280
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+
275295 @end table
276296
277297 Debugger options:
@@ -628,6 +648,12 @@ supported: · 350 unmodified lines
628648 @item .text
629649 @item .data
630650 @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[,...]
631657 @end itemize
632658
633659 @section X86 Assembler

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t