Commit 0a3e1f45 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

Changes add TABs on either or both sides, covering start of line,

up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36603
parent afb2ca3d
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> 2000-09-25 Richard Henderson <rth@cygnus.com>
* expmed.c (store_bit_field): Adjust last change to not consider * expmed.c (store_bit_field): Adjust last change to not consider
......
...@@ -110,7 +110,10 @@ extern void *__deregister_frame_info (void *) ...@@ -110,7 +110,10 @@ extern void *__deregister_frame_info (void *)
an additional check that you are doing everything right. But if you do 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 use the `-z text' option when building a shared library, you will get
errors unless the .ctors and .dtors sections are marked as writable 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 #ifndef CTORS_SECTION_ASM_OP
#define CTORS_SECTION_ASM_OP ".section\t.ctors,\"aw\"" #define CTORS_SECTION_ASM_OP ".section\t.ctors,\"aw\""
......
...@@ -89,11 +89,11 @@ Boston, MA 02111-1307, USA. */ ...@@ -89,11 +89,11 @@ Boston, MA 02111-1307, USA. */
#endif #endif
#ifndef ASM_STABS_OP #ifndef ASM_STABS_OP
#define ASM_STABS_OP ".stabs" #define ASM_STABS_OP "\t.stabs\t"
#endif #endif
#ifndef ASM_STABN_OP #ifndef ASM_STABN_OP
#define ASM_STABN_OP ".stabn" #define ASM_STABN_OP "\t.stabn\t"
#endif #endif
#ifndef DBX_TYPE_DECL_STABS_CODE #ifndef DBX_TYPE_DECL_STABS_CODE
......
...@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */
#endif #endif
#ifndef ASM_STABD_OP #ifndef ASM_STABD_OP
#define ASM_STABD_OP ".stabd" #define ASM_STABD_OP "\t.stabd\t"
#endif #endif
/* This is how to output an element of a case-vector that is absolute. /* 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) ...@@ -170,7 +170,7 @@ do { ASM_OUTPUT_LABEL(FILE,LABEL_ALTERNATE_NAME (INSN)); } while (0)
# else # else
/* If we aren't using crtstuff to run ctors, don't use it for EH. */ /* 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) # 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() \ # define EH_FRAME_SECTION() \
do { named_section (NULL_TREE, ".eh_frame", 0); } while (0) do { named_section (NULL_TREE, ".eh_frame", 0); } while (0)
# endif # endif
......
...@@ -242,18 +242,18 @@ static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *)); ...@@ -242,18 +242,18 @@ static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *));
#ifdef OBJECT_FORMAT_ELF #ifdef OBJECT_FORMAT_ELF
#ifndef UNALIGNED_SHORT_ASM_OP #ifndef UNALIGNED_SHORT_ASM_OP
#define UNALIGNED_SHORT_ASM_OP ".2byte" #define UNALIGNED_SHORT_ASM_OP "\t.2byte\t"
#endif #endif
#ifndef UNALIGNED_INT_ASM_OP #ifndef UNALIGNED_INT_ASM_OP
#define UNALIGNED_INT_ASM_OP ".4byte" #define UNALIGNED_INT_ASM_OP "\t.4byte\t"
#endif #endif
#ifndef UNALIGNED_DOUBLE_INT_ASM_OP #ifndef UNALIGNED_DOUBLE_INT_ASM_OP
#define UNALIGNED_DOUBLE_INT_ASM_OP ".8byte" #define UNALIGNED_DOUBLE_INT_ASM_OP "\t.8byte\t"
#endif #endif
#endif /* OBJECT_FORMAT_ELF */ #endif /* OBJECT_FORMAT_ELF */
#ifndef ASM_BYTE_OP #ifndef ASM_BYTE_OP
#define ASM_BYTE_OP ".byte" #define ASM_BYTE_OP "\t.byte\t"
#endif #endif
/* Data and reference forms for relocatable data. */ /* Data and reference forms for relocatable data. */
...@@ -262,7 +262,7 @@ static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *)); ...@@ -262,7 +262,7 @@ static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *));
/* Pseudo-op for defining a new section. */ /* Pseudo-op for defining a new section. */
#ifndef SECTION_ASM_OP #ifndef SECTION_ASM_OP
#define SECTION_ASM_OP ".section" #define SECTION_ASM_OP "\t.section\t"
#endif #endif
/* The default format used by the ASM_OUTPUT_SECTION macro (see below) to /* The default format used by the ASM_OUTPUT_SECTION macro (see below) to
......
...@@ -387,22 +387,22 @@ static void retry_incomplete_types PARAMS ((void)); ...@@ -387,22 +387,22 @@ static void retry_incomplete_types PARAMS ((void));
what is expected by "standard" AT&T System V.4 assemblers. */ what is expected by "standard" AT&T System V.4 assemblers. */
#ifndef FILE_ASM_OP #ifndef FILE_ASM_OP
#define FILE_ASM_OP ".file" #define FILE_ASM_OP "\t.file\t"
#endif #endif
#ifndef VERSION_ASM_OP #ifndef VERSION_ASM_OP
#define VERSION_ASM_OP ".version" #define VERSION_ASM_OP "\t.version\t"
#endif #endif
#ifndef UNALIGNED_SHORT_ASM_OP #ifndef UNALIGNED_SHORT_ASM_OP
#define UNALIGNED_SHORT_ASM_OP ".2byte" #define UNALIGNED_SHORT_ASM_OP "\t.2byte\t"
#endif #endif
#ifndef UNALIGNED_INT_ASM_OP #ifndef UNALIGNED_INT_ASM_OP
#define UNALIGNED_INT_ASM_OP ".4byte" #define UNALIGNED_INT_ASM_OP "\t.4byte\t"
#endif #endif
#ifndef ASM_BYTE_OP #ifndef ASM_BYTE_OP
#define ASM_BYTE_OP ".byte" #define ASM_BYTE_OP "\t.byte\t"
#endif #endif
#ifndef SET_ASM_OP #ifndef SET_ASM_OP
#define SET_ASM_OP ".set" #define SET_ASM_OP "\t.set\t"
#endif #endif
/* Pseudo-ops for pushing the current section onto the section stack (and /* Pseudo-ops for pushing the current section onto the section stack (and
...@@ -414,10 +414,10 @@ static void retry_incomplete_types PARAMS ((void)); ...@@ -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. */ OK because we only use at most one level of the section stack herein. */
#ifndef PUSHSECTION_ASM_OP #ifndef PUSHSECTION_ASM_OP
#define PUSHSECTION_ASM_OP ".section" #define PUSHSECTION_ASM_OP "\t.section\t"
#endif #endif
#ifndef POPSECTION_ASM_OP #ifndef POPSECTION_ASM_OP
#define POPSECTION_ASM_OP ".previous" #define POPSECTION_ASM_OP "\t.previous"
#endif #endif
/* The default format used by the ASM_OUTPUT_PUSH_SECTION macro (see below) /* The default format used by the ASM_OUTPUT_PUSH_SECTION macro (see below)
......
...@@ -57,7 +57,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -57,7 +57,7 @@ Boston, MA 02111-1307, USA. */
#endif #endif
#ifndef ASM_STABS_OP #ifndef ASM_STABS_OP
#define ASM_STABS_OP ".stabs" #define ASM_STABS_OP "\t.stabs\t"
#endif #endif
/* Define the prefix to use when check_memory_usage_flag is enable. */ /* Define the prefix to use when check_memory_usage_flag is enable. */
......
...@@ -20,7 +20,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, ...@@ -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. */
......
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