summaryrefslogtreecommitdiff
path: root/gcc/config/i386/interix.c
diff options
context:
space:
mode:
authorAlan Modra <alan@SPRI.Levels.UniSA.Edu.Au>2000-01-22 19:49:21 +0000
committerNick Clifton <nickc@gcc.gnu.org>2000-01-22 19:49:21 +0000
commite8c3586ab810c1806d10074799514372ca29672c (patch)
tree32ca6123fa3f650f20b8e9974c56cee0d9dfbfc2 /gcc/config/i386/interix.c
parent37b80d2e0220b802ff4c122f700711dfad634bb6 (diff)
downloadgcc-e8c3586ab810c1806d10074799514372ca29672c.tar.gz
Fix definition of UNIQUE_SECTION so that zero initialised data is placed
into .data. From-SVN: r31563
Diffstat (limited to 'gcc/config/i386/interix.c')
-rw-r--r--gcc/config/i386/interix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i386/interix.c b/gcc/config/i386/interix.c
index 4f4f8233e18..bec9287085b 100644
--- a/gcc/config/i386/interix.c
+++ b/gcc/config/i386/interix.c
@@ -93,9 +93,9 @@ i386_pe_unique_section (decl, reloc)
without a .rdata section. */
if (TREE_CODE (decl) == FUNCTION_DECL)
prefix = ".text$";
- else if (DECL_INITIAL (decl) == 0
+/* else if (DECL_INITIAL (decl) == 0
|| DECL_INITIAL (decl) == error_mark_node)
- prefix = "";
+ prefix = ".bss"; */
else if (DECL_READONLY_SECTION (decl, reloc))
#ifdef READONLY_DATA_SECTION
prefix = ".rdata$";