From 131d776d662372747dbec2aebcee5067e62e12ea Mon Sep 17 00:00:00 2001 From: seyko Date: Wed, 13 Apr 2016 03:52:07 +0300 Subject: revert of the 'Identifiers can start and/or contain' When tccboot kernels compiles with 'Identifiers can start and/or', this kernel don't start. It is hard to find what is wrong. PS: there was no test for identifiers in *.S with '.' --- tcc.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index f5d283e..c8031f3 100644 --- a/tcc.h +++ b/tcc.h @@ -958,9 +958,7 @@ struct TCCState { #define DEF_ASM(x) DEF(TOK_ASM_ ## x, #x) #define TOK_ASM_int TOK_INT -#define DEF_ASMDIR(x) DEF(TOK_ASMDIR_ ## x, "." #x) -#define TOK_ASMDIR_FIRST TOK_ASMDIR_byte -#define TOK_ASMDIR_LAST TOK_ASMDIR_section +#define TOK_ASM_weak TOK_WEAK1 #if defined TCC_TARGET_I386 || defined TCC_TARGET_X86_64 /* only used for i386 asm opcodes definitions */ -- cgit v1.3.1