* added support to Emerge -repository w/ repo/*
[t2sde.git] / package / rust / rustc / hotfix-abi.patch.powerpc64.elfv2
blobcab21fd4fc2c047051ef4322b7de4ce6e073069d
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/rustc/hotfix-abi.patch.powerpc64.elfv2
3 # Copyright (C) 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.76.0-src/compiler/rustc_target/src/abi/call/powerpc64.rs.vanilla    2024-02-20 12:22:13.165372817 +0100
15 +++ rustc-1.76.0-src/compiler/rustc_target/src/abi/call/powerpc64.rs    2024-02-20 12:23:04.119367907 +0100
16 @@ -131,7 +131,7 @@
17          ELFv2
18      } else {
19          match cx.data_layout().endian {
20 -            Endian::Big => ELFv1,
21 +            Endian::Big => ELFv2,
22              Endian::Little => ELFv2,
23          }
24      };
25 --- rustc-1.80.1-src/compiler/rustc_target/src/spec/targets/powerpc64_unknown_linux_gnu.rs.vanilla      2024-09-26 13:47:34.170020013 +0200
26 +++ rustc-1.80.1-src/compiler/rustc_target/src/spec/targets/powerpc64_unknown_linux_gnu.rs      2024-09-26 13:49:15.120020440 +0200
27 @@ -17,7 +17,7 @@
28              std: None,
29          },
30          pointer_width: 64,
31 -        data_layout: "E-m:e-Fi64-i64:64-n32:64-S128-v256:256:256-v512:512:512".into(),
32 +        data_layout: "E-m:e-Fn32-i64:64-n32:64-S128-v256:256:256-v512:512:512".into(),
33          arch: "powerpc64".into(),
34          options: TargetOptions { endian: Endian::Big, mcount: "_mcount".into(), ..base },
35      }