# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/rustc/mips64.patch # Copyright (C) 2022 - 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License version 2 as used by the T2 SDE. # --- T2-COPYRIGHT-NOTE-END --- --- rustc-1.72.0-src/compiler/rustc_target/src/spec/targets/mips64_unknown_linux_gnuabi64.rs.orig 2023-08-29 19:44:16.098041053 +0200 +++ rustc-1.72.0-src/compiler/rustc_target/src/spec/targets/mips64_unknown_linux_gnuabi64.rs 2023-08-29 19:46:58.846059036 +0200 @@ -11,7 +11,6 @@ abi: "abi64".into(), endian: Endian::Big, // NOTE(mips64r2) matches C toolchain - cpu: "mips64r2".into(), - features: "+mips64r2,+xgot".into(), + cpu: "mips4".into(), max_atomic_width: Some(64), mcount: "_mcount".into(), --- rustc-1.73.0-src/compiler/rustc_codegen_ssa/src/back/metadata.rs.vanilla 2023-10-12 19:24:29.101033959 +0200 +++ rustc-1.73.0-src/compiler/rustc_codegen_ssa/src/back/metadata.rs 2023-10-12 19:29:02.414041126 +0200 @@ -266,7 +266,7 @@ | if sess.target.options.cpu.contains("r6") { elf::EF_MIPS_ARCH_64R6 | elf::EF_MIPS_NAN2008 } else { - elf::EF_MIPS_ARCH_64R2 + elf::EF_MIPS_ARCH_4 }; e_flags }