From: Alexey Brodkin Date: Wed, 30 May 2018 16:03:39 +0000 (+0300) Subject: ARC: Use elf32-bigarc in case of -EB X-Git-Tag: v2018.07-rc1~16^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7af51f12bc41c38c537f2b049db21fb4554657b5;p=oweals%2Fu-boot.git 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 Signed-off-by: Alexey Brodkin --- diff --git a/arch/arc/cpu/u-boot.lds b/arch/arc/cpu/u-boot.lds index ff8239b66b..e12145c768 100644 --- a/arch/arc/cpu/u-boot.lds +++ b/arch/arc/cpu/u-boot.lds @@ -5,7 +5,7 @@ #include -OUTPUT_FORMAT("elf32-littlearc", "elf32-littlearc", "elf32-littlearc") +OUTPUT_FORMAT("elf32-littlearc", "elf32-bigarc", "elf32-littlearc") OUTPUT_ARCH(arc) ENTRY(_start) SECTIONS