* updated wlroots (0.17.3 -> 0.18.1)
[t2sde.git] / package / rust / rustc / mips64n32.patch
blobdf458d6a432f98a96bf51e9e3243b9d4016852f7
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.81.0-src/compiler/rustc_target/src/spec/targets/mips64_unknown_linux_gnuabin32.rs.orig 2024-09-25 16:19:09.286000000 +0100
15 +++ rustc-1.81.0-src/compiler/rustc_target/src/spec/targets/mips64_unknown_linux_gnuabin32.rs 2024-09-25 16:23:23.147000000 +0100
16 @@ -3,22 +3,22 @@
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: Some("MIPS64 Linux, N64 ABI (kernel 4.4, glibc 2.23)".into()),
24 tier: Some(3),
25 host_tools: Some(true),
26 std: Some(true),
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 + //features: "+mips64r2,+xgot".into(),
43 max_atomic_width: Some(64),
44 mcount: "_mcount".into(),