aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/obj-coff.c6
-rw-r--r--gas/config/obj-coff.h7
2 files changed, 12 insertions, 1 deletions
diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c
index 9b99ef5..fdda18e 100644
--- a/gas/config/obj-coff.c
+++ b/gas/config/obj-coff.c
@@ -53,6 +53,8 @@ static symbolS *def_symbol_in_progress;
static const char weak_altprefix[] = ".weak.";
#endif /* TE_PE */
+#include "obj-coff-seh.c"
+
typedef struct
{
unsigned long chunk_size;
@@ -1768,7 +1770,6 @@ coff_frob_section (segT sec)
SF_SET_STATICS (secsym);
SA_SET_SCN_SCNLEN (secsym, size);
}
-
/* FIXME: These should be in a "stabs.h" file, or maybe as.h. */
#ifndef STAB_SECTION_NAME
#define STAB_SECTION_NAME ".stab"
@@ -1877,6 +1878,9 @@ const pseudo_typeS coff_pseudo_table[] =
/* The tic4x uses sdef instead of def. */
{"sdef", obj_coff_def, 0},
#endif
+#if defined(SEH_CMDS)
+ SEH_CMDS
+#endif
{NULL, NULL, 0}
};
diff --git a/gas/config/obj-coff.h b/gas/config/obj-coff.h
index 11a1123..d17afdb 100644
--- a/gas/config/obj-coff.h
+++ b/gas/config/obj-coff.h
@@ -413,4 +413,11 @@ extern void obj_coff_init_stab_section (segT);
extern void c_section_header (struct internal_scnhdr *,
char *, long, long, long, long,
long, long, long, long);
+extern void obj_coff_seh_do_final (void);
+
+#ifndef obj_coff_generate_pdata
+#define obj_coff_generate_pdata obj_coff_seh_do_final
+#endif
+
+
#endif /* OBJ_FORMAT_H */