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
"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
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~
Hi Ian,
x32 is similar to x86-64 with 32bit pointer size. This patch adds x32
support to config/i386/morestack.S. Tested on x32. OK for trunk?
Thanks.
H.J.
---
2011-07-28 H.J. Lu
* config/i386/morestack.S: Properly save the x32 new stack
boundary. Properly check __x86_64_