aboutsummaryrefslogtreecommitdiff
path: root/tccasm.c
diff options
context:
space:
mode:
authorbellard <bellard>2004-10-02 14:01:26 +0000
committerbellard <bellard>2004-10-02 14:01:26 +0000
commit8da6027e733ccde8982035ddca27c26949e8b49f (patch)
tree553c7555147c9ad4a6244d30a4a303265540c894 /tccasm.c
parentc1265d161696a2c1910053e83e9dba1834bc2992 (diff)
downloadtinycc-8da6027e733ccde8982035ddca27c26949e8b49f.tar.gz
tinycc-8da6027e733ccde8982035ddca27c26949e8b49f.tar.bz2
both .globl and .global directives are accepted by as
Diffstat (limited to 'tccasm.c')
-rw-r--r--tccasm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tccasm.c b/tccasm.c
index 7fb4062..c3f7e35 100644
--- a/tccasm.c
+++ b/tccasm.c
@@ -362,6 +362,7 @@ static void asm_parse_directive(TCCState *s1)
}
break;
case TOK_ASM_globl:
+ case TOK_ASM_global:
{
Sym *sym;