aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/zImage.lds.S
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-11-09 00:00:06 -0500
committerPaul Mackerras <paulus@samba.org>2006-11-09 00:00:06 -0500
commit621da0f8af228525e4b40390e36fbdc44a587cf1 (patch)
tree71683a01442fa7fa213ad4a5b317764cd32d374c /arch/powerpc/boot/zImage.lds.S
parent48797ebd9e8b16fddcd4ef062f792314a6b9219a (diff)
[POWERPC] Make sure initrd and dtb sections get into zImage correctly
The "wrapper" script was using the wrong names for the initrd and dtb (device-tree blob) sections. This fixes it, and also ensures the symbols for the start and end of the dtb get defined correctly. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/boot/zImage.lds.S')
-rw-r--r--arch/powerpc/boot/zImage.lds.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/boot/zImage.lds.S b/arch/powerpc/boot/zImage.lds.S
index 4b6bb3ffe3dc..4be3c6414b04 100644
--- a/arch/powerpc/boot/zImage.lds.S
+++ b/arch/powerpc/boot/zImage.lds.S
@@ -21,6 +21,11 @@ SECTIONS
21 __got2_end = .; 21 __got2_end = .;
22 } 22 }
23 23
24 . = ALIGN(8);
25 _dtb_start = .;
26 .kernel:dtb : { *(.kernel:dtb) }
27 _dtb_end = .;
28
24 . = ALIGN(4096); 29 . = ALIGN(4096);
25 _vmlinux_start = .; 30 _vmlinux_start = .;
26 .kernel:vmlinux.strip : { *(.kernel:vmlinux.strip) } 31 .kernel:vmlinux.strip : { *(.kernel:vmlinux.strip) }