* updated wlroots (0.17.3 -> 0.18.1)
[t2sde.git] / package / rust / rustc / sparc32.patch
blob2b9453cf9d2cfca8a85bc45dc292189ec9cac4c8
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/rustc/sparc32.patch
3 # Copyright (C) 2023 - 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/sparcv9b_unknown_linux_gnu.rs.vanilla 2024-09-25 16:24:05.474000000 +0100
15 +++ rustc-1.81.0-src/compiler/rustc_target/src/spec/targets/sparcv9b_unknown_linux_gnu.rs 2024-09-25 16:27:12.310000000 +0100
16 @@ -3,7 +3,7 @@
18 pub fn target() -> Target {
19 Target {
20 - llvm_target: "sparc-unknown-linux-gnu".into(),
21 + llvm_target: "sparc-unknown-linux-gnu".into(), // v9b
22 metadata: crate::spec::TargetMetadata {
23 description: Some("32-bit SPARC Linux".into()),
24 tier: Some(3),
25 @@ -14,7 +14,7 @@
26 data_layout: "E-m:e-p:32:32-i64:64-f128:64-n32-S64".into(),
27 arch: "sparc".into(),
28 options: TargetOptions {
29 - cpu: "v8".into(),
30 + cpu: "v9".into(), // v9b?
31 endian: Endian::Big,
32 //late_link_args: TargetOptions::link_args( LinkerFlavor::Gnu(Cc::Yes, Lld::No), &["-mcpu=v9", "-m32"],),
33 max_atomic_width: Some(32),
34 --- rustc-1.81.0-src/compiler/rustc_target/src/spec/targets/sparcv9_unknown_linux_gnu.rs.vanilla 2024-09-25 16:24:05.474000000 +0100
35 +++ rustc-1.81.0-src/compiler/rustc_target/src/spec/targets/sparcv9_unknown_linux_gnu.rs 2024-09-25 16:26:40.302000000 +0100
36 @@ -3,7 +3,7 @@
38 pub fn target() -> Target {
39 Target {
40 - llvm_target: "sparc-unknown-linux-gnu".into(),
41 + llvm_target: "sparc-unknown-linux-gnu".into(), // v9
42 metadata: crate::spec::TargetMetadata {
43 description: Some("32-bit SPARC Linux".into()),
44 tier: Some(3),
45 @@ -14,7 +14,7 @@
46 data_layout: "E-m:e-p:32:32-i64:64-f128:64-n32-S64".into(),
47 arch: "sparc".into(),
48 options: TargetOptions {
49 - cpu: "v8".into(),
50 + cpu: "v9".into(),
51 endian: Endian::Big,
52 //late_link_args: TargetOptions::link_args( LinkerFlavor::Gnu(Cc::Yes, Lld::No), &["-mcpu=v9", "-m32"],),
53 max_atomic_width: Some(32),