[Libre-soc-bugs] [Bug 976] support missing specifiers

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Mon Apr 10 20:02:15 BST 2023


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

--- Comment #2 from Dmitry Selyutin <ghostmansd at gmail.com> ---
OK, it took a couple of days, where mostly I had to spend time trying to recall
how on Earth these things work. :-)
I've added the code which allows binutils to recognize specifiers it previously
lacked.

https://git.libre-soc.org/?p=binutils-gdb.git;a=commitdiff;h=4500e1cec69831512095f4f4b36c3c841fb60f96;hp=f75d3c24e6e403032bf180561b2bd25d7857d8a5

Two other commits regenerated the headers and sources (caveat, huge diffs):
https://git.libre-soc.org/?p=binutils-gdb.git;a=commitdiff;h=4e45cd03d3d5ea59cef577df03bc9461f512a883
https://git.libre-soc.org/?p=binutils-gdb.git;a=commitdiff;h=20aa766718bb65a15ea65104a90f477bdd8108c0

This needed a minor workaround on sv_binutils side (not a real fix, this chunk
should be refactored, since I changed the way extras are handled in insndb long
ago):
https://git.libre-soc.org/?p=openpower-isa.git;a=blobdiff;f=src/openpower/sv/sv_binutils.py;h=c2ba879689147107eca223d6ec65da8269f6cca4;hp=b4dea0acf62ed1419fb36cda661c99f2b702d3ee;hb=e3ea73ea5f589bbba5063d62279c2230aad6c254;hpb=59f1579956f07efe2611f6892a923764a0778ab2

At this point, we don't yet check whether binutils generate the same assembly
as python canonical code (almost no chances it does since the binutils are
vastly outdated and do not even use auto-generated functions everywhere).

However, I suppose the rest is to be done in
https://bugs.libre-soc.org/show_bug.cgi?id=1003. Any objections, suggestions,
ideas?

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


More information about the libre-soc-bugs mailing list