Fooled by branch delay slots again... _getpid: 05007da0 ldil 0xc0000000,%r1 0500...
Michael Engel @me_@sueden.social
Fooled by branch delay slots again...
_getpid:
05007da0 ldil 0xc0000000,%r1
05007da4 ble 0x4(%sr4,%r1)
05007da8 ldi 0x14,%r22
05007dac bv,n %r0(%r2)
05007db0 b,n _getpid
05007db4 ldil _pipe,%r1
05007db8 be,n 0x1e8(%sr4,%r1)
This is NS3.3 hppa libSystem code, c0000004 is a trampoline for Unix syscalls (8=Mach). The syscall number (r22 = 0x14) is loaded in the ble delay slot...