[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Linux doesn't follow x86/x86-64 ABI wrt direction flag



Samuel Thibault, le Sat 08 Mar 2008 16:54:24 +0000, a écrit :
> Aurelien Jarno, le Wed 05 Mar 2008 23:09:16 +0100, a écrit :
> > On Wed, Mar 05, 2008 at 10:53:28PM +0100, Aurelien Jarno wrote:
> > > - hurd crashes in this case. It has to be fixed
> 
> It's actually worse than that:
> 
> asm("std"); printf("bouh!\n");
> 
> would crash Mach :)
> That's because on syscall GNU Mach wasn't calling cld, I commited a fix,
> pending upload.

I forgot to talk about the actual problem: clearing DF before entering
signal handlers.  Of course (we are in the Hurdish world) that's not a
bug in Mach but in glibc :) Fix pending upload too.

Samuel


Reply to: