summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/zImage.coff.lds.S
diff options
context:
space:
mode:
authorTony Breeds2008-06-24 06:20:29 +0200
committerPaul Mackerras2008-07-01 03:28:32 +0200
commit9b09c6d909dfd8de96b99b9b9c808b94b0a71614 (patch)
tree0796f29964a133130ed39584000b2108497f3d65 /arch/powerpc/boot/zImage.coff.lds.S
parentpowerpc: Use an alternative feature section in entry_64.S (diff)
downloadkernel-qcow2-linux-9b09c6d909dfd8de96b99b9b9c808b94b0a71614.tar.gz
kernel-qcow2-linux-9b09c6d909dfd8de96b99b9b9c808b94b0a71614.tar.xz
kernel-qcow2-linux-9b09c6d909dfd8de96b99b9b9c808b94b0a71614.zip
powerpc: Change the default link address for pSeries zImage kernels
Currently we set the start of the .text section to be 4Mb for pSeries. In situations where the zImage is > 8Mb we'll fail to boot (due to overlapping with OF). Move .text in a zImage from 4MB to 64MB (well past OF). We still will not be able to load large zImage unless we also move OF, to that end, add a note to the zImage ELF to move OF to 32Mb. If this is the very first kernel booted then we'll need to move OF manually by setting real-base. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/zImage.coff.lds.S')
-rw-r--r--arch/powerpc/boot/zImage.coff.lds.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/boot/zImage.coff.lds.S b/arch/powerpc/boot/zImage.coff.lds.S
index fe87a90ce7f1..856dc78b14ef 100644
--- a/arch/powerpc/boot/zImage.coff.lds.S
+++ b/arch/powerpc/boot/zImage.coff.lds.S
@@ -3,7 +3,6 @@ ENTRY(_zimage_start_opd)
EXTERN(_zimage_start_opd)
SECTIONS
{
- . = (5*1024*1024);
_start = .;
.text :
{