From cf32bb8812583583f526ee0faf8c8f7d7799210c Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 1 Oct 2016 19:56:25 +0200 Subject: Revert "--whole-archive support" - would parse linker args in two different places - would mess up "tcc -v ..." output: tcc -v test.c -> test.c +> test.c - would use function "tcc_load_alacarte()" to do the contrary of what its name suggests. This reverts commit 19a169ceb896f78205bc23b847938c58f14d1dda. --- tcc.h | 1 - 1 file changed, 1 deletion(-) (limited to 'tcc.h') diff --git a/tcc.h b/tcc.h index 9b292eb..f14c884 100644 --- a/tcc.h +++ b/tcc.h @@ -692,7 +692,6 @@ struct TCCState { int rdynamic; /* if true, all symbols are exported */ int symbolic; /* if true, resolve symbols in the current module first */ int alacarte_link; /* if true, only link in referenced objects from archive */ - int whole_archive; /* if true, link in a whole *.a even when alacarte_link */ char *tcc_lib_path; /* CONFIG_TCCDIR or -B option */ char *soname; /* as specified on the command line (-soname) */ -- cgit v1.3.1