* added the Unlicense as valid in misc/share/REGISTER
[t2sde.git] / package / rust / rustc / mips64n32.patch
blob1b13ab4e3217bf6a1670c6352e0ee9153cf06c5c
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/rustc/mips64n32.patch
3 # Copyright (C) 2022 - 2024 The T2 SDE Project
4 #
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7 #
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.78.0-src/compiler/rustc_target/src/spec/targets/mips64_unknown_linux_gnuabin32.rs.vanilla 2024-05-18 18:41:46.096941917 +0200
15 +++ rustc-1.78.0-src/compiler/rustc_target/src/spec/targets/mips64_unknown_linux_gnuabin32.rs 2024-05-18 18:43:09.011937741 +0200
16 @@ -3,22 +3,21 @@
18 pub fn target() -> Target {
19 Target {
20 - llvm_target: "mips64-unknown-linux-gnuabi64".into(),
21 + llvm_target: "mips64-unknown-linux-gnuabin32".into(),
22 metadata: crate::spec::TargetMetadata {
23 description: None,
24 tier: None,
25 host_tools: None,
26 std: None,
28 - pointer_width: 64,
29 - data_layout: "E-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128".into(),
30 - arch: "mips64".into(),
31 + pointer_width: 32,
32 + data_layout: "E-m:e-p:32:32-i8:8:32-i16:16:32-i64:64-n32:64-S128".into(),
33 + arch: "mips".into(),
34 options: TargetOptions {
35 - abi: "abi64".into(),
36 + abi: "gnuabin32".into(),
37 endian: Endian::Big,
38 // NOTE(mips64r2) matches C toolchain
39 - cpu: "mips64r2".into(),
40 - features: "+mips64r2,+xgot".into(),
41 + cpu: "mips4".into(),
42 max_atomic_width: Some(64),
43 mcount: "_mcount".into(),