[pypy-commit] pypy default: Patch by djc from Gentoo.
arigo
noreply at buildbot.pypy.org
Thu Feb 16 10:14:33 CET 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r52543:26a8d3fc57a7
Date: 2012-02-16 10:14 +0100
http://bitbucket.org/pypy/pypy/changeset/26a8d3fc57a7/
Log: Patch by djc from Gentoo.
diff --git a/pypy/translator/c/gcc/trackgcroot.py b/pypy/translator/c/gcc/trackgcroot.py
--- a/pypy/translator/c/gcc/trackgcroot.py
+++ b/pypy/translator/c/gcc/trackgcroot.py
@@ -1697,6 +1697,8 @@
}
"""
elif self.format in ('elf64', 'darwin64'):
+ if self.format == 'elf64': # gentoo patch: hardened systems
+ print >> output, "\t.section .note.GNU-stack,\"\",%progbits"
print >> output, "\t.text"
print >> output, "\t.globl %s" % _globalname('pypy_asm_stackwalk')
_variant(elf64='.type pypy_asm_stackwalk, @function',
More information about the pypy-commit
mailing list