bsps/powerpc: Set output format in linker script

Set the proper output format in the linker script for the bootloader.
Otherwise the generic linker is used since Binutils 2.28 which does not
understand the PowerPC-specific relocations.
This commit is contained in:
Sebastian Huber
2017-06-01 19:00:38 +02:00
parent 848007c068
commit 697a6ca05a

View File

@@ -1,5 +1,5 @@
OUTPUT_ARCH(powerpc)
/* OUTPUT_FORMAT(ppcboot) */
OUTPUT_FORMAT ("elf32-powerpc", "elf32-powerpc", "elf32-powerpc")
/* Do we need any of these for elf?
__DYNAMIC = 0; */
SECTIONS