History

both .globl and .global directives are accepted by as

bellard committed 22 years ago

Commit 8da60271 parent c1265d13 files · +4 −0Browse files

Unified · Split

3 files
  1. tcc-doc.texi +2 −0
  2. tccasm.c +1 −0
  3. tcctok.h +1 −0
tcc-doc.texi+2−0
@@ -603,6 +603,7 @@ They can be defined several times in the same source. Use 'b' · 602 unmodified lines
603@cindex .long603@cindex .long
604@cindex .string604@cindex .string
605@cindex .globl605@cindex .globl
606@cindex .global
606@cindex .section607@cindex .section
607@cindex .text608@cindex .text
608@cindex .data609@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 string624@item .string string
625@item .globl symbol
624@item .global symbol626@item .global symbol
625@item .section section627@item .section section
626@item .text628@item .text
tccasm.c+1−0
@@ -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
tcctok.h+1−0
@@ -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)

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