aboutsummaryrefslogtreecommitdiff
path: root/arch/arc/cpu
diff options
context:
space:
mode:
authorAlexey Brodkin2018-05-30 19:03:39 +0300
committerAlexey Brodkin2018-05-31 20:13:29 +0300
commit7af51f12bc41c38c537f2b049db21fb4554657b5 (patch)
tree655a63a7a40523cf7ad5df562d95d2f34869e2f9 /arch/arc/cpu
parenteb5c853938cb784bbf83ab87847e94764c3cd00a (diff)
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 <abrodkin@synopsys.com>
Diffstat (limited to 'arch/arc/cpu')
-rw-r--r--arch/arc/cpu/u-boot.lds2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/cpu/u-boot.lds b/arch/arc/cpu/u-boot.lds
index ff8239b66b4..e12145c7684 100644
--- a/arch/arc/cpu/u-boot.lds
+++ b/arch/arc/cpu/u-boot.lds
@@ -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