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:
parent
af622eb2a6
commit
aa34c553ec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user