Changes add TABs on either or both sides, covering start of line,
authorHans-Peter Nilsson <hp@axis.com>
Mon, 25 Sep 2000 08:08:58 +0000 (08:08 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Mon, 25 Sep 2000 08:08:58 +0000 (08:08 +0000)
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36603

gcc/ChangeLog
gcc/crtstuff.c
gcc/dbxout.c
gcc/defaults.h
gcc/dwarf2out.c
gcc/dwarfout.c
gcc/varasm.c
gcc/xcoffout.h

index ee077ab554a086612e7ed22a55a533841bef9498..73671c43d2fe93989cfc50e6d62d02d13f7a8a46 100644 (file)
@@ -1,3 +1,20 @@
+2000-09-25  Hans-Peter Nilsson  <hp@axis.com>
+
+       Changes below marked "here" add TABs on either or both sides,
+       covering start of line, up to any operand for all noted .*ASM.*_OP
+       definitions.
+       * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain
+       why these defaults don't have leading spacing.
+       * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here.
+       * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
+       UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here.
+       * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP,
+       UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP,
+       PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here.
+       * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
+       * varasm.c (ASM_STABS_OP): Here.
+       * xcoffout.h (ASM_STABS_OP): Here.
+
 2000-09-25  Richard Henderson  <rth@cygnus.com>
 
        * expmed.c (store_bit_field): Adjust last change to not consider
 2000-09-25  Richard Henderson  <rth@cygnus.com>
 
        * expmed.c (store_bit_field): Adjust last change to not consider
index 3783b5af0f961c90d36710dbf94eefe05d67b085..d5f23cbaf3f87659d86e1abc5c7e19735374598a 100644 (file)
@@ -110,7 +110,10 @@ extern void *__deregister_frame_info (void *)
    an additional check that you are doing everything right.  But if you do
    use the `-z text' option when building a shared library, you will get
    errors unless the .ctors and .dtors sections are marked as writable
    an additional check that you are doing everything right.  But if you do
    use the `-z text' option when building a shared library, you will get
    errors unless the .ctors and .dtors sections are marked as writable
-   via the SHF_WRITE attribute.)  */
+   via the SHF_WRITE attribute.)
+
+   These defaults do not include leading spacing, as they will only be
+   used in asm:s here.  */
 
 #ifndef CTORS_SECTION_ASM_OP
 #define CTORS_SECTION_ASM_OP   ".section\t.ctors,\"aw\""
 
 #ifndef CTORS_SECTION_ASM_OP
 #define CTORS_SECTION_ASM_OP   ".section\t.ctors,\"aw\""
index 18f0822d744de387dba7e6582a04949c14ea9256..d4df8d039d37106d33d269863f94e102c1a7e65c 100644 (file)
@@ -89,11 +89,11 @@ Boston, MA 02111-1307, USA.  */
 #endif
 
 #ifndef ASM_STABS_OP
 #endif
 
 #ifndef ASM_STABS_OP
-#define ASM_STABS_OP ".stabs"
+#define ASM_STABS_OP "\t.stabs\t"
 #endif
 
 #ifndef ASM_STABN_OP
 #endif
 
 #ifndef ASM_STABN_OP
-#define ASM_STABN_OP ".stabn"
+#define ASM_STABN_OP "\t.stabn\t"
 #endif
 
 #ifndef DBX_TYPE_DECL_STABS_CODE
 #endif
 
 #ifndef DBX_TYPE_DECL_STABS_CODE
index 13772aa934b9b0845251becfa427bb045bd1ff26..f75d21d78d4d32a12254615f2ae15b8589a0cdbf 100644 (file)
@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA.  */
 #endif
 
 #ifndef ASM_STABD_OP
 #endif
 
 #ifndef ASM_STABD_OP
