xtensa: fix xtensa-sample-controller.ld to avoid .note.GNU-stack warnings
Prevent `warning: orphan section `.note.GNU-stack'` when building using `west build -b xt-sim samples/hello_world` Signed-off-by: William Tambe <williamt@cadence.com>
This commit is contained in:
parent
b5ff2cc667
commit
9c4a6712b2
1 changed files with 2 additions and 0 deletions
|
@ -647,4 +647,6 @@ SECTIONS
|
|||
{
|
||||
KEEP (*(.debug.xt.callgraph .debug.xt.callgraph.* .gnu.linkonce.xt.callgraph.*))
|
||||
}
|
||||
|
||||
/DISCARD/ : { *(.note.GNU-stack) }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue