This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with x64 SEH macro implementation for ReactOS
- From: "Kai Tietz" <ktietz70 at googlemail dot com>
- To: "Ross Ridge" <rridge at csclub dot uwaterloo dot ca>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 27 Nov 2008 19:58:48 +0100
- Subject: Re: Problem with x64 SEH macro implementation for ReactOS
- References: <20081127174428.88B3C73E1B@caffeine.csclub.uwaterloo.ca>
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