-#define ASM_STABD_OP ".stabd"
+#define ASM_STABD_OP "\t.stabd\t"
 #endif
 
 /* This is how to output an element of a case-vector that is absolute.
 #endif
 
 /* This is how to output an element of a case-vector that is absolute.
@@ -170,7 +170,7 @@ do { ASM_OUTPUT_LABEL(FILE,LABEL_ALTERNATE_NAME (INSN)); } while (0)
 # else
    /* If we aren't using crtstuff to run ctors, don't use it for EH.  */
 #  if defined (ASM_OUTPUT_SECTION_NAME) && defined (ASM_OUTPUT_CONSTRUCTOR)
 # else
    /* If we aren't using crtstuff to run ctors, don't use it for EH.  */
 #  if defined (ASM_OUTPUT_SECTION_NAME) && defined (ASM_OUTPUT_CONSTRUCTOR)
-#   define EH_FRAME_SECTION_ASM_OP     ".section\t.eh_frame,\"aw\""
+#   define EH_FRAME_SECTION_ASM_OP     "\t.section\t.eh_frame,\"aw\""
 #   define EH_FRAME_SECTION() \
      do { named_section (NULL_TREE, ".eh_frame", 0); } while (0)
 #  endif
 #   define EH_FRAME_SECTION() \
      do { named_section (NULL_TREE, ".eh_frame", 0); } while (0)
 #  endif
index f061f575b793645db438648debe9e23de7e17c1f..d69d2d0c7a7b2d2284b048f5f02ba755ac3118cc 100644 (file)
@@ -242,18 +242,18 @@ static void def_cfa_1                     PARAMS ((const char *, dw_cfa_location *));
 
 #ifdef OBJECT_FORMAT_ELF
 #ifndef UNALIGNED_SHORT_ASM_OP
 
 #ifdef OBJECT_FORMAT_ELF
 #ifndef UNALIGNED_SHORT_ASM_OP
-#define UNALIGNED_SHORT_ASM_OP ".2byte"
+#define UNALIGNED_SHORT_ASM_OP "\t.2byte\t"
 #endif
 #ifndef UNALIGNED_INT_ASM_OP
 #endif
 #ifndef UNALIGNED_INT_ASM_OP
-#define UNALIGNED_INT_ASM_OP   ".4byte"
+#define UNALIGNED_INT_ASM_OP   "\t.4byte\t"
 #endif
 #ifndef UNALIGNED_DOUBLE_INT_ASM_OP
 #endif
 #ifndef UNALIGNED_DOUBLE_INT_ASM_OP
-#define UNALIGNED_DOUBLE_INT_ASM_OP    ".8byte"
+#define UNALIGNED_DOUBLE_INT_ASM_OP    "\t.8byte\t"
 #endif
 #endif /* OBJECT_FORMAT_ELF */
 
 #ifndef ASM_BYTE_OP
 #endif
 #endif /* OBJECT_FORMAT_ELF */
 
 #ifndef ASM_BYTE_OP
-#define ASM_BYTE_OP            ".byte"
+#define ASM_BYTE_OP            "\t.byte\t"
 #endif
 
 /* Data and reference forms for relocatable data.  */
 #endif
 
 /* Data and reference forms for relocatable data.  */
@@ -262,7 +262,7 @@ static void def_cfa_1                       PARAMS ((const char *, dw_cfa_location *));
 
 /* Pseudo-op for defining a new section.  */
 #ifndef SECTION_ASM_OP
 
 /* Pseudo-op for defining a new section.  */
 #ifndef SECTION_ASM_OP
-#define SECTION_ASM_OP ".section"
+#define SECTION_ASM_OP "\t.section\t"
 #endif
 
 /* The default format used by the ASM_OUTPUT_SECTION macro (see below) to
 #endif
 
 /* The default format used by the ASM_OUTPUT_SECTION macro (see below) to
index 098fbd8d024268560be2f965d62808036c1a5926..0e14e8aea3745e04d382765a37dd9ed1e380c342 100644 (file)
@@ -387,22 +387,22 @@ static void retry_incomplete_types        PARAMS ((void));
    what is expected by "standard" AT&T System V.4 assemblers.  */
 
 #ifndef FILE_ASM_OP
    what is expected by "standard" AT&T System V.4 assemblers.  */
 
 #ifndef FILE_ASM_OP
