aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2020-08-07 23:34:56 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2020-08-10 23:58:58 +0200
commitd79a622217c7df051e9f69c72ad6d64d8a7338af (patch)
tree823d999a924fab26740362b297338e2c81511d85
parentb35c54227b4fbe7f57ab9d0ddda224cd8b6345a2 (diff)
downloadupstream-d79a622217c7df051e9f69c72ad6d64d8a7338af.tar.gz
upstream-d79a622217c7df051e9f69c72ad6d64d8a7338af.tar.bz2
upstream-d79a622217c7df051e9f69c72ad6d64d8a7338af.zip
toolchain/binutils: fix broken build of binutils 2.34 on mips64
Commit 53470bdf32 ("toolchain/binutils: Add binutils 2.34") logs refreshed patches, but also adds a typo causing failed builds on mipsel64 platforms, including the malta subtarget. Update the patch to fix this. This fixes the following build error: make[7]: *** No rule to make target 'elf64ltsmip.o', needed by 'ld-new'. Stop. Fixes: FS#3276 Fixes: 53470bdf32 ("toolchain/binutils: Add binutils 2.34") Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
-rw-r--r--toolchain/binutils/patches/2.34/500-Change-default-emulation-for-mips64-linux.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/binutils/patches/2.34/500-Change-default-emulation-for-mips64-linux.patch b/toolchain/binutils/patches/2.34/500-Change-default-emulation-for-mips64-linux.patch
index 24c2afb8be..455ac0001d 100644
--- a/toolchain/binutils/patches/2.34/500-Change-default-emulation-for-mips64-linux.patch
+++ b/toolchain/binutils/patches/2.34/500-Change-default-emulation-for-mips64-linux.patch
@@ -25,7 +25,7 @@
;;
-mips64*el-*-linux-*) targ_emul=elf32ltsmipn32
- targ_extra_emuls="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip"
-+mips64*el-*-linux-*) targ_emul=lf64ltsmip
++mips64*el-*-linux-*) targ_emul=elf64ltsmip
+ targ_extra_emuls="elf32btsmipn32 elf32ltsmipn32 elf32ltsmip elf32btsmip elf64btsmip"
targ_extra_libpath=$targ_extra_emuls
;;