M68k -> OS4-PPC glue code is easy enough to generate using fdtrans:
fdtrans -c blah_lib.sfd
But if I try to do this for a .sfd that includes definitions of WarpOS PPC functions in the jumptable it complains about the "==abi" command used in the .sfd file.
I'm guessing I will have to do them manually somehow or write a better fdtrans that can do them for me but then I need to know what kind of ABI that WarpOS uses, like is it same as OS4 but with library base in r3 instead of interface pointer or is it something completely different and if so what?
@salas00
I just learned from Frank Wille that WarpOS uses PowerOpen ABI, which uses a TOC pointer in r2 and is, apparently, free of reallocations. Don't know what else you need to know.
I was thinking more like practical information like what registers are used for function arguments, what registers are scratch and what registers have to be saved/restored. Such information that would be necessary to write the glue/stub functions needed for the jumptable (I'll write them in PPC assembler if it proves necessary).
I looked here:
ftp://www.sourceware.org/pub/binutils/ppc-docs/ppc-poweropen/
Didn't find it yet, but I bet it is in there somewhere.