This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: fix libgcc_s.so for noexecstack on alpha
- From: Richard Henderson <rth at redhat dot com>
- To: "Aaron W. LaFramboise" <aaronavay62 at aaronwl dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 30 Sep 2004 15:24:11 -0700
- Subject: Re: fix libgcc_s.so for noexecstack on alpha
- References: <20040930193252.GC8984@redhat.com> <415C827F.8060602@aaronwl.com>
On Thu, Sep 30, 2004 at 05:02:40PM -0500, Aaron W. LaFramboise wrote:
> Sorry to meddle in the affairs of wizards here, but can you tell me what
> this does? Is there some documentation on the meaning of
> .note.GNU-stack somewhere? I am just curious.
It adds a section to the object file that the linker looks at in
order to decide what contents to put for PT_GNU_STACK.
The upshot is that, without that note the linker has to assume that
the object requires the stack to be executable. Which is less than
desirable.
r~