I've been sitting on this for a while (mainly, because I still need to implement STABS debugging symbol support in Ghidra).
It doesn't work yet. I'm just posting this so that I have somewhere to look back to.
You can clone the source code repository at git://repo.or.cz/dsnet.git