aboutsummaryrefslogtreecommitdiff
path: root/skiboot.lds.S
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2020-10-01 16:52:16 +1000
committerOliver O'Halloran <oohall@gmail.com>2020-10-01 17:40:29 +1000
commit45f67b179e6c2a6be59c0305066dd4a0bcafd002 (patch)
tree291ebbb44b0df7813851ad472734ee19bde6afd7 /skiboot.lds.S
parentbcecf330f4f18893fbeca697de104258d071da51 (diff)
downloadskiboot-45f67b179e6c2a6be59c0305066dd4a0bcafd002.zip
skiboot-45f67b179e6c2a6be59c0305066dd4a0bcafd002.tar.gz
skiboot-45f67b179e6c2a6be59c0305066dd4a0bcafd002.tar.bz2
skiboot.lds.S: Move BSS start up a bit to accommodate a larger .data
Witht addition of libtss and mbedtls the .data section now overlaps the start of the .bss section. Adding a few MB to the offset doesn't hurt. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'skiboot.lds.S')
-rw-r--r--skiboot.lds.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/skiboot.lds.S b/skiboot.lds.S
index b136e40..5da6f9d 100644
--- a/skiboot.lds.S
+++ b/skiboot.lds.S
@@ -219,8 +219,8 @@ SECTIONS
}
_edata = .;
- /* We locate the BSS at 4M to leave room for the symbol map */
- . = 0x400000;
+ /* We locate the BSS at 5M to leave room for the symbol map */
+ . = 0x500000;
_sbss = .;
.bss : {
@@ -231,7 +231,7 @@ SECTIONS
_ebss = .;
_end = .;
- ASSERT(HEAP_BASE >= _end, "Heap collision with image")
+ ASSERT((HEAP_BASE - SKIBOOT_BASE) >= _end, "Heap collision with image")
DEBUG_SECTIONS