summaryrefslogtreecommitdiffstats
path: root/reloc/reloc.ld
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-01-04 12:51:01 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-01-04 12:51:01 -0800
commit0686e9cf48dc49ee7ffc9d6ee3256fc9cede65b4 (patch)
tree4e49f1503f0bac81a9b5d2cd17df6d57641fd323 /reloc/reloc.ld
parentb3e7732cf39938575a287cd55907216c318d940c (diff)
downloadwraplinux-0686e9cf48dc49ee7ffc9d6ee3256fc9cede65b4.tar.gz
wraplinux-0686e9cf48dc49ee7ffc9d6ee3256fc9cede65b4.tar.xz
wraplinux-0686e9cf48dc49ee7ffc9d6ee3256fc9cede65b4.zip
Cleaner memory map; avoid < 64K; handle older kernels
Clean up the memory map by making the startup info part of the reloc segment; this also allows it to be easily prepopulated. Avoid using < 64K by putting the reloc between the setup and cmdline, with proper guarding for overflow. Handle older kernel protocols, and zImage kernels.
Diffstat (limited to 'reloc/reloc.ld')
-rw-r--r--reloc/reloc.ld1
1 files changed, 1 insertions, 0 deletions
diff --git a/reloc/reloc.ld b/reloc/reloc.ld
index dc63c62..c504bb0 100644
--- a/reloc/reloc.ld
+++ b/reloc/reloc.ld
@@ -4,6 +4,7 @@ ENTRY(_start)
SECTIONS
{
. = 0; /* Required for relocatabilty */
+ .startupinfo : { *(.startupinfo) }
.start : { *(.start) }
.text : { *(.text) }
.text16 : { *(.text16) }