diff options
| author | bellard <bellard> | 2004-10-02 14:01:26 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2004-10-02 14:01:26 +0000 |
| commit | 8da6027e733ccde8982035ddca27c26949e8b49f (patch) | |
| tree | 553c7555147c9ad4a6244d30a4a303265540c894 | |
| parent | c1265d161696a2c1910053e83e9dba1834bc2992 (diff) | |
| download | tinycc-8da6027e733ccde8982035ddca27c26949e8b49f.tar.gz tinycc-8da6027e733ccde8982035ddca27c26949e8b49f.tar.bz2 | |
both .globl and .global directives are accepted by as
| -rw-r--r-- | tcc-doc.texi | 2 | ||||
| -rw-r--r-- | tccasm.c | 1 | ||||
| -rw-r--r-- | tcctok.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/tcc-doc.texi b/tcc-doc.texi index 6261b5d..7379434 100644 --- a/tcc-doc.texi +++ b/tcc-doc.texi @@ -603,6 +603,7 @@ They can be defined several times in the same source. Use 'b' @cindex .long @cindex .string @cindex .globl +@cindex .global @cindex .section @cindex .text @cindex .data @@ -621,6 +622,7 @@ supported: @item .int value1[,value2...] @item .long value1[,value2...] @item .string string +@item .globl symbol @item .global symbol @item .section section @item .text @@ -362,6 +362,7 @@ static void asm_parse_directive(TCCState *s1) } break; case TOK_ASM_globl: + case TOK_ASM_global: { Sym *sym; @@ -163,6 +163,7 @@ DEF_ASM(space) DEF_ASM(string) DEF_ASM(globl) + DEF_ASM(global) DEF_ASM(text) DEF_ASM(data) DEF_ASM(bss) |
