move ld script processing to the frontend

along with the relevant logic, making the libraries within subject to
the same search criteria as all the other libraries.

this unfortunately means doing file system access on all .so files when
targeting ELF to determine if they are linker scripts, however, I have a
plan to address this.
5b016e290aAndrew Kelley committed on 10/23/2024, 11:27:38 PMparenta4cc344
6 files changedLine totals unavailable