]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
system.h (SHARED_SECTION_ASM_OP): Poison.
authorKazu Hirata <kazu@cs.umass.edu>
Sun, 8 Feb 2004 02:09:58 +0000 (02:09 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sun, 8 Feb 2004 02:09:58 +0000 (02:09 +0000)
* 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
gcc/doc/tm.texi
gcc/system.h
gcc/varasm.c

index a0bab4f2adee37923d6ca4dc6108a66b4c82a88c..fe519e529863f338df32819cb86e81f283ff59cb 100644 (file)
@@ -1,3 +1,9 @@
+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>
 
        Bug 13856
index 883f034ab2db2c0fc0b06acedf7e8f82ecca7054..f290c1c21f5cdc6eaa6293299fe2807538bfdca3 100644 (file)
@@ -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
index 0397cf29613f414553cb2f5c3134a0242c41b879..12c48bd5fdd6747aefce207c9cbe61c769966082 100644 (file)
@@ -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  \
index 91ca4356396a5c38141d873b9e8798ef395b41e3..cbcef0a1e1d15537577865bb1c5185cddaab309f 100644 (file)
@@ -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);
     }
 }