From bec84fa00a4c4b2fab34e49fb8308e372c734709 Mon Sep 17 00:00:00 2001 From: Joe Soroka Date: Thu, 24 Feb 2011 09:24:02 -0800 Subject: tccasm: support alternate .type syntaxes --- tests/asmtest.S | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'tests') diff --git a/tests/asmtest.S b/tests/asmtest.S index d4d83ad..8ae19d4 100644 --- a/tests/asmtest.S +++ b/tests/asmtest.S @@ -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" + -- cgit v1.3.1