[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
Sun Dec 3 09:38:04 GMT 2023


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

Jacob Lifshay <programmerjake at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |programmerjake at gmail.com
             Status|CONFIRMED                   |IN_PROGRESS

--- Comment #1 from Jacob Lifshay <programmerjake at gmail.com> ---
I implemented brk and a bunch of smaller misc. syscalls and added a test of a
hello world statically linked to glibc, it fails when it reaches stwcx.

https://git.libre-soc.org/?p=openpower-isa.git;a=shortlog;h=ca1a0b0061f287c615f45b61ea9f6a70e38ccf69


error:
        if rc_en and ins_name not in ['svstep']:
            if outs_ok.get('FPSCR', False):
                FPSCR = outs['FPSCR']
            else:
                FPSCR = self.FPSCR
            yield from self.do_rc_ov(
>               ins_name, results[0], overflow, cr0, cr1, FPSCR)
E           TypeError: 'NoneType' object is not subscriptable

<snip>
results    = None
<snip>

src/openpower/decoder/isa/caller.py:2474: TypeError

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


More information about the libre-soc-bugs mailing list