Request for review: [gcc] mark stack as non-executable
Dmitry.Samersoff at oracle.com
Fri Apr 29 11:17:38 PDT 2011
Thank you for digging into this problem. I just fixed the same
bug. Please check 7019808 and
Your comments is much appreciated.
On 2011-04-29 22:02, Omair Majid wrote:
> The webrev marks libjvm.so's stack as non-executable:
> The reason the stack was being marked as executable was because we were
> missing a .note.GNU-stack in the assembly files .
> The patch is based on Diego's patch back in 2007 . I have made a few
> changes to it. I have updated the paths to the .s files so it works with
> the newer hotspot. I have changed %progbits to @progbits, which is what
> is used in several places . Gentoo documentation  indicates
> that sparc also supports non-executable stacks, so I have made the
> changes to the sparc files.
> Any comments?
>  http://www.gentoo.org/proj/en/hardened/gnu-stack.xml#doc_chap7
>  http://mail.openjdk.java.net/pipermail/hotspot-dev/2007-May/000002.html
Java Hotspot development team, SPB04
* There will come soft rains ...
More information about the hotspot-dev