Skip to content
Snippets Groups Projects
Commit aa34c553 authored by Dave Hylands's avatar Dave Hylands Committed by Damien George
Browse files

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.
parent af622eb2
Branches
No related tags found
No related merge requests found
......@@ -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
......@@ -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
......@@ -115,5 +115,5 @@ nlr_jump:
#endif // defined(__xtensa__)
#if defined(linux)
.section .note.GNU-stack,"",@progbits
.section .note.GNU-stack,"",%progbits
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment