WHOLE_ARCHIVE link feature: rely now on linker configuration

Fixes: #26019
26 files changed