From 4e8aa65c64d0dad354fb261a7fdc5096e9d8c8d1 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 25 Sep 2000 08:54:42 +0000 Subject: [PATCH] definitions in config/[c-h]*: Changes add TABs on either or both sides, covering start of line, up to any operand for all .*ASM.*_OP definitions. From-SVN: r36606 --- gcc/ChangeLog | 16 ++++++++++++++++ gcc/config/c4x/c4x.h | 4 ++-- gcc/config/clipper/clipper.h | 4 ++-- gcc/config/clipper/clix.h | 6 +++--- gcc/config/convex/convex.h | 6 +++--- gcc/config/d30v/d30v.h | 6 +++--- gcc/config/fr30/fr30.h | 6 +++--- gcc/config/fx80/fx80.h | 4 ++-- gcc/config/gmicro/gmicro.h | 6 +++--- gcc/config/h8300/h8300.h | 2 +- 10 files changed, 38 insertions(+), 22 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 34a2d7f2ebe..3ce296cd5c2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -67,6 +67,22 @@ * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP, STRING_ASM_OP): Here. Update documentation copy in comments. + * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here. + * config/clipper/clipper.h (TEXT_SECTION_ASM_OP, + DATA_SECTION_ASM_OP): Here. + * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): + Here. + * config/convex/convex.h (TEXT_SECTION_ASM_OP, + DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here. + * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, + BSS_SECTION_ASM_OP): Here. + * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, + BSS_SECTION_ASM_OP): Here. + * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): + Here. + * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP, + DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here. + * config/h8300/h8300.h (ASM_WORD_OP): Here. 2000-09-25 Richard Henderson diff --git a/gcc/config/c4x/c4x.h b/gcc/config/c4x/c4x.h index 8390b38b586..93c3386be02 100644 --- a/gcc/config/c4x/c4x.h +++ b/gcc/config/c4x/c4x.h @@ -2007,7 +2007,7 @@ const_section () \ } \ } -#define ASM_STABS_OP "\t.stabs" +#define ASM_STABS_OP "\t.stabs\t" /* The ctors and dtors sections are not normally put into use by EXTRA_SECTIONS and EXTRA_SECTION_FUNCTIONS as defined in svr3.h, @@ -2611,7 +2611,7 @@ do { fprintf (asm_out_file, "\t.sdef\t"); \ #define MOVE_RATIO 2 /* Default value. */ -#define BSS_SECTION_ASM_OP ".bss" +#define BSS_SECTION_ASM_OP "\t.bss" #define ASM_OUTPUT_REG_PUSH(FILE, REGNO) \ asm_fprintf (FILE, "\tpush\t%s\n", reg_names[REGNO]) diff --git a/gcc/config/clipper/clipper.h b/gcc/config/clipper/clipper.h index a4fb1f1a09f..78ec8d060b7 100644 --- a/gcc/config/clipper/clipper.h +++ b/gcc/config/clipper/clipper.h @@ -969,11 +969,11 @@ do \ /* Output before read-only data. */ -#define TEXT_SECTION_ASM_OP ".text" +#define TEXT_SECTION_ASM_OP "\t.text" /* Output before writable data. */ -#define DATA_SECTION_ASM_OP ".data" +#define DATA_SECTION_ASM_OP "\t.data" /* How to refer to registers in assembler output. This sequence is indexed by compiler's hard-register-number (see above). */ diff --git a/gcc/config/clipper/clix.h b/gcc/config/clipper/clix.h index a3e04ac5d77..6f9ed2f452a 100644 --- a/gcc/config/clipper/clix.h +++ b/gcc/config/clipper/clix.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler. Clipper/Clix version. - Copyright (C) 1988, 1993, 1996, 1997, 1999 Free Software Foundation, Inc. + Copyright (C) 1988, 1993, 1996, 1997, 1999, 2000 Free Software Foundation, Inc. This file is part of GNU CC. @@ -71,9 +71,9 @@ do { \ #define ASM_LONG ".long" -#define BSS_SECTION_ASM_OP ".bss" +#define BSS_SECTION_ASM_OP "\t.bss" #undef INIT_SECTION_ASM_OP -#define INIT_SECTION_ASM_OP ".section .init,\"x\"" +#define INIT_SECTION_ASM_OP "\t.section .init,\"x\"" /* Define a few machine-specific details of the implementation of diff --git a/gcc/config/convex/convex.h b/gcc/config/convex/convex.h index 2f216f31171..57fc56ee534 100644 --- a/gcc/config/convex/convex.h +++ b/gcc/config/convex/convex.h @@ -1225,15 +1225,15 @@ enum reg_class { /* Output before read-only data. */ -#define TEXT_SECTION_ASM_OP (current_section_is_text = 1, ".text") +#define TEXT_SECTION_ASM_OP (current_section_is_text = 1, "\t.text") /* Output before writable data. */ -#define DATA_SECTION_ASM_OP (current_section_is_text = 0, ".data") +#define DATA_SECTION_ASM_OP (current_section_is_text = 0, "\t.data") /* Output before uninitialized data. */ -#define BSS_SECTION_ASM_OP (current_section_is_text = 0, ".bss") +#define BSS_SECTION_ASM_OP (current_section_is_text = 0, "\t.bss") /* This is how to output an assembler line that says to advance the location counter diff --git a/gcc/config/d30v/d30v.h b/gcc/config/d30v/d30v.h index 9a4d2a4c112..ef327268a48 100644 --- a/gcc/config/d30v/d30v.h +++ b/gcc/config/d30v/d30v.h @@ -3850,12 +3850,12 @@ extern const char *d30v_branch_cost_string; /* A C expression whose value is a string containing the assembler operation that should precede instructions and read-only data. Normally `".text"' is right. */ -#define TEXT_SECTION_ASM_OP ".text" +#define TEXT_SECTION_ASM_OP "\t.text" /* A C expression whose value is a string containing the assembler operation to identify the following data as writable initialized data. Normally `".data"' is right. */ -#define DATA_SECTION_ASM_OP ".data" +#define DATA_SECTION_ASM_OP "\t.data" /* if defined, a C expression whose value is a string containing the assembler operation to identify the following data as shared data. If not defined, @@ -3869,7 +3869,7 @@ extern const char *d30v_branch_cost_string; uninitialized global data will be output in the data section if `-fno-common' is passed, otherwise `ASM_OUTPUT_COMMON' will be used. */ -#define BSS_SECTION_ASM_OP ".bss" +#define BSS_SECTION_ASM_OP "\t.bss" /* If defined, a C expression whose value is a string containing the assembler operation to identify the following data as diff --git a/gcc/config/fr30/fr30.h b/gcc/config/fr30/fr30.h index 7a49a287089..36dd29362a0 100644 --- a/gcc/config/fr30/fr30.h +++ b/gcc/config/fr30/fr30.h @@ -1410,12 +1410,12 @@ do \ /* A C expression whose value is a string containing the assembler operation that should precede instructions and read-only data. Normally `".text"' is right. */ -#define TEXT_SECTION_ASM_OP ".text" +#define TEXT_SECTION_ASM_OP "\t.text" /* A C expression whose value is a string containing the assembler operation to identify the following data as writable initialized data. Normally `".data"' is right. */ -#define DATA_SECTION_ASM_OP ".data" +#define DATA_SECTION_ASM_OP "\t.data" /* If defined, a C expression whose value is a string containing the assembler operation to identify the following data as @@ -1424,7 +1424,7 @@ do \ uninitialized global data will be output in the data section if `-fno-common' is passed, otherwise `ASM_OUTPUT_COMMON' will be used. */ -#define BSS_SECTION_ASM_OP ".bss" +#define BSS_SECTION_ASM_OP "\t.bss" /*}}}*/ /*{{{ The Overall Framework of an Assembler File. */ diff --git a/gcc/config/fx80/fx80.h b/gcc/config/fx80/fx80.h index a0fe0541bd6..003d6d4dba9 100644 --- a/gcc/config/fx80/fx80.h +++ b/gcc/config/fx80/fx80.h @@ -1030,11 +1030,11 @@ extern enum reg_class regno_reg_class[]; /* Output before read-only data. */ -#define TEXT_SECTION_ASM_OP ".text" +#define TEXT_SECTION_ASM_OP "\t.text" /* Output before writable data. */ -#define DATA_SECTION_ASM_OP ".data" +#define DATA_SECTION_ASM_OP "\t.data" /* How to refer to registers in assembler output. This sequence is indexed by compiler's hard-register-number (see above). */ diff --git a/gcc/config/gmicro/gmicro.h b/gcc/config/gmicro/gmicro.h index 10d3d32d804..59c95f8eab7 100644 --- a/gcc/config/gmicro/gmicro.h +++ b/gcc/config/gmicro/gmicro.h @@ -1269,15 +1269,15 @@ extern enum reg_class regno_reg_class[]; /* Output before read-only data. */ -#define TEXT_SECTION_ASM_OP ".section text,code,align=4" +#define TEXT_SECTION_ASM_OP "\t.section text,code,align=4" /* Output before writable data. */ -#define DATA_SECTION_ASM_OP ".section data,data,align=4" +#define DATA_SECTION_ASM_OP "\t.section data,data,align=4" /* Output before uninitialized data. */ -#define BSS_SECTION_ASM_OP ".section bss,data,align=4" +#define BSS_SECTION_ASM_OP "\t.section bss,data,align=4" /* Output at beginning of assembler file. It is not appropriate for this to print a list of the options used, diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 4a1d9e3022a..b1e56fd86e0 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -1090,7 +1090,7 @@ h8300_valid_machine_decl_attribute (DECL, ATTRIBUTES, IDENTIFIER, ARGS) #define IDENT_ASM_OP "\t.ident\n" /* The assembler op to get a word, 2 bytes for the H8/300, 4 for H8/300H. */ -#define ASM_WORD_OP (TARGET_H8300 ? ".word" : ".long") +#define ASM_WORD_OP (TARGET_H8300 ? "\t.word\t" : "\t.long\t") /* We define a readonly data section solely to remove readonly data from the instruction stream. This can improve relaxing in two significant -- 2.30.2