[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>

+7 -2
+2 -2
arch/powerpc/boot/wrapper
··· 179 179 fi 180 180 181 181 if [ -n "$initrd" ]; then 182 - addsec $tmp "$initrd" initrd 182 + addsec $tmp "$initrd" $isection 183 183 fi 184 184 185 185 if [ -n "$dtb" ]; then 186 - addsec $tmp "$dtb" dtb 186 + addsec $tmp "$dtb" .kernel:dtb 187 187 fi 188 188 189 189 if [ "$platform" != "miboot" ]; then
+5
arch/powerpc/boot/zImage.lds.S
··· 21 21 __got2_end = .; 22 22 } 23 23 24 + . = ALIGN(8); 25 + _dtb_start = .; 26 + .kernel:dtb : { *(.kernel:dtb) } 27 + _dtb_end = .; 28 + 24 29 . = ALIGN(4096); 25 30 _vmlinux_start = .; 26 31 .kernel:vmlinux.strip : { *(.kernel:vmlinux.strip) }