This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fix libgcc_s.so for noexecstack on alpha


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]