[PATCH] libebl: Allow SHT_NOTE as relocation target type.

Mark Wielaard mark@klomp.org
Thu Feb 22 12:17:00 GMT 2018

On Wed, 2018-02-21 at 16:36 +0100, Mark Wielaard wrote:
> eu-elflint uses ebl_check_reloc_target_type to determine whether a section
> is a valid relocation target. In Fedora rawhide there are new ELF notes
> (annobin) which have relocations against them in ET_REL files. eu-elflint
> currently flags these as invalid. It looks like that is not correct.
> I cannot find any reason an SHT_NOTE section cannot have relocations
> against it. So this patch allows them.

Nick agreed with me, so I pushed this to master.

More information about the Elfutils-devel mailing list