mirror of
https://github.com/frida/tinycc
synced 2024-12-25 22:46:49 +03:00
both .globl and .global directives are accepted by as
This commit is contained in:
parent
c1265d1616
commit
8da6027e73
@ -603,6 +603,7 @@ They can be defined several times in the same source. Use 'b'
|
|||||||
@cindex .long
|
@cindex .long
|
||||||
@cindex .string
|
@cindex .string
|
||||||
@cindex .globl
|
@cindex .globl
|
||||||
|
@cindex .global
|
||||||
@cindex .section
|
@cindex .section
|
||||||
@cindex .text
|
@cindex .text
|
||||||
@cindex .data
|
@cindex .data
|
||||||
@ -621,6 +622,7 @@ supported:
|
|||||||
@item .int value1[,value2...]
|
@item .int value1[,value2...]
|
||||||
@item .long value1[,value2...]
|
@item .long value1[,value2...]
|
||||||
@item .string string
|
@item .string string
|
||||||
|
@item .globl symbol
|
||||||
@item .global symbol
|
@item .global symbol
|
||||||
@item .section section
|
@item .section section
|
||||||
@item .text
|
@item .text
|
||||||
|
1
tccasm.c
1
tccasm.c
@ -362,6 +362,7 @@ static void asm_parse_directive(TCCState *s1)
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case TOK_ASM_globl:
|
case TOK_ASM_globl:
|
||||||
|
case TOK_ASM_global:
|
||||||
{
|
{
|
||||||
Sym *sym;
|
Sym *sym;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user