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

View File

@ -317,14 +317,6 @@ Generate an object file combining all input files.
@item -Wl,-rpath=path
Put custom search path for dynamic libraries into executable.
@item -Wl,--whole-archive
Add a whole archive, not just the symbols of the archive that would
satisfy undefined symbols in the program.
@item -Wl,--no-whole-archive
Turn off the effect of the --whole-archive option for subsequent archive
files.
@item -Wl,--oformat=fmt
Use @var{fmt} as output format. The supported output formats are:
@table @code