[Libre-soc-bugs] [Bug 1228] SFFS ISACaller userspace ELF support for dynamic linking and PIC

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Dec 6 09:20:31 GMT 2023


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

--- Comment #11 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #10)
> anyway let's park this one as weare mot getting paid!

i'm waiting till dec 7 since that's the deadline you previously gave.

I added argv and envp support, and partial auxv support.
I also added checking for invalid memory accesses when in emulating-mmap mode,
turns out the initial program state is missing something so glibc does a null
dereference, but I never knew until I tried to run the same program from
approximately the same state in gdb in a ppc64le VM. I just copied the stack
pointer and argv/envp/auxv state to gdb, so this means it probably isn't
relocations causing the issue (since those were applied when running in gdb),
I'm guessing a missing auxv entry somewhere.

https://git.libre-soc.org/?p=openpower-isa.git;a=shortlog;h=refs/heads/1228-elf-dynamic

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


More information about the libre-soc-bugs mailing list