On Wed, 2015-08-12 at 00:16 +0200, Mark Wielaard wrote:
gnuld has a really bad bug where it can place a NOBITS section
inside
a PT_LOAD segment. Normally that would not work. But it also makes sure
that the contents of the file is all zeros. So in practice it is actually
a PROGBITS section with all zero data. Except that other tools will think
there is an unused gap in the ELF file after the NOBITS section.
Recognize and check this pattern in elflint when --gnu is given.
Updated
https://fedorahosted.org/elfutils/wiki/ElflintGNU and pushed to
master.