[PATCH 2/5] ld: Add lto and none-lto input support for ld -r
Alan Modra
amodra@gmail.com
Mon Oct 26 00:43:53 GMT 2020
On Wed, Oct 21, 2020 at 04:35:08AM -0700, H.J. Lu via Binutils wrote:
> (cmdline_emit_object_only_section): Likewise.
This is really "run the linker again to produce another output" isn't
it? So, why not actually run the linker again rather than duplicating
(and complicating) a whole lot of code. See for example spuelf.em
spu_elf_relink.
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list