This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [Patch] Don't relocate compressed sections
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Wed, 28 Mar 2012 20:08:31 +0200
- Subject: Re: [Patch] Don't relocate compressed sections
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