aboutsummaryrefslogtreecommitdiff
path: root/py/nlrx64.S
diff options
context:
space:
mode:
authorDave Hylands2017-02-07 14:22:55 -0800
committerDamien George2017-02-08 11:12:26 +1100
commitaa34c553ec75535f46f5d6ff28c0c943701e569b (patch)
tree3f2d03772564731c26e24391e22f623460cf8aaf /py/nlrx64.S
parentaf622eb2a6aa50429eb64716e754ee58c3f87c2e (diff)
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.
Diffstat (limited to 'py/nlrx64.S')
-rw-r--r--py/nlrx64.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/nlrx64.S b/py/nlrx64.S
index fc8b8e344..78d654558 100644
--- a/py/nlrx64.S
+++ b/py/nlrx64.S
@@ -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