From 6afa9b89deb44fc9742f195c585ba6dd97a80795 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 4 Feb 2019 00:13:13 -0500 Subject: midipix target: define DO_GLOBAL_DTORS_BODY to avoid libgcc's default code. --- gcc/config/i386/midipix.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/config/i386/midipix.h b/gcc/config/i386/midipix.h index 297506430..304735a20 100644 --- a/gcc/config/i386/midipix.h +++ b/gcc/config/i386/midipix.h @@ -352,6 +352,9 @@ #undef LIBGCC2_HAS_TF_MODE #define LIBGCC2_HAS_TF_MODE (1) +#undef DO_GLOBAL_DTORS_BODY +#define DO_GLOBAL_DTORS_BODY (void)0 + /* source compatibility: seh prototypes */ extern void midipix_seh_hook__pe_seh_init(FILE *); -- cgit v1.2.3