Skip to contentSkip to conversation

ARC: Use elf32-bigarc in case of -EB

PATCH New Alexey Brodkin 1 participant 1 message May 31, 2018 Synopsys ARC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARC: Use elf32-bigarc in case of -EB

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

---
 arch/arc/cpu/u-boot.lds | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arc/cpu/u-boot.lds +1 -1
index ff8239b66b40..e12145c76849 100644
@@ -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
Signature · 1 line
2.17.0