summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-01-14 00:49:05 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-01-14 00:49:05 +0000
commitabf843c494411a0bec64aa83c462a1f77a704411 (patch)
tree7322530b5a7fef5d841aa96f8e12928a8f8d9658 /gcc
parent4bcab2210bba3aaf7ff7f299796e8efd6e5f0c3a (diff)
downloadgcc-abf843c494411a0bec64aa83c462a1f77a704411.tar.gz
system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
* system.h (SHARED_BSS_SECTION_ASM_OP): Poison. * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP. * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove. From-SVN: r75832
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/tm.texi7
-rw-r--r--gcc/system.h2
-rw-r--r--gcc/varasm.c8
4 files changed, 8 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5794b117deb..70a97fc40e9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-13 Kazu Hirata <kazu@cs.umass.edu>
+
+ * system.h (SHARED_BSS_SECTION_ASM_OP): Poison.
+ * varasm.c (bss_section): Don't use SHARED_BSS_SECTION_ASM_OP.
+ * doc/tm.texi (SHARED_BSS_SECTION_ASM_OP): Remove.
+
2004-01-14 Jan Hubicka <jh@suse.cz>
Partial fix PR c++/12850
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index ea6741ded64..e1f23673e96 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -5785,13 +5785,6 @@ uninitialized global data will be output in the data section if
used.
@end defmac
-@defmac SHARED_BSS_SECTION_ASM_OP
-If defined, a C expression whose value is a string, including spacing,
-containing the assembler operation to identify the following data as
-uninitialized global shared data. If not defined, and
-@code{BSS_SECTION_ASM_OP} is, the latter will be used.
-@end defmac
-
@defmac INIT_SECTION_ASM_OP
If defined, a C expression whose value is a string, including spacing,
containing the assembler operation to identify the following data as
diff --git a/gcc/system.h b/gcc/system.h
index 82c44e868c6..dc939697c93 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -622,7 +622,7 @@ typedef char _Bool;
LIBGCC_NEEDS_DOUBLE FINAL_PRESCAN_LABEL DEFAULT_CALLER_SAVES \
LOAD_ARGS_REVERSED MAX_INTEGER_COMPUTATION_MODE \
CONVERT_HARD_REGISTER_TO_SSA_P ASM_OUTPUT_MAIN_SOURCE_FILENAME \
- FIRST_INSN_ADDRESS TEXT_SECTION
+ FIRST_INSN_ADDRESS TEXT_SECTION SHARED_BSS_SECTION_ASM_OP
/* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 1efe09761e8..e44d288dbc8 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -459,13 +459,7 @@ bss_section (void)
{
if (in_section != in_bss)
{
-#ifdef SHARED_BSS_SECTION_ASM_OP
- if (flag_shared_data)
- fprintf (asm_out_file, "%s\n", SHARED_BSS_SECTION_ASM_OP);
- else
-#endif
- fprintf (asm_out_file, "%s\n", BSS_SECTION_ASM_OP);
-
+ fprintf (asm_out_file, "%s\n", BSS_SECTION_ASM_OP);
in_section = in_bss;
}
}