[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
Fri Dec 1 14:01:40 GMT 2023
https://bugs.libre-soc.org/show_bug.cgi?id=1169
--- Comment #44 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #43)
> I got a statically-linked hello world to work!
hooraaay! that's a big damn deal!
> I also had to do a bunch of
> debugging and fixing the syscall support, I cleaned up some of the kludges
> and fixed the tests to match.
yeah sounds about right, only by testing is the dive deep enough
> I made ISACaller call load_elf (through MemMMap.initialize), since that way
> it's easier to use from both unit tests and from pypowersim. basically, you
> just pass a ELFFile in instead of a Program.
yeah that makes perfect sense to me, welcome to the Liskov Substitution
Principle...
> ELF relocations aren't implemented yet...
next grant... or is it quick and easy? -fPIC support would be brilliant
to have, but only if it takes a really short amount of time
> commit dcd540c1055af5cabb2c18c67bbe5d6d1b70b744
> Author: Jacob Lifshay <programmerjake at gmail.com>
> Date: Wed Nov 29 19:04:26 2023 -0800
>
> setup: add pyelftools v0.30 as dependency
mmmm i took all dependencies out, pip3 is so bad nowadays.
can you comment-out it and add to devscripts instead?
leave the actual dependency still in there, don't delete it.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list