d79a622217
Commit53470bdf32
("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>
39 lines
1.8 KiB
Diff
39 lines
1.8 KiB
Diff
--- a/bfd/config.bfd
|
|
+++ b/bfd/config.bfd
|
|
@@ -911,12 +911,12 @@ case "${targ}" in
|
|
targ_selvecs="mips_elf32_le_vec mips_elf64_be_vec mips_elf64_le_vec mips_ecoff_be_vec mips_ecoff_le_vec"
|
|
;;
|
|
mips64*el-*-linux*)
|
|
- targ_defvec=mips_elf32_ntrad_le_vec
|
|
- targ_selvecs="mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_le_vec mips_elf64_trad_be_vec"
|
|
+ targ_defvec=mips_elf64_trad_le_vec
|
|
+ targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_ntrad_be_vec mips_elf32_trad_le_vec mips_elf32_trad_be_vec mips_elf64_trad_be_vec"
|
|
;;
|
|
mips64*-*-linux*)
|
|
- targ_defvec=mips_elf32_ntrad_be_vec
|
|
- targ_selvecs="mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_be_vec mips_elf64_trad_le_vec"
|
|
+ targ_defvec=mips_elf64_trad_be_vec
|
|
+ targ_selvecs="mips_elf32_ntrad_be_vec mips_elf32_ntrad_le_vec mips_elf32_trad_be_vec mips_elf32_trad_le_vec mips_elf64_trad_le_vec"
|
|
;;
|
|
mips*el-*-linux*)
|
|
targ_defvec=mips_elf32_trad_le_vec
|
|
--- a/ld/configure.tgt
|
|
+++ b/ld/configure.tgt
|
|
@@ -541,12 +541,12 @@ mips*-*-vxworks*) targ_emul=elf32ebmipvx
|
|
;;
|
|
mips*-*-windiss) targ_emul=elf32mipswindiss
|
|
;;
|
|
-mips64*el-*-linux-*) targ_emul=elf32ltsmipn32
|
|
- targ_extra_emuls="elf32btsmipn32 elf32ltsmip elf32btsmip elf64ltsmip elf64btsmip"
|
|
+mips64*el-*-linux-*) targ_emul=elf64ltsmip
|
|
+ targ_extra_emuls="elf32btsmipn32 elf32ltsmipn32 elf32ltsmip elf32btsmip elf64btsmip"
|
|
targ_extra_libpath=$targ_extra_emuls
|
|
;;
|
|
-mips64*-*-linux-*) targ_emul=elf32btsmipn32
|
|
- targ_extra_emuls="elf32ltsmipn32 elf32btsmip elf32ltsmip elf64btsmip elf64ltsmip"
|
|
+mips64*-*-linux-*) targ_emul=elf64btsmip
|
|
+ targ_extra_emuls="elf32btsmipn32 elf32ltsmipn32 elf32btsmip elf32ltsmip elf64ltsmip"
|
|
targ_extra_libpath=$targ_extra_emuls
|
|
;;
|
|
mips*el-*-linux-*) targ_emul=elf32ltsmip
|