[PATCH] elflint: Check relro flags are a subset of the load segment.

Mark Wielaard mjw at redhat.com
Tue Oct 13 15:42:52 UTC 2015


On Tue, Oct 13, 2015 at 05:05:13PM +0200, Jose E. Marchesi wrote:
> 
>     If the RELRO segment doesn't fully overlap with the load segment then the
>     load segment might have more flags sets. This happens for example on sparc
>     when the .plt, which is executable, is also part of the load segment that
>     RELRO covers.
> 
> Tested in sparc64 and sparc.  Works just fine.

Thanks, pushed to master.
Please let me know if there are any other remaining issues on sparc
that would be good to resolve before the release.

Cheers,

Mark


More information about the elfutils-devel mailing list