util: Add GNU non executable line to x86 m5 (#1116)
- Adding this line as not specifiying GNU non executable stack was throwing warnings when building m5 for ubuntu 24.04 Change-Id: I620c508be4090804698391cff671ba5091b053d7
This commit is contained in:
@@ -43,3 +43,9 @@
|
||||
#define M5OP(name, func) m5op_func name, func;
|
||||
M5OP_FOREACH
|
||||
#undef M5OP
|
||||
|
||||
/* The line below is added to remove the warning
|
||||
* saying that the file is not specifiying GNU non
|
||||
* executable stack in ubuntu 24.04
|
||||
*/
|
||||
.section .note.GNU-stack
|
||||
|
||||
@@ -55,3 +55,9 @@
|
||||
#define M5OP(name, func) m5op_func M5OP_MERGE_TOKENS(name, _addr), func;
|
||||
M5OP_FOREACH
|
||||
#undef M5OP
|
||||
|
||||
/* The line below is added to remove the warning
|
||||
* saying that the file is not specifiying GNU non
|
||||
* executable stack in ubuntu 24.04
|
||||
*/
|
||||
.section .note.GNU-stack
|
||||
|
||||
Reference in New Issue
Block a user