Hi Jose,
Jose R. Valverde wrote:
u.u_dirp.l = (caddr_t) (*((long *)(uap->linkname &0x7F00FFFF)))
leads to:
"sys2.c":305: operands of "&" have incompatible types
Error in file sys2.c: Error. No assembly.
I've changed it to:
u.u_dirp.l = (caddr_t) (*((long *)((long)uap->linkname &0x7F00FFFF)));
and this produces:
ldl rr2,rr8(#4)
and r2,#32512
ldl rr4,@rr2
ldl _u+78,rr4
not exactly the wanted code :(
Greetings, Oliver
--
Oliver Lehmann
http://www.pofo.de/
http://wishlist.ans-netz.de/