Unified · Split
| @@ -603,6 +603,7 @@ They can be defined several times in the same source. Use 'b' · 602 unmodified lines | |||
| 603 | @cindex .long | 603 | @cindex .long |
| 604 | @cindex .string | 604 | @cindex .string |
| 605 | @cindex .globl | 605 | @cindex .globl |
| 606 | @cindex .global | ||
| 606 | @cindex .section | 607 | @cindex .section |
| 607 | @cindex .text | 608 | @cindex .text |
| 608 | @cindex .data | 609 | @cindex .data |
| @@ -621,6 +622,7 @@ supported: · 12 unmodified lines | |||
| 621 | @item .int value1[,value2...] | 622 | @item .int value1[,value2...] |
| 622 | @item .long value1[,value2...] | 623 | @item .long value1[,value2...] |
| 623 | @item .string string | 624 | @item .string string |
| 625 | @item .globl symbol | ||
| 624 | @item .global symbol | 626 | @item .global symbol |
| 625 | @item .section section | 627 | @item .section section |
| 626 | @item .text | 628 | @item .text |
| @@ -362,6 +362,7 @@ static void asm_parse_directive(TCCState *s1) · 361 unmodified lines | |||
| 362 | } | 362 | } |
| 363 | break; | 363 | break; |
| 364 | case TOK_ASM_globl: | 364 | case TOK_ASM_globl: |
| 365 | case TOK_ASM_global: | ||
| 365 | { | 366 | { |
| 366 | Sym *sym; | 367 | Sym *sym; |
| 367 | 368 | ||
| @@ -163,6 +163,7 @@ · 162 unmodified lines | |||
| 163 | DEF_ASM(space) | 163 | DEF_ASM(space) |
| 164 | DEF_ASM(string) | 164 | DEF_ASM(string) |
| 165 | DEF_ASM(globl) | 165 | DEF_ASM(globl) |
| 166 | DEF_ASM(global) | ||
| 166 | DEF_ASM(text) | 167 | DEF_ASM(text) |
| 167 | DEF_ASM(data) | 168 | DEF_ASM(data) |
| 168 | DEF_ASM(bss) | 169 | DEF_ASM(bss) |