From de323aa15733d3a075a3586e736f4cb9b1383ff8 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Mon, 25 Sep 2000 09:32:58 +0000 Subject: [PATCH] definitions in config/i[89a]*: Changes add TABs on either or both sides, covering start of line, up to any operand for all .*ASM.*_OP definitions. From-SVN: r36608 --- gcc/ChangeLog | 24 ++++++++++++++++++++++++ gcc/config/i860/bsd-gas.h | 2 +- gcc/config/i860/bsd.h | 2 +- gcc/config/i860/fx2800.h | 10 +++++----- gcc/config/i860/i860.h | 6 +++--- gcc/config/i860/paragon.h | 4 ++-- gcc/config/i860/sysv3.h | 10 +++++----- gcc/config/i860/sysv4.h | 8 ++++---- gcc/config/i960/i960-coff.h | 8 ++++---- gcc/config/i960/i960.h | 4 ++-- gcc/config/ia64/ia64.h | 14 +++++++------- gcc/config/ia64/sysv4.h | 22 +++++++++++----------- 12 files changed, 69 insertions(+), 45 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6f779a8b11d..60ce039c2e9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -118,6 +118,30 @@ * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here. * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here. + * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here. + * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here. + * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP, + BSS_ASM_OP): Here, but use trailing spaces. + * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP, + DATA_SECTION_ASM_OP): Here. + * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP): + Here. + * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP, + DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here. + * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, + TDESC_SECTION_ASM_OP): Here. + * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP, + DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. + * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): + Here. + * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, + BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP, + UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, + UNALIGNED_DOUBLE_INT_ASM_OP): Here. + * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP, + COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP, + FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, + SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here. 2000-09-25 Richard Henderson diff --git a/gcc/config/i860/bsd-gas.h b/gcc/config/i860/bsd-gas.h index f76fec76827..9965b83cd26 100644 --- a/gcc/config/i860/bsd-gas.h +++ b/gcc/config/i860/bsd-gas.h @@ -1,2 +1,2 @@ #undef ASCII_DATA_ASM_OP -#define ASCII_DATA_ASM_OP ".ascii" +#define ASCII_DATA_ASM_OP "\t.ascii\t" diff --git a/gcc/config/i860/bsd.h b/gcc/config/i860/bsd.h index 17b053343e8..6123836ef6b 100644 --- a/gcc/config/i860/bsd.h +++ b/gcc/config/i860/bsd.h @@ -5,7 +5,7 @@ #define DBX_DEBUGGING_INFO -#define ASCII_DATA_ASM_OP ".byte" +#define ASCII_DATA_ASM_OP "\t.byte\t" #define ASM_OUTPUT_ASCII(f, p, size) \ do { register unsigned i; \ int inside; \ diff --git a/gcc/config/i860/fx2800.h b/gcc/config/i860/fx2800.h index 0510f6227ee..dd6098da9a2 100644 --- a/gcc/config/i860/fx2800.h +++ b/gcc/config/i860/fx2800.h @@ -1,6 +1,6 @@ /* Target definitions for GNU compiler for Alliant FX/2800 running Concentrix 2.2 - Copyright (C) 1991, 1996, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1991, 1996, 1998, 1999, 2000 Free Software Foundation, Inc. Contributed by Howard Chu (hyc@hanauma.jpl.nasa.gov). This file is part of GNU CC. @@ -150,9 +150,9 @@ Boston, MA 02111-1307, USA. */ ".stab" directive instead of the 3 directives in BSD, and the order of arguments is slightly changed. */ -#define ASM_STABS_OP ".stab" -#define ASM_STABN_OP ".stab" -#define ASM_STABD_OP ".stab" +#define ASM_STABS_OP "\t.stab " +#define ASM_STABN_OP "\t.stab " +#define ASM_STABD_OP "\t.stab " #define DBX_MEMPARM_STABS_LETTER 'k' #define DBX_REGPARM_STABS_LETTER 'r' @@ -339,7 +339,7 @@ Boston, MA 02111-1307, USA. */ /* ??? Is this used anywhere? */ #undef BSS_ASM_OP -#define BSS_ASM_OP "\t.lcomm" +#define BSS_ASM_OP "\t.lcomm " #undef ASM_FILE_END #define ASM_FILE_END(FILE) \ diff --git a/gcc/config/i860/i860.h b/gcc/config/i860/i860.h index 4ecaebfba52..72285ad4a79 100644 --- a/gcc/config/i860/i860.h +++ b/gcc/config/i860/i860.h @@ -996,7 +996,7 @@ struct cumulative_args { int ints, floats; }; /* Assembler pseudos to introduce constants of various size. */ -#define ASM_BYTE_OP "\t.byte" +#define ASM_BYTE_OP "\t.byte\t" #define ASM_SHORT "\t.short" #define ASM_LONG "\t.long" #define ASM_DOUBLE "\t.double" @@ -1026,11 +1026,11 @@ struct cumulative_args { int ints, floats; }; /* 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/i860/paragon.h b/gcc/config/i860/paragon.h index 003cf79e750..93151050192 100644 --- a/gcc/config/i860/paragon.h +++ b/gcc/config/i860/paragon.h @@ -74,7 +74,7 @@ Boston, MA 02111-1307, USA. */ #define DBX_REGISTER_NUMBER(REGNO) (REGNO) #undef ASCII_DATA_ASM_OP -#define ASCII_DATA_ASM_OP ".byte" +#define ASCII_DATA_ASM_OP "\t.byte\t" /* * the assembler we're using doesn't grok .ident... @@ -222,6 +222,6 @@ Boston, MA 02111-1307, USA. */ #undef SELECT_RTX_SECTION #undef READONLY_DATA_SECTION -#define BSS_SECTION_ASM_OP ".bss" /* XXX */ +#define BSS_SECTION_ASM_OP "\t.bss" /* XXX */ #undef EXTRA_SECTIONS #undef EXTRA_SECTION_FUNCTIONS diff --git a/gcc/config/i860/sysv3.h b/gcc/config/i860/sysv3.h index 81e302510cd..2fbb970cea0 100644 --- a/gcc/config/i860/sysv3.h +++ b/gcc/config/i860/sysv3.h @@ -1,5 +1,5 @@ /* Target definitions for GNU compiler for Intel 80860 running System V.3 - Copyright (C) 1991, 1996 Free Software Foundation, Inc. + Copyright (C) 1991, 1996, 2000 Free Software Foundation, Inc. Contributed by Ron Guilmette (rfg@monkeys.com). This file is part of GNU CC. @@ -99,7 +99,7 @@ extern char *current_function_original_name; /* The routine used to output string literals. -#define ASCII_DATA_ASM_OP ".byte" +#define ASCII_DATA_ASM_OP "\t.byte\t" #define ASM_OUTPUT_ASCII(FILE, STR, LENGTH) \ do \ @@ -139,14 +139,14 @@ extern char *current_function_original_name; #undef CTORS_SECTION_ASM_OP -#define CTORS_SECTION_ASM_OP ".section\t.ctors,\"x\"" +#define CTORS_SECTION_ASM_OP "\t.section\t.ctors,\"x\"" #undef DTORS_SECTION_ASM_OP -#define DTORS_SECTION_ASM_OP ".section\t.dtors,\"x\"" +#define DTORS_SECTION_ASM_OP "\t.section\t.dtors,\"x\"" /* Add definitions to support the .tdesc section as specified in the svr4 ABI for the i860. */ -#define TDESC_SECTION_ASM_OP ".section\t.tdesc" +#define TDESC_SECTION_ASM_OP "\t.section\t.tdesc" #undef EXTRA_SECTIONS #define EXTRA_SECTIONS in_const, in_ctors, in_dtors, in_tdesc diff --git a/gcc/config/i860/sysv4.h b/gcc/config/i860/sysv4.h index 08d1112b28c..cd15db15a36 100644 --- a/gcc/config/i860/sysv4.h +++ b/gcc/config/i860/sysv4.h @@ -1,5 +1,5 @@ /* Target definitions for GNU compiler for Intel 80860 running System V.4 - Copyright (C) 1991, 1996 Free Software Foundation, Inc. + Copyright (C) 1991, 1996, 2000 Free Software Foundation, Inc. Contributed by Ron Guilmette (rfg@monkeys.com). This file is part of GNU CC. @@ -165,14 +165,14 @@ extern char *current_function_original_name; via the SHF_WRITE attribute.) */ #undef CTORS_SECTION_ASM_OP -#define CTORS_SECTION_ASM_OP ".section\t.ctors,\"aw\"" +#define CTORS_SECTION_ASM_OP "\t.section\t.ctors,\"aw\"" #undef DTORS_SECTION_ASM_OP -#define DTORS_SECTION_ASM_OP ".section\t.dtors,\"aw\"" +#define DTORS_SECTION_ASM_OP "\t.section\t.dtors,\"aw\"" /* Add definitions to support the .tdesc section as specified in the svr4 ABI for the i860. */ -#define TDESC_SECTION_ASM_OP ".section\t.tdesc" +#define TDESC_SECTION_ASM_OP "\t.section\t.tdesc" #undef EXTRA_SECTIONS #define EXTRA_SECTIONS in_const, in_ctors, in_dtors, in_tdesc diff --git a/gcc/config/i960/i960-coff.h b/gcc/config/i960/i960-coff.h index 139e8d1c5c3..778289980cf 100644 --- a/gcc/config/i960/i960-coff.h +++ b/gcc/config/i960/i960-coff.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for "naked" Intel 80960 using coff object format and coff debugging symbols. - Copyright (C) 1988, 1989, 1991, 1996 Free Software Foundation. + Copyright (C) 1988, 1989, 1991, 1996, 2000 Free Software Foundation. Contributed by Steven McGeady (mcg@omepd.intel.com) Additional work by Glenn Colon-Bonet, Jonathan Shapiro, Andy Wilson Converted to GCC 2.0 by Michael Tiemann, Cygnus Support. @@ -38,8 +38,8 @@ Boston, MA 02111-1307, USA. */ /* Support the ctors and dtors sections for g++. */ -#define CTORS_SECTION_ASM_OP ".section\t.ctors,\"x\"" -#define DTORS_SECTION_ASM_OP ".section\t.dtors,\"x\"" +#define CTORS_SECTION_ASM_OP "\t.section\t.ctors,\"x\"" +#define DTORS_SECTION_ASM_OP "\t.section\t.dtors,\"x\"" /* A list of other sections which the compiler might be "in" at any given time. */ @@ -76,7 +76,7 @@ dtors_section () \ } \ } -#define INT_ASM_OP ".word" +#define INT_ASM_OP "\t.word\t" /* A C statement (sans semicolon) to output an element in the table of global constructors. */ diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h index c741ba45263..dfafa48a25d 100644 --- a/gcc/config/i960/i960.h +++ b/gcc/config/i960/i960.h @@ -1330,11 +1330,11 @@ extern struct rtx_def *i960_compare_op0, *i960_compare_op1; /* 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/ia64/ia64.h b/gcc/config/ia64/ia64.h index 6126fa65deb..5ea5c1291a4 100644 --- a/gcc/config/ia64/ia64.h +++ b/gcc/config/ia64/ia64.h @@ -1920,17 +1920,17 @@ do { \ /* A C expression whose value is a string containing the assembler operation that should precede instructions and read-only data. */ -#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. */ -#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 uninitialized global data. */ -#define BSS_SECTION_ASM_OP ".bss" +#define BSS_SECTION_ASM_OP "\t.bss" /* Define this macro if jump tables (for `tablejump' insns) should be output in the text section, along with the assembler instructions. */ @@ -2498,7 +2498,7 @@ do { \ You should define this symbol if your target supports DWARF 2 frame unwind information and the default definition does not work. */ -#define EH_FRAME_SECTION_ASM_OP ".section\t.IA_64.unwind,\"aw\"" +#define EH_FRAME_SECTION_ASM_OP "\t.section\t.IA_64.unwind,\"aw\"" /* A C expression that is nonzero if the normal exception table output should be omitted. @@ -2605,9 +2605,9 @@ do { \ /* C string constants giving the pseudo-op to use for a sequence of 2, 4, and 8 byte unaligned constants. dwarf2out.c needs these. */ -#define UNALIGNED_SHORT_ASM_OP "data2.ua" -#define UNALIGNED_INT_ASM_OP "data4.ua" -#define UNALIGNED_DOUBLE_INT_ASM_OP "data8.ua" +#define UNALIGNED_SHORT_ASM_OP "\tdata2.ua\t" +#define UNALIGNED_INT_ASM_OP "\tdata4.ua\t" +#define UNALIGNED_DOUBLE_INT_ASM_OP "\tdata8.ua\t" /* We need to override the default definition for this in dwarf2out.c so that we can emit the necessary # postfix. */ diff --git a/gcc/config/ia64/sysv4.h b/gcc/config/ia64/sysv4.h index af92839d3ee..f4e40754fb6 100644 --- a/gcc/config/ia64/sysv4.h +++ b/gcc/config/ia64/sysv4.h @@ -8,19 +8,19 @@ definitions. */ #undef ASM_BYTE_OP -#define ASM_BYTE_OP "data1" +#define ASM_BYTE_OP "\tdata1\t" #undef STRING_ASM_OP -#define STRING_ASM_OP "stringz" +#define STRING_ASM_OP "\tstringz\t" #undef SKIP_ASM_OP -#define SKIP_ASM_OP ".skip" +#define SKIP_ASM_OP "\t.skip\t" #undef COMMON_ASM_OP -#define COMMON_ASM_OP ".common" +#define COMMON_ASM_OP "\t.common\t" #undef ASCII_DATA_ASM_OP -#define ASCII_DATA_ASM_OP "string" +#define ASCII_DATA_ASM_OP "\tstring\t" /* ??? Unfortunately, .lcomm doesn't work, because it puts things in either .bss or .sbss, and we can't control the decision of which is used. When @@ -70,13 +70,13 @@ while (0) /* Intel assembler requires both flags and type if declaring a non-predefined section. */ #undef INIT_SECTION_ASM_OP -#define INIT_SECTION_ASM_OP ".section\t.init,\"ax\",\"progbits\"" +#define INIT_SECTION_ASM_OP "\t.section\t.init,\"ax\",\"progbits\"" #undef FINI_SECTION_ASM_OP -#define FINI_SECTION_ASM_OP ".section\t.fini,\"ax\",\"progbits\"" +#define FINI_SECTION_ASM_OP "\t.section\t.fini,\"ax\",\"progbits\"" #undef CTORS_SECTION_ASM_OP -#define CTORS_SECTION_ASM_OP ".section\t.ctors,\"aw\",\"progbits\"" +#define CTORS_SECTION_ASM_OP "\t.section\t.ctors,\"aw\",\"progbits\"" #undef DTORS_SECTION_ASM_OP -#define DTORS_SECTION_ASM_OP ".section\t.dtors,\"aw\",\"progbits\"" +#define DTORS_SECTION_ASM_OP "\t.section\t.dtors,\"aw\",\"progbits\"" /* A C statement (sans semicolon) to output an element in the table of global constructors. */ @@ -245,7 +245,7 @@ extern unsigned int ia64_section_threshold; SDATA_SECTION_FUNCTION \ SBSS_SECTION_FUNCTION -#define SDATA_SECTION_ASM_OP ".sdata" +#define SDATA_SECTION_ASM_OP "\t.sdata" #define SDATA_SECTION_FUNCTION \ void \ @@ -258,7 +258,7 @@ sdata_section () \ } \ } -#define SBSS_SECTION_ASM_OP ".sbss" +#define SBSS_SECTION_ASM_OP "\t.sbss" #define SBSS_SECTION_FUNCTION \ void \ -- 2.30.2