diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-07 17:11:41 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-15 07:58:19 +1000 |
commit | cdd6a60391e8130858ee8f0c68fc9936e3cc285c (patch) | |
tree | c714a0eeea72256b471b9230a1c8fdab3b967714 /skiboot.lds.S | |
parent | e64108422a2c3f605ecabf088d25509073b4cf7d (diff) | |
download | skiboot-cdd6a60391e8130858ee8f0c68fc9936e3cc285c.zip skiboot-cdd6a60391e8130858ee8f0c68fc9936e3cc285c.tar.gz skiboot-cdd6a60391e8130858ee8f0c68fc9936e3cc285c.tar.bz2 |
Make skiboot able to be 2MB rather than 1MB
When built with gcov, skiboot is >1MB (closer to 1.5MB) and there
were a few assumptions about skiboot being <1MB.
The biggest one was that when code got larger, we'd have the sbss section
start in the middle of code, so that when we were going to relocate ourselves,
we'd only get the first 1MB of skiboot relocated, which excluded the
_DYNAMIC section, meaning that relocate() would not find the right
sections.
We also needed to not start writing over random parts of skiboot.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'skiboot.lds.S')
-rw-r--r-- | skiboot.lds.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skiboot.lds.S b/skiboot.lds.S index a54ff5f..bdc2c2c 100644 --- a/skiboot.lds.S +++ b/skiboot.lds.S @@ -133,8 +133,8 @@ SECTIONS KEEP(*(.sym_map)) } - /* We locate the BSS at 1M to leave room for the symbol map */ - . = 0x100000; + /* We locate the BSS at 2M to leave room for the symbol map */ + . = 0x200000; _sbss = .; .bss : { |