[PATCH] Also find CFI in sections of type SHT_X86_64_UNWIND

Mark Wielaard mark@klomp.org
Tue Nov 13 21:19:00 GMT 2018

On Sun, 2018-11-11 at 00:28 +0100, Mark Wielaard wrote:
> Found another issue while testing with a gcc 8.1 and gold setup I
> noticed some self-tests failed because elflint doesn't know about
> SHT_X86_64_UNWIND section type and cannot match the PT_GNU_EH_FRAME
> segment. The attached patch fixes it.

> Subject: [PATCH] elflint: Allow PT_GNU_EH_FRAME segment to match
>  SHT_X86_64_UNWIND section.
> The gold linker might generate an .eh_frame_hdr with a
> SHT_X86_64_UNWIND type instead of a SHT_PROGBITS type.

Pushed to master.

More information about the Elfutils-devel mailing list