Closed andrekandore closed 9 months ago
I'm not actively working on it, but I'm happy to review a PR. You will need to modify three places:
The message-send logic needs to:
SmallObjectClasses
array (64-bit) or SmallIntClass
(32-bit) global, otherwise load it from the isa
pointer.slowMsgLookup
. This takes the address of the receiver as an argument because it can rewrite the receiver (e.g. for -forwardingTargetForSelector
).@davidchisnall
thanks for the super detailed reply, especially for the message-send logic
ill try to take a look at what i can do over the weekend, and if i have any progress or issue ill come back here if its ok with you (ill try not to bother with anything trivial)
thank you again!
hi
is there any work on getting libobjc2 working on risc-v?
i tried to build libobjc2 on riscv64 linux and couldnt get it compiled because it seems most of the primitive functions require assembly implementations, of which risc-v seems missing...
if there is no way to compile without assembly, then those parts would need to be implemented... is anyone already working on those?
if help is needed id by happy to collaborate!
please let me know, and thanks in advance ^^