[syslinux:lwip] core: add .stack to layout.inc so it gets the proper flags

syslinux-bot for H. Peter Anvin hpa at zytor.com
Fri Apr 22 20:05:25 PDT 2011


Commit-ID:  b1ed6ebf883e3488062210b34c4b74d00c710705
Gitweb:     http://syslinux.zytor.com/commit/b1ed6ebf883e3488062210b34c4b74d00c710705
Author:     H. Peter Anvin <hpa at zytor.com>
AuthorDate: Mon, 14 Sep 2009 18:05:41 -0700
Committer:  Eric W. Biederman <ebiederm at xmission.com>
CommitDate: Sat, 9 Apr 2011 18:27:07 -0700

core: add .stack to layout.inc so it gets the proper flags

Add the .stack segment to layout.inc even as just a dummy, so that we
end up with the correct flags in the output.

Signed-off-by: H. Peter Anvin <hpa at zytor.com>


---
 core/layout.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/core/layout.inc b/core/layout.inc
index dab27dd..a3e495c 100644
--- a/core/layout.inc
+++ b/core/layout.inc
@@ -97,6 +97,9 @@ RBFG_brainfuck:	resb 2048		; Bigger than an Ethernet packet...
 		; the spillover from the last fractional sector load.
 		section .uibss		write nobits align=16
 
+		; Put this here to get the appropriate flags on .stack
+		section .stack		write nobits align=16
+
 		; Symbols from linker script
 %macro SECINFO 1
 		extern __%1_start, __%1_lma, __%1_end



More information about the Syslinux-commits mailing list