mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-16 07:29:59 +08:00
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
This commit is contained in:
parent
6e7b07a750
commit
78d057d889
@ -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>
|
||||
|
||||
|
@ -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__ */
|
||||
|
@ -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) \
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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? */
|
||||
|
@ -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.,
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user