This is the mail archive of the gcc@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: Problem with x64 SEH macro implementation for ReactOS


2008/11/27 Ross Ridge <rridge@csclub.uwaterloo.ca>:
> Kai Tietz writes:
>>I am very interested to learn, which parts in calling convention aren't
>>implemented for w64?
>
> Well, maybe I'm missing something but I can't any see code in GCC for
> generating prologues, epilogues and unwind tables in the format required
> by the Windows x64 ABI.
>
>        http://msdn.microsoft.com/en-us/library/tawsa7cb.aspx
>
>>I am a bit curious, as I found that the unwind mechanism of Windows
>>itself working quite well on gcc compiled code, so I assumed, that the
>>most important parts of its calling convention are implemented.
>
> How exactly are you testing this?  Without SEH support Windows wouldn't
> ordinarily ever need to unwind through GCC compiled code.  I assumed
> that's why it was never implemented.
>
>                                Ross Ridge
>
>

Well, you mean the SEH tables on stack. Well, those aren't implemented
(as they aren't for 32-bit). But the the unwinding via  RtlUnwind and
RtlUnwindEx do their job even for gcc compiled code quite well.

Cheers,
Kai
-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination


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