Re: PATCH: Fix config/i386/morestack.S for x32

2011-07-29 Thread H.J. Lu
On Thu, Jul 28, 2011 at 1:07 PM, Richard Henderson wrote: > On 07/28/2011 12:42 PM, H.J. Lu wrote: >> +#ifdef __LP64__ >>       movq    %rax,%fs:0x70           # Save the new stack boundary. >> +#else >> +     movl    %eax,%fs:0x40           # Save the new stack boundary. >> +#endif > > Please mac

Re: PATCH: Fix config/i386/morestack.S for x32

2011-07-28 Thread Ian Lance Taylor
"H.J. Lu" writes: > On Thu, Jul 28, 2011 at 1:07 PM, Richard Henderson wrote: >> On 07/28/2011 12:42 PM, H.J. Lu wrote: >>> +#ifdef __LP64__ >>>       movq    %rax,%fs:0x70           # Save the new stack boundary. >>> +#else >>> +     movl    %eax,%fs:0x40           # Save the new stack boundary

Re: PATCH: Fix config/i386/morestack.S for x32

2011-07-28 Thread Richard Henderson
On 07/28/2011 12:42 PM, H.J. Lu wrote: > +#ifdef __LP64__ > movq%rax,%fs:0x70 # Save the new stack boundary. > +#else > + movl%eax,%fs:0x40 # Save the new stack boundary. > +#endif Please macro-ize this. r~