aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Cox <coxs@gnu.org>1996-04-23 15:26:23 +0000
committerStan Cox <coxs@gnu.org>1996-04-23 15:26:23 +0000
commit8b8821d52dc73c3f4a8e8d09fed95ff2037156a8 (patch)
treedbed21362550d2537cca15e9d181e220ab351f83
parent3e99621c52c497247cd683369043ac5546382c7a (diff)
downloadgcc-8b8821d52dc73c3f4a8e8d09fed95ff2037156a8.zip
gcc-8b8821d52dc73c3f4a8e8d09fed95ff2037156a8.tar.gz
gcc-8b8821d52dc73c3f4a8e8d09fed95ff2037156a8.tar.bz2
(BSS_SECTION_ASM_OP): Use `data' directive.
From-SVN: r11868
-rw-r--r--gcc/config/i386/sco5.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/config/i386/sco5.h b/gcc/config/i386/sco5.h
index d0d3b89..03b30572 100644
--- a/gcc/config/i386/sco5.h
+++ b/gcc/config/i386/sco5.h
@@ -113,7 +113,7 @@ Boston, MA 02111-1307, USA. */
((TARGET_ELF) ? FINI_SECTION_ASM_OP_ELF : FINI_SECTION_ASM_OP_COFF)
#undef BSS_SECTION_ASM_OP
-#define BSS_SECTION_ASM_OP "\t.bss"
+#define BSS_SECTION_ASM_OP "\t.data"
#undef TEXT_SECTION_ASM_OP
#define TEXT_SECTION_ASM_OP "\t.text"
@@ -270,8 +270,9 @@ do { \
else \
bss_section (); \
ASM_OUTPUT_ALIGN ((FILE), align == -1 ? 2 : align); \
- ASM_OUTPUT_LABEL ((FILE), (NAME)); \
- fprintf ((FILE), "%s\t.,.+%u\n", SET_ASM_OP, (ALIGN)); \
+ fprintf ((FILE), "%s\t", "\t.lcomm"); \
+ assemble_name ((FILE), (NAME)); \
+ fprintf ((FILE), ",%u\n", (SIZE)); \
} \
} while (0)
@@ -731,7 +732,7 @@ dtors_section () \
&& strcmp (STR, "Tbss"))
#undef TARGET_DEFAULT
-#define TARGET_DEFAULT 0201
+#define TARGET_DEFAULT 0301
#undef HANDLE_SYSV_PRAGMA
#define HANDLE_SYSV_PRAGMA 1
@@ -817,7 +818,7 @@ dtors_section () \
#undef CPP_PREDEFINES
#define CPP_PREDEFINES \
- "-Asystem(unix) -Asystem(svr3) -Acpu(i386) -Amachine(i386)"
+ "-Di386 -Asystem(unix) -Asystem(svr3) -Acpu(i386) -Amachine(i386)"
/* You are in a maze of GCC specs ... all alike */