[patch] Remove SHARED_BSS_SECTION_ASM_OP.
Kazu Hirata
kazu@cs.umass.edu
Tue Jan 13 16:37:00 GMT 2004
Hi,
Attached is a patch to remove SHARED_BSS_SECTION_ASM_OP as it is
unused.
Tested on i686-pc-linux-gnu. OK to apply?
Kazu Hirata
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.
Index: system.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/system.h,v
retrieving revision 1.183
diff -u -r1.183 system.h
--- system.h 13 Jan 2004 10:51:36 -0000 1.183
+++ system.h 13 Jan 2004 10:57:23 -0000
@@ -622,7 +622,7 @@
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 \
Index: varasm.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/varasm.c,v
retrieving revision 1.404
diff -u -r1.404 varasm.c
--- varasm.c 13 Jan 2004 10:51:36 -0000 1.404
+++ varasm.c 13 Jan 2004 10:57:25 -0000
@@ -459,13 +459,7 @@
{
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;
}
}
Index: doc/tm.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/doc/tm.texi,v
retrieving revision 1.277
diff -u -r1.277 tm.texi
--- doc/tm.texi 13 Jan 2004 10:51:39 -0000 1.277
+++ doc/tm.texi 13 Jan 2004 10:57:33 -0000
@@ -5785,13 +5785,6 @@
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
More information about the Gcc-patches
mailing list