diff options
-rw-r--r-- | gcc/ChangeLog | 32 | ||||
-rw-r--r-- | gcc/config/sh/sh.h | 8 | ||||
-rw-r--r-- | gcc/config/sparc/linux.h | 2 | ||||
-rw-r--r-- | gcc/config/sparc/linux64.h | 4 | ||||
-rw-r--r-- | gcc/config/sparc/litecoff.h | 10 | ||||
-rw-r--r-- | gcc/config/sparc/lynx.h | 4 | ||||
-rw-r--r-- | gcc/config/sparc/pbd.h | 4 | ||||
-rw-r--r-- | gcc/config/sparc/sp64-elf.h | 2 | ||||
-rw-r--r-- | gcc/config/sparc/sparc.h | 8 | ||||
-rw-r--r-- | gcc/config/sparc/sun4gas.h | 8 | ||||
-rw-r--r-- | gcc/config/sparc/sysv4.h | 36 | ||||
-rw-r--r-- | gcc/config/sparc/vxsim.h | 2 | ||||
-rw-r--r-- | gcc/config/spur/spur.h | 6 | ||||
-rw-r--r-- | gcc/config/tahoe/tahoe.h | 6 | ||||
-rw-r--r-- | gcc/config/v850/v850.h | 6 | ||||
-rw-r--r-- | gcc/config/vax/vax.h | 4 | ||||
-rw-r--r-- | gcc/config/we32k/we32k.h | 6 |
17 files changed, 90 insertions, 58 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e030477c8bc..d7ba24a651c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -227,6 +227,38 @@ * config/rs6000/sol2.h (ASM_STABN_OP): Here. * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP): Here. + * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP, + UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here. + * config/sparc/linux.h (COMMON_ASM_OP): Here. + * config/sparc/linux64.h (COMMON_ASM_OP, + UNALIGNED_DOUBLE_INT_ASM_OP): Here. + * config/sparc/litecoff.h (BSS_SECTION_ASM_OP, + CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here. + * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here. + * config/sparc/pbd.h (ASM_INT_OP): Here. + * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here. + * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP, + DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here. + * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP, + UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here. + * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP, + UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP, + UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, + TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, + CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, + CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, + EH_FRAME_SECTION_ASM_OP): Here. + * config/sparc/vxsim.h (COMMON_ASM_OP): Here. + * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): + Here. + * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): + Here. + * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP, + TCOMMON_ASM_OP): Here. + * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): + Here. + * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, + ASM_BYTE_OP): Here. 2000-09-25 Richard Henderson <rth@cygnus.com> diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index eac81287f4a..a73ebadaa7d 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -1837,7 +1837,7 @@ while (0) #define ASM_APP_OFF "" #define FILE_ASM_OP "\t.file\n" #define IDENT_ASM_OP "\t.ident\n" -#define SET_ASM_OP ".set" +#define SET_ASM_OP "\t.set\t" /* How to change between sections. */ @@ -1874,7 +1874,7 @@ dtors_section() \ `-fno-common' is passed, otherwise `ASM_OUTPUT_COMMON' will be used. */ #ifndef BSS_SECTION_ASM_OP -#define BSS_SECTION_ASM_OP ".section\t.bss" +#define BSS_SECTION_ASM_OP "\t.section\t.bss" #endif /* Like `ASM_OUTPUT_BSS' except takes the required alignment as a @@ -2086,8 +2086,8 @@ do { char dstr[30]; \ fprintf ((STREAM), "\t.byte\t%d\n", (VALUE)) \ /* The next two are used for debug info when compiling with -gdwarf. */ -#define UNALIGNED_SHORT_ASM_OP ".uaword" -#define UNALIGNED_INT_ASM_OP ".ualong" +#define UNALIGNED_SHORT_ASM_OP "\t.uaword\t" +#define UNALIGNED_INT_ASM_OP "\t.ualong\t" /* Loop alignment is now done in machine_dependent_reorg, so that branch shortening can know about it. */ diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index 5826784ac1c..a68c813c3d6 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -214,7 +214,7 @@ do { \ } while (0) #undef COMMON_ASM_OP -#define COMMON_ASM_OP "\t.common" +#define COMMON_ASM_OP "\t.common\t" /* This is how to output a definition of an internal numbered label where PREFIX is the class of label and NUM is the number within the class. */ diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index b253d2273f4..6795361e2c0 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -338,7 +338,7 @@ do { \ } while (0) #undef COMMON_ASM_OP -#define COMMON_ASM_OP "\t.common" +#define COMMON_ASM_OP "\t.common\t" /* This is how to output a definition of an internal numbered label where PREFIX is the class of label and NUM is the number within the class. */ @@ -368,7 +368,7 @@ do { \ misnamed. These should all refer to explicit sizes (half/word/xword?), anything other than short/int/long/etc. */ -#define UNALIGNED_DOUBLE_INT_ASM_OP ".uaxword" +#define UNALIGNED_DOUBLE_INT_ASM_OP "\t.uaxword\t" /* DWARF bits. */ diff --git a/gcc/config/sparc/litecoff.h b/gcc/config/sparc/litecoff.h index bd89e1b4686..f83c588dbb0 100644 --- a/gcc/config/sparc/litecoff.h +++ b/gcc/config/sparc/litecoff.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler, for SPARClite w/o FPU, COFF. - Copyright (C) 1994, 1996 Free Software Foundation, Inc. + Copyright (C) 1994, 1996, 2000 Free Software Foundation, Inc. Written by Ken Raeburn (raeburn@cygnus.com). This file is part of GNU CC. @@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */ #undef SELECT_SECTION #undef SELECT_RTX_SECTION -#define BSS_SECTION_ASM_OP ".section\t\".bss\"" +#define BSS_SECTION_ASM_OP "\t.section\t\".bss\"" #include "svr3.h" @@ -45,9 +45,9 @@ Boston, MA 02111-1307, USA. */ /* Support the ctors and dtors sections for g++. */ #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\"" /* A list of other sections which the compiler might be "in" at any given time. */ @@ -85,7 +85,7 @@ dtors_section () \ } \ } -#define INT_ASM_OP ".long" +#define INT_ASM_OP "\t.long\t" /* A C statement (sans semicolon) to output an element in the table of global constructors. */ diff --git a/gcc/config/sparc/lynx.h b/gcc/config/sparc/lynx.h index 99b319a0df2..2bfda576a46 100644 --- a/gcc/config/sparc/lynx.h +++ b/gcc/config/sparc/lynx.h @@ -1,5 +1,5 @@ /* Definitions for SPARC running LynxOS. - Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1993, 1995, 1996, 2000 Free Software Foundation, Inc. This file is part of GNU CC. @@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */ #undef SELECT_SECTION #undef SELECT_RTX_SECTION -#define BSS_SECTION_ASM_OP ".section\t\".bss\"" +#define BSS_SECTION_ASM_OP "\t.section\t\".bss\"" #include <lynx.h> diff --git a/gcc/config/sparc/pbd.h b/gcc/config/sparc/pbd.h index b70fdcb259b..eaeef3d44c0 100644 --- a/gcc/config/sparc/pbd.h +++ b/gcc/config/sparc/pbd.h @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, Citicorp/TTI Unicom PBD version (using GAS and COFF (encapsulated is unacceptable) ) - Copyright (C) 1990, 1996 Free Software Foundation, Inc. + Copyright (C) 1990, 1996, 2000 Free Software Foundation, Inc. This file is part of GNU CC. @@ -153,4 +153,4 @@ Boston, MA 02111-1307, USA. */ line, sym_lineno, sym_lineno); \ sym_lineno += 1; } -#define ASM_INT_OP ".long " +#define ASM_INT_OP "\t.long " diff --git a/gcc/config/sparc/sp64-elf.h b/gcc/config/sparc/sp64-elf.h index 52fdcb065bb..4d7f913c486 100644 --- a/gcc/config/sparc/sp64-elf.h +++ b/gcc/config/sparc/sp64-elf.h @@ -129,7 +129,7 @@ crtbegin.o%s \ misnamed. These should all refer to explicit sizes (half/word/xword?), anything other than short/int/long/etc. */ -#define UNALIGNED_LONGLONG_ASM_OP ".uaxword" +#define UNALIGNED_LONGLONG_ASM_OP "\t.uaxword\t" /* DWARF stuff. */ diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 43790d9b206..cdab0720835 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -2949,18 +2949,18 @@ do { \ #define ASM_LONGLONG ".xword" #define ASM_LONG ".word" #define ASM_SHORT ".half" -#define ASM_BYTE_OP ".byte" +#define ASM_BYTE_OP "\t.byte\t" #define ASM_FLOAT ".single" #define ASM_DOUBLE ".double" #define ASM_LONGDOUBLE ".xxx" /* ??? Not known (or used yet). */ /* 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). */ @@ -3218,7 +3218,7 @@ do { \ ( (OUTPUT) = (char *) alloca (strlen ((NAME)) + 10), \ sprintf ((OUTPUT), "%s.%d", (NAME), (LABELNO))) -#define IDENT_ASM_OP ".ident" +#define IDENT_ASM_OP "\t.ident\t" /* Output #ident as a .ident. */ diff --git a/gcc/config/sparc/sun4gas.h b/gcc/config/sparc/sun4gas.h index 3cea9560b4f..0848ecd11ac 100644 --- a/gcc/config/sparc/sun4gas.h +++ b/gcc/config/sparc/sun4gas.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler, for SunOS 4.x with gas - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 2000 Free Software Foundation, Inc. This file is part of GNU CC. @@ -19,9 +19,9 @@ the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* gas supports unaligned data. */ -#define UNALIGNED_DOUBLE_INT_ASM_OP ".uaxword" -#define UNALIGNED_INT_ASM_OP ".uaword" -#define UNALIGNED_SHORT_ASM_OP ".uahalf" +#define UNALIGNED_DOUBLE_INT_ASM_OP "\t.uaxword\t" +#define UNALIGNED_INT_ASM_OP "\t.uaword\t" +#define UNALIGNED_SHORT_ASM_OP "\t.uahalf\t" /* defaults.h will define DWARF2_UNWIND_INFO for us. */ #undef DWARF2_UNWIND_INFO diff --git a/gcc/config/sparc/sysv4.h b/gcc/config/sparc/sysv4.h index 0263880d1f6..5c5fec899a2 100644 --- a/gcc/config/sparc/sysv4.h +++ b/gcc/config/sparc/sysv4.h @@ -1,5 +1,5 @@ /* Target definitions for GNU compiler for Sparc running System V.4 - Copyright (C) 1991, 92, 95, 96, 97, 1998 Free Software Foundation, Inc. + Copyright (C) 1991, 92, 95, 96, 97, 1998, 2000 Free Software Foundation, Inc. Contributed by Ron Guilmette (rfg@monkeys.com). This file is part of GNU CC. @@ -92,14 +92,14 @@ Boston, MA 02111-1307, USA. */ to keep the Sparc/svr4 assembler somewhat compatible with the Sparc/SunOS assembler. */ -#define STRING_ASM_OP ".asciz" -#define COMMON_ASM_OP ".common" -#define SKIP_ASM_OP ".skip" -#define UNALIGNED_DOUBLE_INT_ASM_OP ".uaxword" -#define UNALIGNED_INT_ASM_OP ".uaword" -#define UNALIGNED_SHORT_ASM_OP ".uahalf" -#define PUSHSECTION_ASM_OP ".pushsection" -#define POPSECTION_ASM_OP ".popsection" +#define STRING_ASM_OP "\t.asciz\t" +#define COMMON_ASM_OP "\t.common\t" +#define SKIP_ASM_OP "\t.skip\t" +#define UNALIGNED_DOUBLE_INT_ASM_OP "\t.uaxword\t" +#define UNALIGNED_INT_ASM_OP "\t.uaword\t" +#define UNALIGNED_SHORT_ASM_OP "\t.uahalf\t" +#define PUSHSECTION_ASM_OP "\t.pushsection\t" +#define POPSECTION_ASM_OP "\t.popsection" /* This is defined in sparc.h but is not used by svr4.h. */ #undef ASM_LONG @@ -155,12 +155,12 @@ do { ASM_OUTPUT_ALIGN ((FILE), Pmode == SImode ? 2 : 3); \ *not* to push the previous section name onto the assembler's section names stack (as we do often in dwarfout.c). */ -#define TEXT_SECTION_ASM_OP ".section\t\".text\"" -#define DATA_SECTION_ASM_OP ".section\t\".data\"" -#define BSS_SECTION_ASM_OP ".section\t\".bss\"" -#define CONST_SECTION_ASM_OP ".section\t\".rodata\"" -#define INIT_SECTION_ASM_OP ".section\t\".init\"" -#define FINI_SECTION_ASM_OP ".section\t\".fini\"" +#define TEXT_SECTION_ASM_OP "\t.section\t\".text\"" +#define DATA_SECTION_ASM_OP "\t.section\t\".data\"" +#define BSS_SECTION_ASM_OP "\t.section\t\".bss\"" +#define CONST_SECTION_ASM_OP "\t.section\t\".rodata\"" +#define INIT_SECTION_ASM_OP "\t.section\t\".init\"" +#define FINI_SECTION_ASM_OP "\t.section\t\".fini\"" /* Define the pseudo-ops used to switch to the .ctors and .dtors sections. @@ -178,11 +178,11 @@ do { ASM_OUTPUT_ALIGN ((FILE), Pmode == SImode ? 2 : 3); \ via the SHF_WRITE attribute.) */ #undef CTORS_SECTION_ASM_OP -#define CTORS_SECTION_ASM_OP ".section\t\".ctors\",#alloc,#write" +#define CTORS_SECTION_ASM_OP "\t.section\t\".ctors\",#alloc,#write" #undef DTORS_SECTION_ASM_OP -#define DTORS_SECTION_ASM_OP ".section\t\".dtors\",#alloc,#write" +#define DTORS_SECTION_ASM_OP "\t.section\t\".dtors\",#alloc,#write" #undef EH_FRAME_SECTION_ASM_OP -#define EH_FRAME_SECTION_ASM_OP ".section\t\".eh_frame\",#alloc,#write" +#define EH_FRAME_SECTION_ASM_OP "\t.section\t\".eh_frame\",#alloc,#write" /* A C statement to output something to the assembler file to switch to section NAME for object DECL which is either a FUNCTION_DECL, a VAR_DECL or diff --git a/gcc/config/sparc/vxsim.h b/gcc/config/sparc/vxsim.h index 6c80375f56b..eb51dc69e53 100644 --- a/gcc/config/sparc/vxsim.h +++ b/gcc/config/sparc/vxsim.h @@ -67,7 +67,7 @@ do { \ } while (0) #undef COMMON_ASM_OP -#define COMMON_ASM_OP "\t.common" +#define COMMON_ASM_OP "\t.common\t" /* This is how to output a definition of an internal numbered label where PREFIX is the class of label and NUM is the number within the class. */ diff --git a/gcc/config/spur/spur.h b/gcc/config/spur/spur.h index 3c893d49466..2627583bfc8 100644 --- a/gcc/config/spur/spur.h +++ b/gcc/config/spur/spur.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler, for SPUR chip. - Copyright (C) 1988, 1995, 1996, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1988, 1995, 1996, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of GNU CC. @@ -835,11 +835,11 @@ enum reg_class { NO_REGS, GENERAL_REGS, FP_REGS, ALL_REGS, LIM_REG_CLASSES }; /* 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/tahoe/tahoe.h b/gcc/config/tahoe/tahoe.h index b18e8ab59f0..240f3994297 100644 --- a/gcc/config/tahoe/tahoe.h +++ b/gcc/config/tahoe/tahoe.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler. Tahoe version. - Copyright (C) 1989, 93, 94, 95, 96, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1989, 93, 94, 95, 96, 1998, 1999, 2000 Free Software Foundation, Inc. This file is part of GNU CC. @@ -730,11 +730,11 @@ enum reg_class {NO_REGS,GENERAL_REGS,FPP_REG,ALL_REGS,LIM_REG_CLASSES}; /* what to output before read-only data. */ -#define TEXT_SECTION_ASM_OP ".text" +#define TEXT_SECTION_ASM_OP "\t.text" /* what to output before writable data. */ -#define DATA_SECTION_ASM_OP ".data" +#define DATA_SECTION_ASM_OP "\t.data" /* this is what we call each of the regs. notice that the FPP reg is */ /* called "ac". This should never get used due to the way we've set */ diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h index dfe4b20e4c1..eb41ff973a2 100644 --- a/gcc/config/v850/v850.h +++ b/gcc/config/v850/v850.h @@ -1162,9 +1162,9 @@ zbss_section () \ #define ROSDATA_SECTION_ASM_OP "\t.section .rosdata,\"a\"" #define ROZDATA_SECTION_ASM_OP "\t.section .rozdata,\"a\"" -#define SCOMMON_ASM_OP ".scomm" -#define ZCOMMON_ASM_OP ".zcomm" -#define TCOMMON_ASM_OP ".tcomm" +#define SCOMMON_ASM_OP "\t.scomm\t" +#define ZCOMMON_ASM_OP "\t.zcomm\t" +#define TCOMMON_ASM_OP "\t.tcomm\t" /* A C statement or statements to switch to the appropriate section for output of EXP. You can assume that EXP is either a `VAR_DECL' diff --git a/gcc/config/vax/vax.h b/gcc/config/vax/vax.h index 6111b2310aa..8b15061a56a 100644 --- a/gcc/config/vax/vax.h +++ b/gcc/config/vax/vax.h @@ -1032,11 +1032,11 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES }; /* 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/we32k/we32k.h b/gcc/config/we32k/we32k.h index 660736a5c92..23bf1149c6a 100644 --- a/gcc/config/we32k/we32k.h +++ b/gcc/config/we32k/we32k.h @@ -728,11 +728,11 @@ enum reg_class { NO_REGS, GENERAL_REGS, /* Output before code. */ -#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" /* Read-only data goes in the data section because AT&T's assembler doesn't guarantee the proper alignment @@ -801,7 +801,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, /* Assembler pseudo to introduce byte constants. */ -#define ASM_BYTE_OP "\t.byte" +#define ASM_BYTE_OP "\t.byte\t" /* This is how to output an assembler line defining a `double' constant. */ |