[rtems commit] bsps/powerpc: Set output format in linker script
Sebastian Huber
sebh at rtems.org
Fri Jun 2 05:11:19 UTC 2017
Module: rtems
Branch: master
Commit: 697a6ca05ae4e6a4f00a50cf9c55ae087e4a17ae
Changeset: http://git.rtems.org/rtems/commit/?id=697a6ca05ae4e6a4f00a50cf9c55ae087e4a17ae
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Jun 1 19:00:38 2017 +0200
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.
---
c/src/lib/libbsp/powerpc/shared/bootloader/ppcboot.lds | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/powerpc/shared/bootloader/ppcboot.lds b/c/src/lib/libbsp/powerpc/shared/bootloader/ppcboot.lds
index a2567a9..b47e01f 100644
--- a/c/src/lib/libbsp/powerpc/shared/bootloader/ppcboot.lds
+++ b/c/src/lib/libbsp/powerpc/shared/bootloader/ppcboot.lds
@@ -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
More information about the vc
mailing list