[Libre-soc-bugs] [Bug 1169] Add ELF and mmap support to ISACaller -- no dynamic linking
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Mon Nov 27 03:33:36 GMT 2023
https://bugs.libre-soc.org/show_bug.cgi?id=1169
--- Comment #35 from Jacob Lifshay <programmerjake at gmail.com> ---
Implemented mmap, except for final wiring of sc insn to call
MemMMap.mmap_syscall. This is enough for loading ELF files, so I'm leaving it
at that.
it supports mapping anonymous memory and files, but only with MAP_PRIVATE.
MAP_SHARED isn't supported for now.
MAP_FIXED and not are both supported, though I only test MAP_FIXED since that's
all I need for ELF loading.
https://git.libre-soc.org/?p=openpower-isa.git;a=shortlog;h=8a5707536105830db4a60d3fcc2ac0184ff3d19d
commit 8a5707536105830db4a60d3fcc2ac0184ff3d19d
Author: Jacob Lifshay <programmerjake at gmail.com>
Date: Sun Nov 26 19:14:21 2023 -0800
add mmap_syscall tests
commit 00a153e29456dbfcaa339a9d1b4481873c3d40d4
Author: Jacob Lifshay <programmerjake at gmail.com>
Date: Sun Nov 26 19:13:25 2023 -0800
implement MemMMap.mmap_syscall
commit 49b7ab73c59ba285695f10058c1585420b226f4b
Author: Jacob Lifshay <programmerjake at gmail.com>
Date: Sun Nov 26 19:11:35 2023 -0800
add ppc_flags.py so we can get the ppc versions of all the flags we need
tells gcc to dump all #defines, and parses that.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list