[Patch] Don't relocate compressed sections

Mark Wielaard mjw at redhat.com
Wed Mar 28 18:08:31 UTC 2012


On Wed, 2012-03-28 at 09:50 -0700, Roland McGrath wrote:
> The readelf change just avoids a crash, that is fine.

Thanks, pushed.

> The other one is a dubious kludge and we should consider it more.

Yeah, sadly "dubious kludge" is how I would describe .z compressed
sections :)

This was the best I could come up with. Since we do support them and can
reliably detect them I think this is currently the best we can/must do.
A user of libdwfl that uses .z compressed section needs them unrelocated
to be able to decompress them. Do you have a better idea how to handle
them?

Cheers,

Mark


More information about the elfutils-devel mailing list