Re: [PATCH v2 2/3] mkimage: avoid copying relocations for sections that won't be copied.

2018-02-21 Thread Daniel Kiper
On Tue, Feb 20, 2018 at 06:25:32PM -0500, Peter Jones wrote: > Some versions of gcc include a plugin called "annobin", and in some > build systems this is enabled by default. This plugin creates special > ELF note sections to track which ABI-breaking features are used by a > binary, as well as a s

[PATCH v2 2/3] mkimage: avoid copying relocations for sections that won't be copied.

2018-02-20 Thread Peter Jones
Some versions of gcc include a plugin called "annobin", and in some build systems this is enabled by default. This plugin creates special ELF note sections to track which ABI-breaking features are used by a binary, as well as a series of relocations to annotate where. If grub is compiled with thi