-#define FILE_ASM_OP            ".file"
+#define FILE_ASM_OP            "\t.file\t"
 #endif
 #ifndef VERSION_ASM_OP
 #endif
 #ifndef VERSION_ASM_OP
-#define VERSION_ASM_OP         ".version"
+#define VERSION_ASM_OP         "\t.version\t"
 #endif
 #ifndef UNALIGNED_SHORT_ASM_OP
 #endif
 #ifndef UNALIGNED_SHORT_ASM_OP
-#define UNALIGNED_SHORT_ASM_OP ".2byte"
+#define UNALIGNED_SHORT_ASM_OP "\t.2byte\t"
 #endif
 #ifndef UNALIGNED_INT_ASM_OP
 #endif
 #ifndef UNALIGNED_INT_ASM_OP
-#define UNALIGNED_INT_ASM_OP   ".4byte"
+#define UNALIGNED_INT_ASM_OP   "\t.4byte\t"
 #endif
 #ifndef ASM_BYTE_OP
 #endif
 #ifndef ASM_BYTE_OP
-#define ASM_BYTE_OP            ".byte"
+#define ASM_BYTE_OP            "\t.byte\t"
 #endif
 #ifndef SET_ASM_OP
 #endif
 #ifndef SET_ASM_OP
-#define SET_ASM_OP             ".set"
+#define SET_ASM_OP             "\t.set\t"
 #endif
 
 /* Pseudo-ops for pushing the current section onto the section stack (and
 #endif
 
 /* Pseudo-ops for pushing the current section onto the section stack (and
@@ -414,10 +414,10 @@ static void retry_incomplete_types        PARAMS ((void));
    OK because we only use at most one level of the section stack herein.  */
 
 #ifndef PUSHSECTION_ASM_OP
    OK because we only use at most one level of the section stack herein.  */
 
 #ifndef PUSHSECTION_ASM_OP
-#define PUSHSECTION_ASM_OP     ".section"
+#define PUSHSECTION_ASM_OP     "\t.section\t"
 #endif
 #ifndef POPSECTION_ASM_OP
 #endif
 #ifndef POPSECTION_ASM_OP
-#define POPSECTION_ASM_OP      ".previous"
+#define POPSECTION_ASM_OP      "\t.previous"
 #endif
 
 /* The default format used by the ASM_OUTPUT_PUSH_SECTION macro (see below)
 #endif
 
 /* The default format used by the ASM_OUTPUT_PUSH_SECTION macro (see below)
index af76b15560b9c7f46e05790b1f7f42ea140e2331..fe5532b2e01b08fba63372b5f37b70c4af6aee01 100644 (file)
@@ -57,7 +57,7 @@ Boston, MA 02111-1307, USA.  */
 #endif
 
 #ifndef ASM_STABS_OP
 #endif
 
 #ifndef ASM_STABS_OP
-#define ASM_STABS_OP ".stabs"
+#define ASM_STABS_OP "\t.stabs\t"
 #endif
 
 /* Define the prefix to use when check_memory_usage_flag is enable.  */
 #endif
 
 /* Define the prefix to use when check_memory_usage_flag is enable.  */
index ebf9413b5280af5e5440f50627aed75b533f426a..2fb8ab3fb4eeb385d5a940321bf864c830147467 100644 (file)
@@ -20,7 +20,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
 
 Boston, MA 02111-1307, USA.  */
 
 
-#define ASM_STABS_OP ".stabx"
+#define ASM_STABS_OP "\t.stabx\t"
 
 /* Tags and typedefs are C_DECL in XCOFF, not C_LSYM.  */
 
 
 /* Tags and typedefs are C_DECL in XCOFF, not C_LSYM.  */