ARC: Use elf32-bigarc in case of -EB
authorAlexey Brodkin <abrodkin@synopsys.com>
Wed, 30 May 2018 16:03:39 +0000 (19:03 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Thu, 31 May 2018 17:13:29 +0000 (20:13 +0300)
As it is stated in LD manual [1] the second entry in OUTPUT_FORMAT
corresponds to "-EB" command-line option which for us is "elf32-bigarc".

[1] https://sourceware.org/binutils/docs/ld/Format-Commands.html#Format-Commands

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/cpu/u-boot.lds

index ff8239b66b406ab3e98815024e97c3e3f7b8e394..e12145c76849e894efb7b4c15506c5935ebad997 100644 (file)
@@ -5,7 +5,7 @@
 
 #include <config.h>
 
-OUTPUT_FORMAT("elf32-littlearc", "elf32-littlearc", "elf32-littlearc")
+OUTPUT_FORMAT("elf32-littlearc", "elf32-bigarc", "elf32-littlearc")
 OUTPUT_ARCH(arc)
 ENTRY(_start)
 SECTIONS