From mboxrd@z Thu Jan 1 00:00:00 1970 From: lehmann@ans-netz.de (Oliver Lehmann) Date: Mon, 23 Jun 2008 18:11:01 +0200 Subject: [TUHS] Introduction In-Reply-To: <20080623161801.19a53c3e@veda.cnb.uam.es> References: <20080604135729.4c50e178@veda.cnb.uam.es> <20080605171758.64c80f06@veda.cnb.uam.es> <20080623161801.19a53c3e@veda.cnb.uam.es> Message-ID: <20080623181101.e862a3a2.lehmann@ans-netz.de> 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, at rr2 ldl _u+78,rr4 not exactly the wanted code :( Greetings, Oliver -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/