From dc79b3b841bb884421e179367fd13619c515c328 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 8 Feb 2004 02:09:58 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/doc/tm.texi | 6 ------ gcc/system.h | 2 +- gcc/varasm.c | 11 +---------- 4 files changed, 8 insertions(+), 17 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a0bab4f2adee..fe519e529863 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-02-07 Kazu Hirata + + * 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 Bug 13856 diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 883f034ab2db..f290c1c21f5c 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -5789,12 +5789,6 @@ does not have a special read-only data section, and does not put data in the text section. @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 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 0397cf29613f..12c48bd5fdd6 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -634,7 +634,7 @@ typedef char _Bool; PROMOTED_MODE EXPAND_BUILTIN_VA_END \ LINKER_DOES_NOT_WORK_WITH_DWARF2 FUNCTION_ARG_KEEP_AS_REFERENCE \ 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. */ #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \ diff --git a/gcc/varasm.c b/gcc/varasm.c index 91ca4356396a..cbcef0a1e1d1 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -210,16 +210,7 @@ data_section (void) if (in_section != in_data) { in_section = in_data; - if (flag_shared_data) - { -#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); + fprintf (asm_out_file, "%s\n", DATA_SECTION_ASM_OP); } }