[PATCH] elf/x86: Issue an error on discarded output .plt section
Alan Modra
amodra@gmail.com
Mon Nov 22 00:08:56 GMT 2021
On Thu, Nov 18, 2021 at 07:58:11AM -0800, H.J. Lu via Binutils wrote:
> Issue an error, instead of crash, on discarded output .plt section.
Are you sure you want an error? There may be uses of the linker where
discarding the .plt via a linker script is deliberate. Obviously it
wouldn't be to create a runnable executable, but ld output is used in
weird ways.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list