From e7a60e4d01a46ffb51ad4b963cad6b6f176105cb Mon Sep 17 00:00:00 2001 From: seyko Date: Sun, 12 Apr 2015 04:47:15 +0300 Subject: replace a method to force bcheck.o linking * define __bound_init as external_global_sym insteed of the compiling a tiny program * remove warning about buf[] when CONFIG_TCC_BCHECK is not defined --- tcctok.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tcctok.h') diff --git a/tcctok.h b/tcctok.h index cfc87b3..0303814 100644 --- a/tcctok.h +++ b/tcctok.h @@ -281,6 +281,7 @@ DEF(TOK___bound_main_arg, "__bound_main_arg") DEF(TOK___bound_local_new, "__bound_local_new") DEF(TOK___bound_local_delete, "__bound_local_delete") + DEF(TOK___bound_init, "__bound_init") # ifdef TCC_TARGET_PE DEF(TOK_malloc, "malloc") DEF(TOK_free, "free") -- cgit v1.3.1