This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH, GOLD, AArch64] default stack not executable
On Fri, Sep 22, 2017 at 8:16 AM, Jim Wilson <jim.wilson@linaro.org> wrote:
> On Thu, Sep 21, 2017 at 10:56 PM, Cary Coutant <ccoutant@gmail.com> wrote:
>> Any thoughts on turning on --warn-execstack by default?
>
> --warn-execstack does two things.
> 1) Warn if a missing GNU-stack note causes the stack to be marked as executable.
> 2) Warn if a present GNU-stack note causes the stack to be marked as executable.
Actually, there is a third one in a different function. I didn't look
far enough.
3) Warn if -z noexecstack and a GNU-stack note is present and causes
the stack to be marked as executable.
I think that one should be on by default. If a command line option
conflicts with the input files, then it seems like you should give a
warning always.
Jim
- References:
- [PATCH, GOLD, AArch64] default stack not executable
- Re: [PATCH, GOLD, AArch64] default stack not executable
- Re: [PATCH, GOLD, AArch64] default stack not executable
- Re: [PATCH, GOLD, AArch64] default stack not executable
- Re: [PATCH, GOLD, AArch64] default stack not executable
- Re: [PATCH, GOLD, AArch64] default stack not executable