aboutsummaryrefslogtreecommitdiff
path: root/py/nlrxtensa.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/nlrxtensa.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/nlrxtensa.S')
-rw-r--r--py/nlrxtensa.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/nlrxtensa.S b/py/nlrxtensa.S
index 73af4832f..6d87e305d 100644
--- a/py/nlrxtensa.S
+++ b/py/nlrxtensa.S
@@ -115,5 +115,5 @@ nlr_jump:
#endif // defined(__xtensa__)
#if defined(linux)
- .section .note.GNU-stack,"",@progbits
+ .section .note.GNU-stack,"",%progbits
#endif