diff options
author | Minijackson <minijackson@riseup.net> | 2022-07-25 12:21:33 +0200 |
---|---|---|
committer | Rick van Schijndel <Mindavi@users.noreply.github.com> | 2022-08-28 21:46:44 +0200 |
commit | 3fa4274ff692c0cff449763b803c46f576e54f95 (patch) | |
tree | 9dbc7964415ea6f3024b4adc901f3eedf6c9db28 /lib/systems | |
parent | da2d9a2aca33d628e20b8a8693fb995192d31903 (diff) |
lib/systems/parse: use ELFv2 by default for PPC64 BE
Diffstat (limited to 'lib/systems')
-rw-r--r-- | lib/systems/parse.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/systems/parse.nix b/lib/systems/parse.nix index b780292854457..ac450534fe1e8 100644 --- a/lib/systems/parse.nix +++ b/lib/systems/parse.nix @@ -475,6 +475,8 @@ rec { if lib.versionAtLeast (parsed.cpu.version or "0") "6" then abis.gnueabihf else abis.gnueabi + # Default ppc64 BE to ELFv2 + else if isPower64 parsed && isBigEndian parsed then abis.gnuabielfv2 else abis.gnu else abis.unknown; }; |