From 5f10cda1cd800017cac6f3fd7b4c9d88d306bb2d Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 11 Mar 2019 07:29:07 -0400 Subject: midipix targets: finalized and integrated SEH support. --- gcc/config/i386/midipix.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gcc/config/i386/midipix.h') diff --git a/gcc/config/i386/midipix.h b/gcc/config/i386/midipix.h index f87cdc5c5..73d5a3a62 100644 --- a/gcc/config/i386/midipix.h +++ b/gcc/config/i386/midipix.h @@ -57,6 +57,15 @@ #undef TARGET_SEH #define TARGET_SEH (TARGET_NT64 && flag_unwind_tables) +#undef TARGET_EXCEPT_UNWIND_INFO +#define TARGET_EXCEPT_UNWIND_INFO midipix_except_unwind_info + +#undef TARGET_PERSONALITY_FUNCTION +#define TARGET_PERSONALITY_FUNCTION + +#undef TARGET_PERSONALITY_FUNCTION_MIDIPIX +#define TARGET_PERSONALITY_FUNCTION_MIDIPIX + #undef MAX_OFILE_ALIGNMENT #define MAX_OFILE_ALIGNMENT (8 * (2 * 4096)) @@ -406,6 +415,9 @@ extern void midipix_asm_output_dwarf_offset (FILE * asmout, unsigned size, cons extern unsigned int midipix_dbx_get_register_number (unsigned int n); extern unsigned int midipix_dbx_get_dwarf_frame_register_number (unsigned int n); +extern enum unwind_info_type midipix_except_unwind_info( + struct gcc_options * opts); + extern section * midipix_i386_pe_function_section( tree decl, enum node_frequency freq, -- cgit v1.2.3