aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2000-09-25 10:01:10 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2000-09-25 10:01:10 +0000
commit78d057d88956b3dde01a370e16b9278761109d47 (patch)
tree1bc96d2392cbae97ded863de5c4e79d19b5508b4 /gcc
parent6e7b07a750eeb38e6b6a8bc42a4a9a5b3792f0b8 (diff)
downloadgcc-78d057d88956b3dde01a370e16b9278761109d47.zip
gcc-78d057d88956b3dde01a370e16b9278761109d47.tar.gz
gcc-78d057d88956b3dde01a370e16b9278761109d47.tar.bz2
definitions in config/m[ci]*:
Changes add TABs on either or both sides, covering start of line, up to any operand for all .*ASM.*_OP definitions. From-SVN: r36610
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog20
-rw-r--r--gcc/config/mcore/mcore-elf.h8
-rw-r--r--gcc/config/mcore/mcore-pe.h6
-rw-r--r--gcc/config/mips/elf.h8
-rw-r--r--gcc/config/mips/elf64.h6
-rw-r--r--gcc/config/mips/iris5.h4
-rw-r--r--gcc/config/mips/iris6.h26
-rw-r--r--gcc/config/mips/mips.c2
-rw-r--r--gcc/config/mips/mips.h6
-rw-r--r--gcc/config/mips/netbsd.h8
-rw-r--r--gcc/config/mips/osfrose.h4
-rw-r--r--gcc/config/mips/sni-svr4.h4
12 files changed, 61 insertions, 41 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a648269..b120172 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -190,6 +190,26 @@
* config/m88k/openbsd.h (SET_ASM_OP): Here.
* config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
+ * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP,
+ UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP,
+ DTORS_SECTION_ASM_OP): Here.
+ * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP,
+ DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
+ * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP,
+ BSS_SECTION_ASM_OP): Here.
+ * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here.
+ * config/mips/iris5.h (ABICALLS_ASM_OP): Here.
+ * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP,
+ POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32,
+ CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP,
+ DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
+ * config/mips/mips.c (ABICALLS_ASM_OP): Here.
+ * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP):
+ Here.
+ * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP):
+ Here.
+ * config/mips/osfrose.h (SET_ASM_OP): Here.
+ * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here.
2000-09-25 Richard Henderson <rth@cygnus.com>
diff --git a/gcc/config/mcore/mcore-elf.h b/gcc/config/mcore/mcore-elf.h
index f7c8414..2111a06 100644
--- a/gcc/config/mcore/mcore-elf.h
+++ b/gcc/config/mcore/mcore-elf.h
@@ -71,8 +71,8 @@ while (0)
/* MCore defines .long and .short to NOT force any alignment.
This lets you misalign as much as you wish. */
-#define UNALIGNED_INT_ASM_OP ".long"
-#define UNALIGNED_SHORT_ASM_OP ".short"
+#define UNALIGNED_INT_ASM_OP "\t.long\t"
+#define UNALIGNED_SHORT_ASM_OP "\t.short\t"
#define EXPORTS_SECTION_ASM_OP "\t.section .exports"
@@ -199,8 +199,8 @@ exports_section () \
#define FORCE_FINI_SECTION_ALIGN asm ("br 1f ; .literals ; 1:")
#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\""
#endif /* __MCORE_ELF_H__ */
diff --git a/gcc/config/mcore/mcore-pe.h b/gcc/config/mcore/mcore-pe.h
index 8098c85..c254785 100644
--- a/gcc/config/mcore/mcore-pe.h
+++ b/gcc/config/mcore/mcore-pe.h
@@ -184,11 +184,11 @@ rdata_section () \
#define ENDFILE_SPEC "%{!mno-lsim:-lsim}"
#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\""
-#define INT_ASM_OP ".long"
+#define INT_ASM_OP "\t.long\t"
#undef ASM_OUTPUT_CONSTRUCTOR
#define ASM_OUTPUT_CONSTRUCTOR(STREAM, NAME) \
diff --git a/gcc/config/mips/elf.h b/gcc/config/mips/elf.h
index 8e6907e..cc19341 100644
--- a/gcc/config/mips/elf.h
+++ b/gcc/config/mips/elf.h
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler. MIPS R3000 version with
GOFAST floating point library.
- Copyright (C) 1994, 1997, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1997, 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -87,8 +87,8 @@ do { \
#undef TYPE_ASM_OP
#undef SIZE_ASM_OP
-#define TYPE_ASM_OP ".type"
-#define SIZE_ASM_OP ".size"
+#define TYPE_ASM_OP "\t.type\t"
+#define SIZE_ASM_OP "\t.size\t"
/* If defined, a C expression whose value is a string containing the
assembler operation to identify the following data as
@@ -98,7 +98,7 @@ do { \
`-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
#define SBSS_SECTION_ASM_OP "\t.section .sbss"
diff --git a/gcc/config/mips/elf64.h b/gcc/config/mips/elf64.h
index b6015f5..6243dc93 100644
--- a/gcc/config/mips/elf64.h
+++ b/gcc/config/mips/elf64.h
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler. MIPS R4000 version with
GOFAST floating point library.
- Copyright (C) 1994, 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -104,8 +104,8 @@ do { \
#undef TYPE_ASM_OP
#undef SIZE_ASM_OP
-#define TYPE_ASM_OP ".type"
-#define SIZE_ASM_OP ".size"
+#define TYPE_ASM_OP "\t.type\t"
+#define SIZE_ASM_OP "\t.size\t"
/* These macros generate the special .type and .size directives which
are used to set the corresponding fields of the linker symbol table
diff --git a/gcc/config/mips/iris5.h b/gcc/config/mips/iris5.h
index ad8f628..a5dd2bc 100644
--- a/gcc/config/mips/iris5.h
+++ b/gcc/config/mips/iris5.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler. Iris version 5.
- Copyright (C) 1993, 1995, 1996, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1995, 1996, 1998, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -21,7 +21,7 @@ Boston, MA 02111-1307, USA. */
#ifndef TARGET_DEFAULT
#define TARGET_DEFAULT MASK_ABICALLS
#endif
-#define ABICALLS_ASM_OP ".option pic2"
+#define ABICALLS_ASM_OP "\t.option pic2"
#include "mips/iris3.h"
#include "mips/mips.h"
diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h
index 2b66e4a..3c92998 100644
--- a/gcc/config/mips/iris6.h
+++ b/gcc/config/mips/iris6.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler. Iris version 6.
- Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1994, 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -185,8 +185,8 @@ Boston, MA 02111-1307, USA. */
/* Define the strings used for the special svr4 .type and .size directives. */
-#define TYPE_ASM_OP ".type"
-#define SIZE_ASM_OP ".size"
+#define TYPE_ASM_OP "\t.type\t"
+#define SIZE_ASM_OP "\t.size\t"
/* This is how we tell the assembler that a symbol is weak. */
@@ -205,7 +205,7 @@ Boston, MA 02111-1307, USA. */
#define ASM_WEAKEN_LABEL(FILE,NAME) ASM_OUTPUT_WEAK_ALIAS(FILE,NAME,0)
-#define POPSECTION_ASM_OP ".popsection"
+#define POPSECTION_ASM_OP "\t.popsection"
#define DEBUG_INFO_SECTION ".debug_info,0x7000001e,0,0,1"
#define DEBUG_LINE_SECTION ".debug_line,0x7000001e,0,0,1"
@@ -250,9 +250,9 @@ Boston, MA 02111-1307, USA. */
and dtor lists this way, so we use -init and -fini to invoke the
do_global_* functions instead of running collect2. */
-#define BSS_SECTION_ASM_OP ".section\t.bss"
+#define BSS_SECTION_ASM_OP "\t.section\t.bss"
#define CONST_SECTION_ASM_OP_32 "\t.rdata"
-#define CONST_SECTION_ASM_OP_64 ".section\t.rodata"
+#define CONST_SECTION_ASM_OP_64 "\t.section\t.rodata"
/* The IRIX 6 assembler .section directive takes four additional args:
section type, flags, entry size, and alignment. The alignment of the
@@ -263,25 +263,25 @@ Boston, MA 02111-1307, USA. */
/* If we are included from crtstuff.c, these need to be plain strings.
_MIPS_SZPTR is defined in SUBTARGET_CPP_SPEC above. */
#if _MIPS_SZPTR == 64
-#define CTORS_SECTION_ASM_OP ".section\t.ctors,1,2,0,8"
-#define DTORS_SECTION_ASM_OP ".section\t.dtors,1,2,0,8"
+#define CTORS_SECTION_ASM_OP "\t.section\t.ctors,1,2,0,8"
+#define DTORS_SECTION_ASM_OP "\t.section\t.dtors,1,2,0,8"
#else /* _MIPS_SZPTR != 64 */
-#define CTORS_SECTION_ASM_OP ".section\t.ctors,1,2,0,4"
-#define DTORS_SECTION_ASM_OP ".section\t.dtors,1,2,0,4"
+#define CTORS_SECTION_ASM_OP "\t.section\t.ctors,1,2,0,4"
+#define DTORS_SECTION_ASM_OP "\t.section\t.dtors,1,2,0,4"
#endif /* _MIPS_SZPTR == 64 */
#else /* ! (defined (CRT_BEGIN) || defined (CRT_END)) */
/* If we are included from varasm.c, these need to depend on -mabi. */
#define CTORS_SECTION_ASM_OP \
- (Pmode == DImode ? ".section\t.ctors,1,2,0,8" : ".section\t.ctors,1,2,0,4")
+ (Pmode == DImode ? "\t.section\t.ctors,1,2,0,8" : "\t.section\t.ctors,1,2,0,4")
#define DTORS_SECTION_ASM_OP \
- (Pmode == DImode ? ".section\t.dtors,1,2,0,8" : ".section\t.dtors,1,2,0,4")
+ (Pmode == DImode ? "\t.section\t.dtors,1,2,0,8" : "\t.section\t.dtors,1,2,0,4")
#endif /* defined (CRT_BEGIN) || defined (CRT_END) */
/* dwarf2out will handle padding this data properly. We definitely don't
want it 8-byte aligned on n32. */
-#define EH_FRAME_SECTION_ASM_OP ".section\t.eh_frame,1,2,0,1"
+#define EH_FRAME_SECTION_ASM_OP "\t.section\t.eh_frame,1,2,0,1"
/* A default list of other sections which we might be "in" at any given
time. For targets that use additional sections (e.g. .tdesc) you
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index ce5f958..2eebf62 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -5988,7 +5988,7 @@ mips_asm_file_start (stream)
/* Generate the pseudo ops that System V.4 wants. */
#ifndef ABICALLS_ASM_OP
-#define ABICALLS_ASM_OP ".abicalls"
+#define ABICALLS_ASM_OP "\t.abicalls"
#endif
if (TARGET_ABICALLS)
/* ??? but do not want this (or want pic0) if -non-shared? */
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 98c046b..a7c3366 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -1046,9 +1046,9 @@ while (0)
that the MIPS assembler does not choke. The mips-tfile program
will correctly put the stab into the object file. */
-#define ASM_STABS_OP ((TARGET_GAS) ? ".stabs" : " #.stabs")
-#define ASM_STABN_OP ((TARGET_GAS) ? ".stabn" : " #.stabn")
-#define ASM_STABD_OP ((TARGET_GAS) ? ".stabd" : " #.stabd")
+#define ASM_STABS_OP ((TARGET_GAS) ? "\t.stabs\t" : " #.stabs\t")
+#define ASM_STABN_OP ((TARGET_GAS) ? "\t.stabn\t" : " #.stabn\t")
+#define ASM_STABD_OP ((TARGET_GAS) ? "\t.stabd\t" : " #.stabd\t")
/* Local compiler-generated symbols must have a prefix that the assembler
understands. By default, this is $, although some targets (e.g.,
diff --git a/gcc/config/mips/netbsd.h b/gcc/config/mips/netbsd.h
index 81e5eae..3ddc422 100644
--- a/gcc/config/mips/netbsd.h
+++ b/gcc/config/mips/netbsd.h
@@ -1,5 +1,5 @@
/* Definitions for DECstation running BSD as target machine for GNU compiler.
- Copyright (C) 1993, 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1995, 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -95,9 +95,9 @@ Boston, MA 02111-1307, USA. */
#undef TYPE_ASM_OP
#undef SIZE_ASM_OP
#undef WEAK_ASM_OP
-#define TYPE_ASM_OP ".type"
-#define SIZE_ASM_OP ".size"
-#define WEAK_ASM_OP ".weak"
+#define TYPE_ASM_OP "\t.type\t"
+#define SIZE_ASM_OP "\t.size\t"
+#define WEAK_ASM_OP "\t.weak\t"
/* The following macro defines the format used to output the second
operand of the .type assembler directive. Different svr4 assemblers
diff --git a/gcc/config/mips/osfrose.h b/gcc/config/mips/osfrose.h
index 8ae9cb7..10ab6dc 100644
--- a/gcc/config/mips/osfrose.h
+++ b/gcc/config/mips/osfrose.h
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler.
DECstation (OSF/1 reference port with OSF/rose) version.
- Copyright (C) 1991, 1992, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1992, 1995, 1996, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -100,7 +100,7 @@ Boston, MA 02111-1307, USA. */
/* enable dwarf debugging for testing */
#define DWARF_DEBUGGING_INFO
/* This is needed by dwarfout.c. */
-#define SET_ASM_OP ".set"
+#define SET_ASM_OP "\t.set\t"
/* Tell collect that the object format is OSF/rose. */
#define OBJECT_FORMAT_ROSE
diff --git a/gcc/config/mips/sni-svr4.h b/gcc/config/mips/sni-svr4.h
index c93eff4..41a62db 100644
--- a/gcc/config/mips/sni-svr4.h
+++ b/gcc/config/mips/sni-svr4.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler. SNI SINIX version.
- Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
Contributed by Marco Walther (Marco.Walther@mch.sni.de).
This file is part of GNU CC.
@@ -60,7 +60,7 @@ Boston, MA 02111-1307, USA. */
#define OBJECT_FORMAT_ELF
#define TARGET_DEFAULT MASK_ABICALLS
-#define ABICALLS_ASM_OP ".option pic2"
+#define ABICALLS_ASM_OP "\t.option pic2"
#define MACHINE_TYPE "SNI running SINIX 5.42"