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