x32 regressions

Dmitry V. Levin ldv at altlinux.org
Thu May 2 01:07:18 UTC 2013


On Wed, May 01, 2013 at 08:40:19PM -0400, Mike Frysinger wrote:
> On Wednesday 01 May 2013 18:49:02 Dmitry V. Levin wrote:
> > @@ -230,6 +253,12 @@ printflock(struct tcb *tcp, long addr, int getlk)
> >  	struct flock fl;
> > 
> >  #if SUPPORTED_PERSONALITIES > 1
> > +# ifdef X32
> > +	if (current_personality == 0) {
> > +		printflock64(tcp, addr, getlk);
> > +		return;
> > +	}
> > +# endif
> 
> hmm, to review the actual patch now, shouldn't we start a new symbol rather 
> than using X32 ?  i'm pretty sure all these issues X32 is running into also 
> affects MIPS's n32 ABI as they're largely the same concept -- native 64bit CPU 
> where the ABI uses 32bit longs/pointers but the syscall API is 64bit.

Any ideas about the name for this new symbol?


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20130502/7ef9af50/attachment.bin>


More information about the Strace-devel mailing list