Make Win32 block trampolines SEH compatible.
This change is effectively a no-op (it's impossible to throw an
exception through these trampolines, because they tail call the real
block), but it does prevent the linker from complaining that we're
linking SEH-aware and SEH-unaware code.
////////////////////////////////////////////////////////////////////////////////
// x86-32 trampoline
////////////////////////////////////////////////////////////////////////////////
+
+#ifdef _WIN32
+// Mark this compilation unit as SEH-safe
+.text
+.def @feat.00;
+.scl 3;
+.type 0;
+.endef
+.globl @feat.00
+.set @feat.00, 1
+.data
+#endif
+
.macro trampoline arg0, arg1
call 1f # Store the instruction pointer on the stack
1:
