aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-09-14 18:05:41 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-09-14 18:05:41 -0700
commita10e15b5803cacc9b776e80a87ed43c2311ffc1f (patch)
tree935161ab52564ace6cea54308683e409a0b78529
parent5af3e6abb6a34add3d74449e9714c4e4bb28836c (diff)
downloadlwip-a10e15b5803cacc9b776e80a87ed43c2311ffc1f.tar.gz
lwip-a10e15b5803cacc9b776e80a87ed43c2311ffc1f.tar.xz
lwip-a10e15b5803cacc9b776e80a87ed43c2311ffc1f.zip
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@zytor.com>
-rw-r--r--core/layout.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/layout.inc b/core/layout.inc
index c67105ad..6e64ecfc 100644
--- a/core/layout.inc
+++ b/core/layout.inc
@@ -69,6 +69,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