Re: [PATCH] RFC: strip with mixed allocated/non-allocated sections

2018-08-30 Thread Mark Wielaard
On Mon, 2018-07-30 at 00:35 +0200, Mark Wielaard wrote: > Normally in non-ET_REL files all allocated sections come before > all non-allocated sections. eu-strip relies on this when stripping > a file and calculating the file offsets. But recently on Fedora > there are non-allocated .gnu.build.attri

[PATCH] RFC: strip with mixed allocated/non-allocated sections

2018-07-29 Thread Mark Wielaard
Normally in non-ET_REL files all allocated sections come before all non-allocated sections. eu-strip relies on this when stripping a file and calculating the file offsets. But recently on Fedora there are non-allocated .gnu.build.attributes NOTE sections in the middle of the allocated sections, wit