Re: [PATCH v3 6/7] mkimage: avoid copying relocations for sections that won't be copied.

2018-02-23 Thread Daniel Kiper
On Wed, Feb 21, 2018 at 03:20:28PM -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

[PATCH v3 6/7] mkimage: avoid copying relocations for sections that won't be copied.

2018-02-21 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