This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [split] Add x86 runtime support routines


Richard Henderson <rth@redhat.com> writes:

>> +	movl	16(%esp),%eax		# Restore registers.
>> +	movl	12(%esp),%edx
>> +
>> +	# We do a little dance here so that the processor's
>> +        # call/return prediction works out right.
>> +
>> +	movl	20(%esp),%ecx		# Where we are in the caller.
>> +	movl	%eax,%esp		# Switch to the new stack.
>
> In 32-bit mode, you've lost the %eax return value from __generic_morestack.

Gah, thanks.  And thanks for the other comments.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]