1. Pypy
  2. Untitled project
  3. pypy

Commits

Armin Rigo  committed 26a8d3f

Patch by djc from Gentoo.

  • Participants
  • Parent commits b0a6acc
  • Branches default

Comments (0)

Files changed (1)

File pypy/translator/c/gcc/trackgcroot.py

View file
  • Ignore whitespace
             }
             """
         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',