linker: add .note.GNU-stack to arc linker

When building for ARC this new section appears with gcc 8.2.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-01-16 15:20:47 -05:00
commit 9e75a1a872

View file

@ -300,4 +300,5 @@ SECTIONS {
KEEP(*(.gnu.attributes)) KEEP(*(.gnu.attributes))
} }
/DISCARD/ : { *(.note.GNU-stack) }
} }