py/nlr: Fix execstack builds for ARM.

It seems that the gcc toolchain on the RaspberryPi
likes %progbits instead of @progbits. I verified that
%progbits also works under x86, so this should
fix #2848 and fix #2842

I verified that unix and mpy-cross both compile
on my RaspberryPi and on my x64 machine.
This commit is contained in:
Dave Hylands 2017-02-07 14:22:55 -08:00 committed by Damien George
parent af622eb2a6
commit aa34c553ec
3 changed files with 3 additions and 3 deletions

View File

@ -258,5 +258,5 @@ nlr_jump:
#endif // defined(__x86_64__) && !MICROPY_NLR_SETJMP
#if defined(linux)
.section .note.GNU-stack,"",@progbits
.section .note.GNU-stack,"",%progbits
#endif

View File

@ -191,5 +191,5 @@ nlr_jump:
#endif // defined(__i386__) && !MICROPY_NLR_SETJMP
#if defined(linux)
.section .note.GNU-stack,"",@progbits
.section .note.GNU-stack,"",%progbits
#endif

View File

@ -115,5 +115,5 @@ nlr_jump:
#endif // defined(__xtensa__)
#if defined(linux)
.section .note.GNU-stack,"",@progbits
.section .note.GNU-stack,"",%progbits
#endif