« Return to Thread: Remove executable stacks (HiPE/amd64)

Re: Remove executable stacks (HiPE/amd64)

by Mikael Pettersson-3 :: Rate this Message:

Reply to Author | View in Thread

Davide Pesavento writes:
 > Hi,
 > the attached patch fixes executable stacks in HiPE asm code for amd64.
 > I guess a similar patch can easily be applied to the other
 > architectures.
 >
 > References:
 > [1] https://bugs.gentoo.org/show_bug.cgi?id=249328
 > [2] http://www.erlang.org/pipermail/erlang-bugs/2008-December/001125.html
 > [3] http://www.gentoo.org/proj/en/hardened/gnu-stack.xml

Thanks, this patch is what I ([2] above) suspected was needed.

Note that HiPE never has used executable stacks, all this does is
annotate some assembly file modules so that the build tools don't
mark them as needing executable stack.

This will be included in the R13B release, extended to cover all
architectures not just amd64.

/Mikael
_______________________________________________
erlang-patches mailing list
erlang-patches@...
http://www.erlang.org/mailman/listinfo/erlang-patches

 « Return to Thread: Remove executable stacks (HiPE/amd64)