tccasm: support alternate .type syntaxes

This commit is contained in:
Joe Soroka
2011-02-24 09:24:02 -08:00
parent 15b8a57096
commit bec84fa00a
2 changed files with 23 additions and 8 deletions

View File

@ -592,3 +592,17 @@ int $0x10
#ifdef __ASSEMBLER__ // should be defined, for S files
inc %eax
#endif
ft1: ft2: ft3: ft4: ft5: ft6: ft7: ft8: ft9:
xor %eax, %eax
ret
.type ft1,STT_FUNC
.type ft2,@STT_FUNC
.type ft3,%STT_FUNC
.type ft4,"STT_FUNC"
.type ft5,function
.type ft6,@function
.type ft7,%function
.type ft8,"function"