Jon Griffiths <[EMAIL PROTECTED]> writes:

> The function that does this, EH_prolog, is for binary compatability for VC++ 
> compiled apps only, and will never be called by gcc compiled code. So 
> accessing a given stack offset is fine (required).

EH_prolog is fine (the problem was the lack of ASM_GLOBAL_FUNC but you
fixed that), it is entirely in assembly so obviously using %esp is
OK. My objection was about local_unwind2, where you were using %esp to
reference local variables. This cannot work, even if you don't modify
%esp in the inline assembly.

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to