add non-executable GNU stack marking on ELF-linux

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
This commit is contained in:
Xiaotian Wu 2023-08-26 11:05:58 +08:00 committed by Nigel Croxon
parent feedeaa339
commit e5b1a35303

View File

@ -1 +1,4 @@
/* This stub is a stub to make the build happy */
#if defined(__ELF__) && defined(__linux__)
.section .note.GNU-stack,"",%progbits
#endif