[PATCH] libctf: link: rejig lazy opening to not need weak symbols
Nick Alcock
nick.alcock@oracle.com
Mon Jul 28 12:31:19 GMT 2025
On 25 Jul 2025, Nick Alcock via Binutils told this:
> The ctf_link_add_ctf API function has a 'lazy opening' feature whereby,
> if you pass in the file but not a CTF archive, the archive is opened
> as late as possible during links. This is valuable mostly in
> cu-mapped links (a feature not accessible via GNU ld), where it
> ensures that, rather than eventually needing memory for the original
> link inputs, the smushed-together cu-mapped intermediate outputs,
> *and* the final output, we only need enough memory for the smushed-
> together outputs, the final output, and one input, since the inputs
> can be closed immediately after they are smushed together.
This is now pushed.
More information about the Binutils
mailing list