[PATCH v2] gold: add --package-metadata
Tue Aug 2 10:50:08 GMT 2022
On Fri, 29 Jul 2022 at 23:29, <email@example.com> wrote:
> From: Luca Boccassi <firstname.lastname@example.org>
> Following the same format as the implementation in ld:
> Generate a .note.package FDO package metadata ELF note, following
> the spec: https://systemd.io/ELF_PACKAGE_METADATA/
> If the jansson library is available at build time (and it is explicitly
> enabled), link ld to it, and use it to validate that the input is
> correct JSON, to avoid writing garbage to the file. The
> configure option --enable-jansson has to be used to explicitly enable
> it (error out when not found). This allows bootstrappers (or others who
> are not interested) to seamlessly skip it without issues.
> v2: apply fixes from review
Anything else you'd like me to change here? Thanks!
More information about the Binutils