summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-06-01 20:15:12 -0400
committermidipix <writeonce@midipix.org>2015-06-01 20:15:12 -0400
commitc7841dcdbda13b4afb5b9ac7b1ab220b0da54db3 (patch)
treed1749c63b65030f6e4c3033d21a8e24d0dad1477 /gcc/config
parentf9ba0c39282480f658a8f0f7917214ffa4a2bd73 (diff)
downloadcbb-gcc-4.6.4-c7841dcdbda13b4afb5b9ac7b1ab220b0da54db3.tar.bz2
cbb-gcc-4.6.4-c7841dcdbda13b4afb5b9ac7b1ab220b0da54db3.tar.xz
init_section fix (function.c --> __main)
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/midipix.h7
1 files changed, 7 insertions, 0 deletions
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"