From c7841dcdbda13b4afb5b9ac7b1ab220b0da54db3 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 1 Jun 2015 20:15:12 -0400 Subject: init_section fix (function.c --> __main) signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information. --- gcc/config/i386/midipix.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gcc/config/i386/midipix.h b/gcc/config/i386/midipix.h index 66dde99c6..3502ba618 100644 --- a/gcc/config/i386/midipix.h +++ b/gcc/config/i386/midipix.h @@ -103,6 +103,10 @@ #undef TARGET_PECOFF #define TARGET_PECOFF (1) +#undef HAS_INIT_SECTION +#define HAS_INIT_SECTION (1) + + #undef HOST_EXECUTABLE_SUFFIX #define HOST_EXECUTABLE_SUFFIX "" @@ -148,6 +152,9 @@ #undef GAS_SECTION #define GAS_SECTION GAS_TAB ".section" GAS_SPACE +#undef INIT_SECTION_ASM_OP +#define INIT_SECTION_ASM_OP GAS_SECTION ".init" + #undef DRECTVE_SECTION_NAME #define DRECTVE_SECTION_NAME ".drectve" -- cgit v1.2.3