[Bug tools/21332] elflint doesn't handle compressed sections

rguenther at suse dot de sourceware-bugzilla@sourceware.org
Thu Mar 30 12:41:00 GMT 2017


https://sourceware.org/bugzilla/show_bug.cgi?id=21332

--- Comment #2 from rguenther at suse dot de ---
On Thu, 30 Mar 2017, mark at klomp dot org wrote:

> https://sourceware.org/bugzilla/show_bug.cgi?id=21332
> 
> Mark Wielaard <mark at klomp dot org> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |mark at klomp dot org
> 
> --- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
> eu-elflint probably doesn't handle compressed ELF sections. And it would be
> some work to make it handle them because it does check various references
> between sections and seems to assume any of those are against normal
> (uncompressed) sections.
> 
> The question is how did a compressed ELF section end up in the elfstrmerge.o
> file in the first place? Especially since it apparently isn't in the resulting
> EXE file. Seems somehow the ET_REL file got created with a compressed ELF
> section, but then the linker fixed things up again?

Recent GAS versions compress debug sections by default (but ld then
uncompresses again for the final exe).  Supposedly to improve I/O.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list