aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2016-04-13 03:52:07 +0300
committerseyko <seyko2@gmail.com>2016-04-13 03:52:07 +0300
commit131d776d662372747dbec2aebcee5067e62e12ea (patch)
tree3550668089a4e67840be8a34d923ca8622ed712c /tcc.h
parent174d06a3ff549702d1c7b9df6ce7a096801ba3ae (diff)
downloadtinycc-131d776d662372747dbec2aebcee5067e62e12ea.tar.gz
tinycc-131d776d662372747dbec2aebcee5067e62e12ea.tar.bz2
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 '.'
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h4
1 files changed, 1 insertions, 3 deletions
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 */