diff options
Diffstat (limited to 'arch/powerpc/boot/wrapper')
-rwxr-xr-x | arch/powerpc/boot/wrapper | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper index ee0dc41d7c56..f39073511a49 100755 --- a/arch/powerpc/boot/wrapper +++ b/arch/powerpc/boot/wrapper | |||
@@ -306,11 +306,14 @@ fi | |||
306 | 306 | ||
307 | # post-processing needed for some platforms | 307 | # post-processing needed for some platforms |
308 | case "$platform" in | 308 | case "$platform" in |
309 | pseries|chrp) | 309 | pseries) |
310 | ${CROSS}objcopy -O binary -j .fakeelf "$kernel" "$ofile".rpanote | 310 | ${CROSS}objcopy -O binary -j .fakeelf "$kernel" "$ofile".rpanote |
311 | $objbin/addnote "$ofile" "$ofile".rpanote | 311 | $objbin/addnote "$ofile" "$ofile".rpanote |
312 | rm -r "$ofile".rpanote | 312 | rm -r "$ofile".rpanote |
313 | ;; | 313 | ;; |
314 | chrp) | ||
315 | $objbin/addnote -r c00000 "$ofile" | ||
316 | ;; | ||
314 | coff) | 317 | coff) |
315 | ${CROSS}objcopy -O aixcoff-rs6000 --set-start "$entry" "$ofile" | 318 | ${CROSS}objcopy -O aixcoff-rs6000 --set-start "$entry" "$ofile" |
316 | $objbin/hack-coff "$ofile" | 319 | $objbin/hack-coff "$ofile" |