[erlang-patches] Remove executable stacks (HiPE/amd64)

Mikael Pettersson mikpe@REDACTED
Thu Jan 29 11:11:16 CET 2009


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



More information about the erlang-patches mailing list