mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 10:03:50 +01:00
cpu/native: Fix executable stack warning
The tramp assembly was missing a `.note.GNU-stack` section, meaning the compiler was forced to assume that we require an executable stack. Fix this by adding the necessary section. Signed-off-by: Armin Wolf <W_Armin@gmx.de>
This commit is contained in:
parent
8f111a3c29
commit
d04df84b76
@ -93,3 +93,7 @@ _native_sig_leave_handler:
|
|||||||
movl $0x0, _native_in_isr
|
movl $0x0, _native_in_isr
|
||||||
ret
|
ret
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__linux__) && defined(__ELF__)
|
||||||
|
.section .note.GNU-stack,"",%progbits
|
||||||
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user