[Libre-soc-bugs] [Bug 982] Support PowerPC ABI in ISACaller

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Oct 23 20:56:48 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=982

--- Comment #158 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #157)
> dmitry i'm running on an armv8l host (kindle tablet, due to circumstances)
> the default is hardcoded to amd64 in openpower.syscalls?

afaict it's not, it falls back to uname.machine, but probably needs a new entry
to convert armv8l to aarch64 (on my phone uname.machine is aarch64):
https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/decoder/isa/caller.py;hb=6d56fed8edcd256b9264bac81cf897a596b58e53#l1140

actually, it just has no entries for aarch64:
https://git.libre-soc.org/?p=openpower-isa.git;a=blob;f=src/openpower/syscalls/__init__.py;h=5b349ea9e00e646419a3e80e0867bc55967e17f5;hb=6d56fed8edcd256b9264bac81cf897a596b58e53#l117
 117             "i386": i386,
 118             "amd64": amd64,
 119             "ppc": ppc,
 120             "ppc64": ppc64,
 121             "riscv32": riscv32,
 122             "riscv64": riscv64,

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list