config:
Changes add TABs on either or both sides, covering start of line, up to any operand for all .*ASM.*_OP definitions. From-SVN: r36604
This commit is contained in:
parent
0a3e1f45d8
commit
e662a12925
@ -14,6 +14,27 @@
|
|||||||
* defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
|
* defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
|
||||||
* varasm.c (ASM_STABS_OP): Here.
|
* varasm.c (ASM_STABS_OP): Here.
|
||||||
* xcoffout.h (ASM_STABS_OP): Here.
|
* xcoffout.h (ASM_STABS_OP): Here.
|
||||||
|
* config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
|
||||||
|
SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
|
||||||
|
INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP,
|
||||||
|
STRING_ASM_OP): Here.
|
||||||
|
* config/freebsd.h (IDENT_ASM_OP): Here.
|
||||||
|
* config/linux-aout.h (SET_ASM_OP): Here.
|
||||||
|
* config/linux.h (SET_ASM_OP): Here.
|
||||||
|
* config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
|
||||||
|
INT_ASM_OP): Here.
|
||||||
|
* config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
|
||||||
|
* config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here.
|
||||||
|
* config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
|
||||||
|
* config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
|
||||||
|
INT_ASM_OP): Here.
|
||||||
|
* config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
|
||||||
|
SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
|
||||||
|
INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP,
|
||||||
|
CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
|
||||||
|
FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here.
|
||||||
|
* config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
|
||||||
|
CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here.
|
||||||
|
|
||||||
2000-09-25 Richard Henderson <rth@cygnus.com>
|
2000-09-25 Richard Henderson <rth@cygnus.com>
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ Boston, MA 02111-1307, USA. */
|
|||||||
.ident string is patterned after the ones produced by native svr4
|
.ident string is patterned after the ones produced by native svr4
|
||||||
C compilers. */
|
C compilers. */
|
||||||
|
|
||||||
#define IDENT_ASM_OP ".ident"
|
#define IDENT_ASM_OP "\t.ident\t"
|
||||||
|
|
||||||
#define ASM_FILE_END(FILE) \
|
#define ASM_FILE_END(FILE) \
|
||||||
do \
|
do \
|
||||||
@ -110,10 +110,10 @@ Boston, MA 02111-1307, USA. */
|
|||||||
while (0)
|
while (0)
|
||||||
|
|
||||||
#undef ASM_BYTE_OP
|
#undef ASM_BYTE_OP
|
||||||
#define ASM_BYTE_OP ".byte"
|
#define ASM_BYTE_OP "\t.byte\t"
|
||||||
|
|
||||||
#undef SET_ASM_OP
|
#undef SET_ASM_OP
|
||||||
#define SET_ASM_OP ".set"
|
#define SET_ASM_OP "\t.set\t"
|
||||||
|
|
||||||
/* This is how to begin an assembly language file. Most svr4 assemblers want
|
/* This is how to begin an assembly language file. Most svr4 assemblers want
|
||||||
at least a .file directive to come first, and some want to see a .version
|
at least a .file directive to come first, and some want to see a .version
|
||||||
@ -129,7 +129,7 @@ Boston, MA 02111-1307, USA. */
|
|||||||
/* This is how to allocate empty space in some section. The .zero
|
/* This is how to allocate empty space in some section. The .zero
|
||||||
pseudo-op is used for this on most svr4 assemblers. */
|
pseudo-op is used for this on most svr4 assemblers. */
|
||||||
|
|
||||||
#define SKIP_ASM_OP ".zero"
|
#define SKIP_ASM_OP "\t.zero\t"
|
||||||
|
|
||||||
#undef ASM_OUTPUT_SKIP
|
#undef ASM_OUTPUT_SKIP
|
||||||
#define ASM_OUTPUT_SKIP(FILE, SIZE) \
|
#define ASM_OUTPUT_SKIP(FILE, SIZE) \
|
||||||
@ -173,7 +173,7 @@ Boston, MA 02111-1307, USA. */
|
|||||||
make sure that the location counter for the .rodata section gets pro-
|
make sure that the location counter for the .rodata section gets pro-
|
||||||
perly re-aligned prior to the actual beginning of the jump table. */
|
perly re-aligned prior to the actual beginning of the jump table. */
|
||||||
|
|
||||||
#define ALIGN_ASM_OP ".align"
|
#define ALIGN_ASM_OP "\t.align\t"
|
||||||
|
|
||||||
#ifndef ASM_OUTPUT_BEFORE_CASE_LABEL
|
#ifndef ASM_OUTPUT_BEFORE_CASE_LABEL
|
||||||
#define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE, PREFIX, NUM, TABLE) \
|
#define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE, PREFIX, NUM, TABLE) \
|
||||||
@ -201,7 +201,7 @@ Boston, MA 02111-1307, USA. */
|
|||||||
the linker seems to want the alignment of data objects
|
the linker seems to want the alignment of data objects
|
||||||
to depend on their types. We do exactly that here. */
|
to depend on their types. We do exactly that here. */
|
||||||
|
|
||||||
#define COMMON_ASM_OP ".comm"
|
#define COMMON_ASM_OP "\t.comm\t"
|
||||||
|
|
||||||
#undef ASM_OUTPUT_ALIGNED_COMMON
|
#undef ASM_OUTPUT_ALIGNED_COMMON
|
||||||
#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \
|
#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \
|
||||||
@ -218,7 +218,7 @@ Boston, MA 02111-1307, USA. */
|
|||||||
the linker seems to want the alignment of data objects
|
the linker seems to want the alignment of data objects
|
||||||
to depend on their types. We do exactly that here. */
|
to depend on their types. We do exactly that here. */
|
||||||
|
|
||||||
#define LOCAL_ASM_OP ".local"
|
#define LOCAL_ASM_OP "\t.local\t"
|
||||||
|
|
||||||
#undef ASM_OUTPUT_ALIGNED_LOCAL
|
#undef ASM_OUTPUT_ALIGNED_LOCAL
|
||||||
#define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \
|
#define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \
|
||||||
@ -235,14 +235,14 @@ Boston, MA 02111-1307, USA. */
|
|||||||
specific value in some section. This is the same for all known svr4
|
specific value in some section. This is the same for all known svr4
|
||||||
assemblers. */
|
assemblers. */
|
||||||
|
|
||||||
#define INT_ASM_OP ".long"
|
#define INT_ASM_OP "\t.long\t"
|
||||||
|
|
||||||
/* This is the pseudo-op used to generate a contiguous sequence of byte
|
/* This is the pseudo-op used to generate a contiguous sequence of byte
|
||||||
values from a double-quoted string WITHOUT HAVING A TERMINATING NUL
|
values from a double-quoted string WITHOUT HAVING A TERMINATING NUL
|
||||||
AUTOMATICALLY APPENDED. This is the same for most svr4 assemblers. */
|
AUTOMATICALLY APPENDED. This is the same for most svr4 assemblers. */
|
||||||
|
|
||||||
#undef ASCII_DATA_ASM_OP
|
#undef ASCII_DATA_ASM_OP
|
||||||
#define ASCII_DATA_ASM_OP ".ascii"
|
#define ASCII_DATA_ASM_OP "\t.ascii\t"
|
||||||
|
|
||||||
/* Support const sections and the ctors and dtors sections for g++.
|
/* Support const sections and the ctors and dtors sections for g++.
|
||||||
Note that there appears to be two different ways to support const
|
Note that there appears to be two different ways to support const
|
||||||
@ -514,8 +514,8 @@ dtors_section () \
|
|||||||
different pseudo-op names for these, they may be overridden in the
|
different pseudo-op names for these, they may be overridden in the
|
||||||
file which includes this one. */
|
file which includes this one. */
|
||||||
|
|
||||||
#define TYPE_ASM_OP ".type"
|
#define TYPE_ASM_OP "\t.type\t"
|
||||||
#define SIZE_ASM_OP ".size"
|
#define SIZE_ASM_OP "\t.size\t"
|
||||||
|
|
||||||
/* This is how we tell the assembler that a symbol is weak. */
|
/* This is how we tell the assembler that a symbol is weak. */
|
||||||
|
|
||||||
@ -691,7 +691,7 @@ dtors_section () \
|
|||||||
|
|
||||||
#define STRING_LIMIT ((unsigned) 256)
|
#define STRING_LIMIT ((unsigned) 256)
|
||||||
|
|
||||||
#define STRING_ASM_OP ".string"
|
#define STRING_ASM_OP "\t.string\t"
|
||||||
|
|
||||||
/* The routine used to output NUL terminated strings. We use a special
|
/* The routine used to output NUL terminated strings. We use a special
|
||||||
version of this for most svr4 targets because doing so makes the
|
version of this for most svr4 targets because doing so makes the
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Base configuration file for all FreeBSD targets.
|
/* Base configuration file for all FreeBSD targets.
|
||||||
Copyright (C) 1999 Free Software Foundation, Inc.
|
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GNU CC.
|
This file is part of GNU CC.
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ Boston, MA 02111-1307, USA. */
|
|||||||
the version of GCC which compiled this code. The format of the .ident
|
the version of GCC which compiled this code. The format of the .ident
|
||||||
string is patterned after the ones produced by native SVR4 C compilers. */
|
string is patterned after the ones produced by native SVR4 C compilers. */
|
||||||
#undef IDENT_ASM_OP
|
#undef IDENT_ASM_OP
|
||||||
#define IDENT_ASM_OP ".ident"
|
#define IDENT_ASM_OP "\t.ident\t"
|
||||||
|
|
||||||
/* Output #ident as a .ident. */
|
/* Output #ident as a .ident. */
|
||||||
#undef ASM_OUTPUT_IDENT
|
#undef ASM_OUTPUT_IDENT
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for Linux-based GNU systems.
|
/* Definitions for Linux-based GNU systems.
|
||||||
Copyright (C) 1995, 1997, 1999 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1997, 1999, 2000 Free Software Foundation, Inc.
|
||||||
Contributed by H.J. Lu (hjl@nynexst.com)
|
Contributed by H.J. Lu (hjl@nynexst.com)
|
||||||
|
|
||||||
This file is part of GNU CC.
|
This file is part of GNU CC.
|
||||||
@ -39,7 +39,7 @@ Boston, MA 02111-1307, USA. */
|
|||||||
#undef ASM_APP_OFF
|
#undef ASM_APP_OFF
|
||||||
#define ASM_APP_OFF "#NO_APP\n"
|
#define ASM_APP_OFF "#NO_APP\n"
|
||||||
|
|
||||||
#define SET_ASM_OP ".set"
|
#define SET_ASM_OP "\t.set\t"
|
||||||
|
|
||||||
/* We need that too. */
|
/* We need that too. */
|
||||||
#define HANDLE_SYSV_PRAGMA
|
#define HANDLE_SYSV_PRAGMA
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions for Linux-based GNU systems with ELF format
|
/* Definitions for Linux-based GNU systems with ELF format
|
||||||
Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
|
||||||
Contributed by Eric Youngdale.
|
Contributed by Eric Youngdale.
|
||||||
Modified for stabs-in-ELF by H.J. Lu (hjl@lucon.org).
|
Modified for stabs-in-ELF by H.J. Lu (hjl@lucon.org).
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ Boston, MA 02111-1307, USA. */
|
|||||||
#undef ASM_APP_OFF
|
#undef ASM_APP_OFF
|
||||||
#define ASM_APP_OFF "#NO_APP\n"
|
#define ASM_APP_OFF "#NO_APP\n"
|
||||||
|
|
||||||
#define SET_ASM_OP ".set"
|
#define SET_ASM_OP "\t.set\t"
|
||||||
|
|
||||||
/* Use stabs instead of DWARF debug format. */
|
/* Use stabs instead of DWARF debug format. */
|
||||||
#undef PREFERRED_DEBUGGING_TYPE
|
#undef PREFERRED_DEBUGGING_TYPE
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Target independent definitions for LynxOS.
|
/* Target independent definitions for LynxOS.
|
||||||
Copyright (C) 1993, 1994, 1995, 1996, 1999 Free Software Foundation, Inc.
|
Copyright (C) 1993, 1994, 1995, 1996, 1999, 2000 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GNU CC.
|
This file is part of GNU CC.
|
||||||
|
|
||||||
@ -138,11 +138,11 @@ do { \
|
|||||||
FINI_SECTION_FUNCTION
|
FINI_SECTION_FUNCTION
|
||||||
|
|
||||||
#undef CTORS_SECTION_ASM_OP
|
#undef CTORS_SECTION_ASM_OP
|
||||||
#define CTORS_SECTION_ASM_OP ".section\t.ctors"
|
#define CTORS_SECTION_ASM_OP "\t.section\t.ctors"
|
||||||
#undef DTORS_SECTION_ASM_OP
|
#undef DTORS_SECTION_ASM_OP
|
||||||
#define DTORS_SECTION_ASM_OP ".section\t.dtors"
|
#define DTORS_SECTION_ASM_OP "\t.section\t.dtors"
|
||||||
|
|
||||||
#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
|
/* A C statement (sans semicolon) to output an element in the table of
|
||||||
global constructors. */
|
global constructors. */
|
||||||
|
@ -88,9 +88,9 @@
|
|||||||
#undef TYPE_ASM_OP
|
#undef TYPE_ASM_OP
|
||||||
#undef SIZE_ASM_OP
|
#undef SIZE_ASM_OP
|
||||||
#undef SET_ASM_OP
|
#undef SET_ASM_OP
|
||||||
#define TYPE_ASM_OP ".type"
|
#define TYPE_ASM_OP "\t.type\t"
|
||||||
#define SIZE_ASM_OP ".size"
|
#define SIZE_ASM_OP "\t.size\t"
|
||||||
#define SET_ASM_OP ".set"
|
#define SET_ASM_OP "\t.set\t"
|
||||||
|
|
||||||
/* This is how we tell the assembler that a symbol is weak. */
|
/* This is how we tell the assembler that a symbol is weak. */
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ Boston, MA 02111-1307, USA. */
|
|||||||
fprintf (FILE, ".reference .destructors_used\n"); \
|
fprintf (FILE, ".reference .destructors_used\n"); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#define EH_FRAME_SECTION_ASM_OP ".section __TEXT,__eh_frame,regular"
|
#define EH_FRAME_SECTION_ASM_OP "\t.section __TEXT,__eh_frame,regular"
|
||||||
|
|
||||||
/* Don't output a .file directive. That is only used by the assembler for
|
/* Don't output a .file directive. That is only used by the assembler for
|
||||||
error reporting. */
|
error reporting. */
|
||||||
@ -290,7 +290,7 @@ extern int handle_pragma PARAMS ((int(*)(void), void (*)(int), const char *));
|
|||||||
else asm_fprintf (FILE, "%U%s", NAME); } while (0)
|
else asm_fprintf (FILE, "%U%s", NAME); } while (0)
|
||||||
|
|
||||||
#undef ALIGN_ASM_OP
|
#undef ALIGN_ASM_OP
|
||||||
#define ALIGN_ASM_OP ".align"
|
#define ALIGN_ASM_OP "\t.align\t"
|
||||||
|
|
||||||
#undef ASM_OUTPUT_ALIGN
|
#undef ASM_OUTPUT_ALIGN
|
||||||
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
|
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Base configuration file for all OpenBSD targets.
|
/* Base configuration file for all OpenBSD targets.
|
||||||
Copyright (C) 1999 Free Software Foundation, Inc.
|
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GNU CC.
|
This file is part of GNU CC.
|
||||||
|
|
||||||
@ -169,9 +169,9 @@ Boston, MA 02111-1307, USA. */
|
|||||||
#undef SIZE_ASM_OP
|
#undef SIZE_ASM_OP
|
||||||
#undef SET_ASM_OP
|
#undef SET_ASM_OP
|
||||||
|
|
||||||
#define TYPE_ASM_OP ".type"
|
#define TYPE_ASM_OP "\t.type\t"
|
||||||
#define SIZE_ASM_OP ".size"
|
#define SIZE_ASM_OP "\t.size\t"
|
||||||
#define SET_ASM_OP ".set"
|
#define SET_ASM_OP "\t.set\t"
|
||||||
|
|
||||||
/* The following macro defines the format used to output the second
|
/* The following macro defines the format used to output the second
|
||||||
operand of the .type assembler directive. */
|
operand of the .type assembler directive. */
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/* Operating system specific defines to be used when targeting GCC for some
|
/* Operating system specific defines to be used when targeting GCC for some
|
||||||
embedded system running pSOS. We assume GNU tools with ELF, but
|
embedded system running pSOS. We assume GNU tools with ELF, but
|
||||||
try to maintain compatibility with the MRI tools. Based on svr4.h.
|
try to maintain compatibility with the MRI tools. Based on svr4.h.
|
||||||
Copyright (C) 1996, 1999 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1999, 2000 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GNU CC.
|
This file is part of GNU CC.
|
||||||
|
|
||||||
@ -96,8 +96,8 @@ while (0)
|
|||||||
/* Define the pseudo-ops used to switch to the .ctors and .dtors
|
/* Define the pseudo-ops used to switch to the .ctors and .dtors
|
||||||
sections. */
|
sections. */
|
||||||
|
|
||||||
#define CTORS_SECTION_ASM_OP ".section\t.ctors,\"aw\""
|
#define CTORS_SECTION_ASM_OP "\t.section\t.ctors,\"aw\""
|
||||||
#define DTORS_SECTION_ASM_OP ".section\t.dtors,\"aw\""
|
#define DTORS_SECTION_ASM_OP "\t.section\t.dtors,\"aw\""
|
||||||
|
|
||||||
/* A default list of other sections which we might be "in" at any given
|
/* 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
|
time. For targets that use additional sections (e.g. .tdesc) you
|
||||||
@ -142,7 +142,7 @@ dtors_section () \
|
|||||||
global constructors. */
|
global constructors. */
|
||||||
|
|
||||||
#ifndef INT_ASM_OP
|
#ifndef INT_ASM_OP
|
||||||
#define INT_ASM_OP ".long"
|
#define INT_ASM_OP "\t.long\t"
|
||||||
#endif
|
#endif
|
||||||
#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \
|
#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \
|
||||||
do { \
|
do { \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* Operating system specific defines to be used when targeting GCC for some
|
/* Operating system specific defines to be used when targeting GCC for some
|
||||||
generic System V Release 4 system.
|
generic System V Release 4 system.
|
||||||
Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
|
||||||
Contributed by Ron Guilmette (rfg@monkeys.com).
|
Contributed by Ron Guilmette (rfg@monkeys.com).
|
||||||
Renamed and changed to suit Dynix/ptx v4 and later.
|
Renamed and changed to suit Dynix/ptx v4 and later.
|
||||||
Modified by Tim Wright (timw@sequent.com).
|
Modified by Tim Wright (timw@sequent.com).
|
||||||
@ -176,7 +176,7 @@ Boston, MA 02111-1307, USA.
|
|||||||
.ident string is patterned after the ones produced by native svr4
|
.ident string is patterned after the ones produced by native svr4
|
||||||
C compilers. */
|
C compilers. */
|
||||||
|
|
||||||
#define IDENT_ASM_OP ".ident"
|
#define IDENT_ASM_OP "\t.ident\t"
|
||||||
|
|
||||||
#define ASM_FILE_END(FILE) \
|
#define ASM_FILE_END(FILE) \
|
||||||
do { \
|
do { \
|
||||||
@ -306,10 +306,10 @@ while (0)
|
|||||||
/* #define MULTIBYTE_CHARS */
|
/* #define MULTIBYTE_CHARS */
|
||||||
|
|
||||||
#undef ASM_BYTE_OP
|
#undef ASM_BYTE_OP
|
||||||
#define ASM_BYTE_OP ".byte"
|
#define ASM_BYTE_OP "\t.byte\t"
|
||||||
|
|
||||||
#undef SET_ASM_OP
|
#undef SET_ASM_OP
|
||||||
#define SET_ASM_OP ".set"
|
#define SET_ASM_OP "\t.set\t"
|
||||||
|
|
||||||
/* This is how to begin an assembly language file. Most svr4 assemblers want
|
/* This is how to begin an assembly language file. Most svr4 assemblers want
|
||||||
at least a .file directive to come first, and some want to see a .version
|
at least a .file directive to come first, and some want to see a .version
|
||||||
@ -325,7 +325,7 @@ while (0)
|
|||||||
/* This is how to allocate empty space in some section. The .zero
|
/* This is how to allocate empty space in some section. The .zero
|
||||||
pseudo-op is used for this on most svr4 assemblers. */
|
pseudo-op is used for this on most svr4 assemblers. */
|
||||||
|
|
||||||
#define SKIP_ASM_OP ".zero"
|
#define SKIP_ASM_OP "\t.zero\t"
|
||||||
|
|
||||||
#undef ASM_OUTPUT_SKIP
|
#undef ASM_OUTPUT_SKIP
|
||||||
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
|
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
|
||||||
@ -373,7 +373,7 @@ do { \
|
|||||||
make sure that the location counter for the .rodata section gets pro-
|
make sure that the location counter for the .rodata section gets pro-
|
||||||
perly re-aligned prior to the actual beginning of the jump table. */
|
perly re-aligned prior to the actual beginning of the jump table. */
|
||||||
|
|
||||||
#define ALIGN_ASM_OP ".align"
|
#define ALIGN_ASM_OP "\t.align\t"
|
||||||
|
|
||||||
#ifndef ASM_OUTPUT_BEFORE_CASE_LABEL
|
#ifndef ASM_OUTPUT_BEFORE_CASE_LABEL
|
||||||
#define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE,PREFIX,NUM,TABLE) \
|
#define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE,PREFIX,NUM,TABLE) \
|
||||||
@ -399,7 +399,7 @@ do { \
|
|||||||
the linker seems to want the alignment of data objects
|
the linker seems to want the alignment of data objects
|
||||||
to depend on their types. We do exactly that here. */
|
to depend on their types. We do exactly that here. */
|
||||||
|
|
||||||
#define COMMON_ASM_OP ".comm"
|
#define COMMON_ASM_OP "\t.comm\t"
|
||||||
|
|
||||||
#undef ASM_OUTPUT_ALIGNED_COMMON
|
#undef ASM_OUTPUT_ALIGNED_COMMON
|
||||||
#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \
|
#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \
|
||||||
@ -414,7 +414,7 @@ do { \
|
|||||||
the linker seems to want the alignment of data objects
|
the linker seems to want the alignment of data objects
|
||||||
to depend on their types. We do exactly that here. */
|
to depend on their types. We do exactly that here. */
|
||||||
|
|
||||||
#define LOCAL_ASM_OP ".local"
|
#define LOCAL_ASM_OP "\t.local\t"
|
||||||
|
|
||||||
#undef ASM_OUTPUT_ALIGNED_LOCAL
|
#undef ASM_OUTPUT_ALIGNED_LOCAL
|
||||||
#define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \
|
#define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \
|
||||||
@ -429,14 +429,14 @@ do { \
|
|||||||
specific value in some section. This is the same for all known svr4
|
specific value in some section. This is the same for all known svr4
|
||||||
assemblers. */
|
assemblers. */
|
||||||
|
|
||||||
#define INT_ASM_OP ".long"
|
#define INT_ASM_OP "\t.long\t"
|
||||||
|
|
||||||
/* This is the pseudo-op used to generate a contiguous sequence of byte
|
/* This is the pseudo-op used to generate a contiguous sequence of byte
|
||||||
values from a double-quoted string WITHOUT HAVING A TERMINATING NUL
|
values from a double-quoted string WITHOUT HAVING A TERMINATING NUL
|
||||||
AUTOMATICALLY APPENDED. This is the same for most svr4 assemblers. */
|
AUTOMATICALLY APPENDED. This is the same for most svr4 assemblers. */
|
||||||
|
|
||||||
#undef ASCII_DATA_ASM_OP
|
#undef ASCII_DATA_ASM_OP
|
||||||
#define ASCII_DATA_ASM_OP ".ascii"
|
#define ASCII_DATA_ASM_OP "\t.ascii\t"
|
||||||
|
|
||||||
/* Support const sections and the ctors and dtors sections for g++.
|
/* Support const sections and the ctors and dtors sections for g++.
|
||||||
Note that there appears to be two different ways to support const
|
Note that there appears to be two different ways to support const
|
||||||
@ -448,7 +448,7 @@ do { \
|
|||||||
|
|
||||||
#define USE_CONST_SECTION 1
|
#define USE_CONST_SECTION 1
|
||||||
|
|
||||||
#define CONST_SECTION_ASM_OP ".section\t.rodata"
|
#define CONST_SECTION_ASM_OP "\t.section\t.rodata"
|
||||||
|
|
||||||
/* Define the pseudo-ops used to switch to the .ctors and .dtors sections.
|
/* Define the pseudo-ops used to switch to the .ctors and .dtors sections.
|
||||||
|
|
||||||
@ -465,8 +465,8 @@ do { \
|
|||||||
errors unless the .ctors and .dtors sections are marked as writable
|
errors unless the .ctors and .dtors sections are marked as writable
|
||||||
via the SHF_WRITE attribute.) */
|
via the SHF_WRITE attribute.) */
|
||||||
|
|
||||||
#define CTORS_SECTION_ASM_OP ".section\t.ctors,\"aw\""
|
#define CTORS_SECTION_ASM_OP "\t.section\t.ctors,\"aw\""
|
||||||
#define DTORS_SECTION_ASM_OP ".section\t.dtors,\"aw\""
|
#define DTORS_SECTION_ASM_OP "\t.section\t.dtors,\"aw\""
|
||||||
|
|
||||||
/* On svr4, we *do* have support for the .init and .fini sections, and we
|
/* On svr4, we *do* have support for the .init and .fini sections, and we
|
||||||
can put stuff in there to be executed before and after `main'. We let
|
can put stuff in there to be executed before and after `main'. We let
|
||||||
@ -474,8 +474,8 @@ do { \
|
|||||||
The definitions say how to change sections to the .init and .fini
|
The definitions say how to change sections to the .init and .fini
|
||||||
sections. This is the same for all known svr4 assemblers. */
|
sections. This is the same for all known svr4 assemblers. */
|
||||||
|
|
||||||
#define INIT_SECTION_ASM_OP ".section\t.init"
|
#define INIT_SECTION_ASM_OP "\t.section\t.init"
|
||||||
#define FINI_SECTION_ASM_OP ".section\t.fini"
|
#define FINI_SECTION_ASM_OP "\t.section\t.fini"
|
||||||
|
|
||||||
/* A default list of other sections which we might be "in" at any given
|
/* 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
|
time. For targets that use additional sections (e.g. .tdesc) you
|
||||||
@ -607,8 +607,8 @@ dtors_section () \
|
|||||||
different pseudo-op names for these, they may be overridden in the
|
different pseudo-op names for these, they may be overridden in the
|
||||||
file which includes this one. */
|
file which includes this one. */
|
||||||
|
|
||||||
#define TYPE_ASM_OP ".type"
|
#define TYPE_ASM_OP "\t.type\t"
|
||||||
#define SIZE_ASM_OP ".size"
|
#define SIZE_ASM_OP "\t.size\t"
|
||||||
|
|
||||||
/* This is how we tell the assembler that a symbol is weak. */
|
/* This is how we tell the assembler that a symbol is weak. */
|
||||||
|
|
||||||
@ -752,7 +752,7 @@ do { \
|
|||||||
|
|
||||||
#define STRING_LIMIT ((unsigned) 256)
|
#define STRING_LIMIT ((unsigned) 256)
|
||||||
|
|
||||||
#define STRING_ASM_OP ".string"
|
#define STRING_ASM_OP "\t.string\t"
|
||||||
|
|
||||||
/* The routine used to output NUL terminated strings. We use a special
|
/* The routine used to output NUL terminated strings. We use a special
|
||||||
version of this for most svr4 targets because doing so makes the
|
version of this for most svr4 targets because doing so makes the
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* Operating system specific defines to be used when targeting GCC for
|
/* Operating system specific defines to be used when targeting GCC for
|
||||||
generic System V Release 3 system.
|
generic System V Release 3 system.
|
||||||
Copyright (C) 1991, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1991, 1996, 2000 Free Software Foundation, Inc.
|
||||||
Contributed by Ron Guilmette (rfg@monkeys.com).
|
Contributed by Ron Guilmette (rfg@monkeys.com).
|
||||||
|
|
||||||
This file is part of GNU CC.
|
This file is part of GNU CC.
|
||||||
@ -157,7 +157,7 @@ Boston, MA 02111-1307, USA.
|
|||||||
definitions should work for most svr3 systems. */
|
definitions should work for most svr3 systems. */
|
||||||
|
|
||||||
#undef ASM_BYTE_OP
|
#undef ASM_BYTE_OP
|
||||||
#define ASM_BYTE_OP "\t.byte"
|
#define ASM_BYTE_OP "\t.byte\t"
|
||||||
|
|
||||||
/* The prefix to add to user-visible assembler symbols.
|
/* The prefix to add to user-visible assembler symbols.
|
||||||
|
|
||||||
@ -215,9 +215,9 @@ Boston, MA 02111-1307, USA.
|
|||||||
|
|
||||||
#define USE_CONST_SECTION 0
|
#define USE_CONST_SECTION 0
|
||||||
|
|
||||||
#define INIT_SECTION_ASM_OP ".section\t.init"
|
#define INIT_SECTION_ASM_OP "\t.section\t.init"
|
||||||
#define FINI_SECTION_ASM_OP ".section .fini,\"x\""
|
#define FINI_SECTION_ASM_OP "\t.section .fini,\"x\""
|
||||||
#define CONST_SECTION_ASM_OP ".section\t.rodata, \"x\""
|
#define CONST_SECTION_ASM_OP "\t.section\t.rodata, \"x\""
|
||||||
#define CTORS_SECTION_ASM_OP INIT_SECTION_ASM_OP
|
#define CTORS_SECTION_ASM_OP INIT_SECTION_ASM_OP
|
||||||
#define DTORS_SECTION_ASM_OP FINI_SECTION_ASM_OP
|
#define DTORS_SECTION_ASM_OP FINI_SECTION_ASM_OP
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user