summaryrefslogtreecommitdiffstats
path: root/reloc.S
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.S
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.S')
-rw-r--r--reloc.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/reloc.S b/reloc.S
index f7d1310..b70c66d 100644
--- a/reloc.S
+++ b/reloc.S
@@ -3,7 +3,7 @@
* This could also be done with a binary-to-C converter.
*/
- .section ".rodata","a"
+ .data
.balign 4
.globl reloc_size
reloc_size: