Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83560?usp=email )
Change subject: Makefile.inc: Mark stack as not executable ......................................................................
Makefile.inc: Mark stack as not executable
Suppress the warning: missing .note.GNU-stack section implies executable stack NOTE: This behaviour is deprecated and will be removed in a future version of the linker
Since we don't need an executable stack this is fine. Some newer linkers like LLD even default to this.
Change-Id: Ib787cc464e0924ab57575cec9fbfd1d59bdd3481 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M Makefile.mk 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/83560/1
diff --git a/Makefile.mk b/Makefile.mk index 12cd449..4700738 100644 --- a/Makefile.mk +++ b/Makefile.mk @@ -603,6 +603,7 @@ LDFLAGS_common += -nostdlib LDFLAGS_common += --nmagic LDFLAGS_common += -static +LDFLAGS_common += -z noexecstack # Disable warning ons segments with RWX. # All loadable sections are placed in the same segment for simplicity. LDFLAGS_common += --no-warn-rwx-segments