1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/rustc/mips64.patch
3 # Copyright (C) 2022 - 2024 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- 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
15 +++ rustc-1.72.0-src/compiler/rustc_target/src/spec/targets/mips64_unknown_linux_gnuabi64.rs 2023-08-29 19:46:58.846059036 +0200
19 // NOTE(mips64r2) matches C toolchain
20 - cpu: "mips64r2".into(),
21 - features: "+mips64r2,+xgot".into(),
22 + cpu: "mips4".into(),
23 max_atomic_width: Some(64),
24 mcount: "_mcount".into(),
26 --- rustc-1.73.0-src/compiler/rustc_codegen_ssa/src/back/metadata.rs.vanilla 2023-10-12 19:24:29.101033959 +0200
27 +++ rustc-1.73.0-src/compiler/rustc_codegen_ssa/src/back/metadata.rs 2023-10-12 19:29:02.414041126 +0200
29 | if sess.target.options.cpu.contains("r6") {
30 elf::EF_MIPS_ARCH_64R6 | elf::EF_MIPS_NAN2008
32 - elf::EF_MIPS_ARCH_64R2