mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +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
|
||||
ret
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) && defined(__ELF__)
|
||||
.section .note.GNU-stack,"",%progbits
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user