Commit dc79b3b8 by Kazu Hirata Committed by Kazu Hirata

system.h (SHARED_SECTION_ASM_OP): Poison.

	* system.h (SHARED_SECTION_ASM_OP): Poison.
	* varasm.c (data_section): Don't use SHARED_SECTION_ASM_OP.
	* doc/tm.texi (SHARED_SECTION_ASM_OP): Remove.

From-SVN: r77476
parent a6f78652
2004-02-07 Kazu Hirata <kazu@cs.umass.edu>
* system.h (SHARED_SECTION_ASM_OP): Poison.
* varasm.c (data_section): Don't use SHARED_SECTION_ASM_OP.
* doc/tm.texi (SHARED_SECTION_ASM_OP): Remove.
2004-02-07 Zack Weinberg <zack@codesourcery.com> 2004-02-07 Zack Weinberg <zack@codesourcery.com>
Bug 13856 Bug 13856
......
...@@ -5789,12 +5789,6 @@ does not have a special read-only data section, and does not put data ...@@ -5789,12 +5789,6 @@ does not have a special read-only data section, and does not put data
in the text section. in the text section.
@end defmac @end defmac
@defmac SHARED_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
shared data. If not defined, @code{DATA_SECTION_ASM_OP} will be used.
@end defmac
@defmac BSS_SECTION_ASM_OP @defmac BSS_SECTION_ASM_OP
If defined, a C expression whose value is a string, including spacing, If defined, a C expression whose value is a string, including spacing,
containing the assembler operation to identify the following data as containing the assembler operation to identify the following data as
......
...@@ -634,7 +634,7 @@ typedef char _Bool; ...@@ -634,7 +634,7 @@ typedef char _Bool;
PROMOTED_MODE EXPAND_BUILTIN_VA_END \ PROMOTED_MODE EXPAND_BUILTIN_VA_END \
LINKER_DOES_NOT_WORK_WITH_DWARF2 FUNCTION_ARG_KEEP_AS_REFERENCE \ LINKER_DOES_NOT_WORK_WITH_DWARF2 FUNCTION_ARG_KEEP_AS_REFERENCE \
GIV_SORT_CRITERION MAX_LONG_TYPE_SIZE MAX_LONG_DOUBLE_TYPE_SIZE \ GIV_SORT_CRITERION MAX_LONG_TYPE_SIZE MAX_LONG_DOUBLE_TYPE_SIZE \
MAX_WCHAR_TYPE_SIZE GCOV_TYPE_SIZE MAX_WCHAR_TYPE_SIZE GCOV_TYPE_SIZE SHARED_SECTION_ASM_OP
/* Hooks that are no longer used. */ /* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \ #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \
......
...@@ -210,16 +210,7 @@ data_section (void) ...@@ -210,16 +210,7 @@ data_section (void)
if (in_section != in_data) if (in_section != in_data)
{ {
in_section = in_data; in_section = in_data;
if (flag_shared_data) fprintf (asm_out_file, "%s\n", DATA_SECTION_ASM_OP);
{
#ifdef SHARED_SECTION_ASM_OP
fprintf (asm_out_file, "%s\n", SHARED_SECTION_ASM_OP);
#else
fprintf (asm_out_file, "%s\n", DATA_SECTION_ASM_OP);
#endif
}
else
fprintf (asm_out_file, "%s\n", DATA_SECTION_ASM_OP);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment