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 19a169ceb8.
This commit is contained in:
grischka
2016-10-01 19:56:25 +02:00
parent e238e6521b
commit cf32bb8812
6 changed files with 3 additions and 43 deletions

1
tcc.h
View File

@ -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) */