config:
authorHans-Peter Nilsson <hp@axis.com>
Mon, 25 Sep 2000 08:23:05 +0000 (08:23 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Mon, 25 Sep 2000 08:23:05 +0000 (08:23 +0000)
Changes add TABs on either or both sides, covering start of line,
up to any operand for all .*ASM.*_OP definitions.

From-SVN: r36604

12 files changed:
gcc/ChangeLog
gcc/config/elfos.h
gcc/config/freebsd.h
gcc/config/linux-aout.h
gcc/config/linux.h
gcc/config/lynx.h
gcc/config/netbsd.h
gcc/config/nextstep.h
gcc/config/openbsd.h
gcc/config/psos.h
gcc/config/ptx4.h
gcc/config/svr3.h

index 73671c43d2fe93989cfc50e6d62d02d13f7a8a46..303a7d4a867cc1ea0fa01ec6ae9d5c084ab2cf45 100644 (file)
        * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
        * varasm.c (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>
 
index 2f9f037e868a38ada41429cfee107ba5a3fe3437..050ec1df4b43e4aff1a87aa4a6fb5d111a12770c 100644 (file)
@@ -98,7 +98,7 @@ Boston, MA 02111-1307, USA.  */
    .ident string is patterned after the ones produced by native svr4
    C compilers.  */
 
-#define IDENT_ASM_OP ".ident"
+#define IDENT_ASM_OP "\t.ident\t"
 
 #define ASM_FILE_END(FILE)                             \
   do                                                   \
@@ -110,10 +110,10 @@ Boston, MA 02111-1307, USA.  */
   while (0)
 
 #undef  ASM_BYTE_OP
-#define ASM_BYTE_OP    ".byte"
+#define ASM_BYTE_OP    "\t.byte\t"
 
 #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
    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
    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
 #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-
    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
 #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
    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
 #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
    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
 #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
    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
    values from a double-quoted string WITHOUT HAVING A TERMINATING NUL
    AUTOMATICALLY APPENDED.  This is the same for most svr4 assemblers.  */
 
 #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++.
    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
    file which includes this one.  */
 
-#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.  */
 
@@ -691,7 +691,7 @@ dtors_section ()                                            \
 
 #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
    version of this for most svr4 targets because doing so makes the
index 461f69edf1bf8dc090ad01d6480b34cf80146b9f..69312fa42d5e1e48c34457a3e360906bd2c0479f 100644 (file)
@@ -1,5 +1,5 @@
 /* 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.
 
@@ -104,7 +104,7 @@ Boston, MA 02111-1307, USA.  */
    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.  */
 #undef IDENT_ASM_OP
-#define IDENT_ASM_OP ".ident"
+#define IDENT_ASM_OP "\t.ident\t"
 
 /* Output #ident as a .ident.  */
 #undef ASM_OUTPUT_IDENT
index 199ea5429865bfb9c2e22c4eab499f12539105a5..2560bb8acee9e64119b3c9d5631fb9524350976b 100644 (file)
@@ -1,5 +1,5 @@
 /* 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)
 
 This file is part of GNU CC.
@@ -39,7 +39,7 @@ Boston, MA 02111-1307, USA.  */
 #undef ASM_APP_OFF
 #define ASM_APP_OFF "#NO_APP\n"
 
-#define SET_ASM_OP     ".set"
+#define SET_ASM_OP     "\t.set\t"
 
 /* We need that too. */
 #define HANDLE_SYSV_PRAGMA
index 286f0925098d4fbbd0b8549a582645fe761ad0d2..1ef26b3f1945f579917cd8e9edfceddc3b57e7e4 100644 (file)
@@ -1,5 +1,5 @@
 /* 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.
    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
 #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.  */
 #undef PREFERRED_DEBUGGING_TYPE
index beac4491919808bc40ec7b541f86e191719df1fd..4c215c2c38fe01d3e3af79de7f88b7553b52cfbd 100644 (file)
@@ -1,5 +1,5 @@
 /* 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.
 
@@ -138,11 +138,11 @@ do {                                                              \
   FINI_SECTION_FUNCTION
 
 #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
-#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
    global constructors.  */
index 49ff03618f286d8247e554518066230a1067a6bb..a9cc46abeb05b21db16a96b3fd32efa3310bd5c3 100644 (file)
@@ -88,9 +88,9 @@
 #undef TYPE_ASM_OP
 #undef SIZE_ASM_OP
 #undef SET_ASM_OP
-#define TYPE_ASM_OP    ".type"
-#define SIZE_ASM_OP    ".size"
-#define SET_ASM_OP     ".set"
+#define TYPE_ASM_OP    "\t.type\t"
+#define SIZE_ASM_OP    "\t.size\t"
+#define SET_ASM_OP     "\t.set\t"
 
 /* This is how we tell the assembler that a symbol is weak.  */
 
index 5c0e828fa030317d68640ec04ebed26c07e25b06..82d8590e53d1ba61aa09b0847dcb5562d5d28dcc 100644 (file)
@@ -237,7 +237,7 @@ Boston, MA 02111-1307, USA.  */
        fprintf (FILE, ".reference .destructors_used\n");        \
       } 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
    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)
 
 #undef ALIGN_ASM_OP
-#define ALIGN_ASM_OP           ".align"
+#define ALIGN_ASM_OP           "\t.align\t"
 
 #undef ASM_OUTPUT_ALIGN
 #define ASM_OUTPUT_ALIGN(FILE,LOG)     \
index bcf5ff262f088b83127a467815672cedb6a364fd..80742221f3122a05eb61e7b4da46cebddf44fa90 100644 (file)
@@ -1,5 +1,5 @@
 /* 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.
 
@@ -169,9 +169,9 @@ Boston, MA 02111-1307, USA.  */
 #undef SIZE_ASM_OP
 #undef SET_ASM_OP
 
-#define TYPE_ASM_OP    ".type"
-#define SIZE_ASM_OP    ".size"
-#define SET_ASM_OP     ".set"
+#define TYPE_ASM_OP    "\t.type\t"
+#define SIZE_ASM_OP    "\t.size\t"
+#define SET_ASM_OP     "\t.set\t"
 
 /* The following macro defines the format used to output the second
    operand of the .type assembler directive.  */
index 1d3b2f885524cf51e0dd214b1cdc19f093eb0fd5..bfdd51d9c7ba5ff4682fc2c524c49368978d69d5 100644 (file)
@@ -1,7 +1,7 @@
 /* Operating system specific defines to be used when targeting GCC for some
    embedded system running pSOS. We assume GNU tools with ELF, but
    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.
 
@@ -96,8 +96,8 @@ while (0)
 /* Define the pseudo-ops used to switch to the .ctors and .dtors
    sections. */
 
-#define CTORS_SECTION_ASM_OP   ".section\t.ctors,\"aw\""
-#define DTORS_SECTION_ASM_OP   ".section\t.dtors,\"aw\""
+#define CTORS_SECTION_ASM_OP   "\t.section\t.ctors,\"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
    time.  For targets that use additional sections (e.g. .tdesc) you
@@ -142,7 +142,7 @@ dtors_section ()                                                    \
    global constructors.  */
 
 #ifndef INT_ASM_OP
-#define INT_ASM_OP             ".long"
+#define INT_ASM_OP             "\t.long\t"
 #endif
 #define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME)                              \
   do {                                                                 \
index 7701f963af677c7460cd5a258652dd2f69c8d4db..f3e5deed544bf31bad6915484265939d7c4b5378 100644 (file)
@@ -1,6 +1,6 @@
 /* Operating system specific defines to be used when targeting GCC for some
    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).
    Renamed and changed to suit Dynix/ptx v4 and later.
    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
    C compilers.  */
 
-#define IDENT_ASM_OP ".ident"
+#define IDENT_ASM_OP "\t.ident\t"
 
 #define ASM_FILE_END(FILE)                                     \
 do {                                                           \
@@ -306,10 +306,10 @@ while (0)
 /* #define MULTIBYTE_CHARS */
 
 #undef ASM_BYTE_OP
-#define ASM_BYTE_OP    ".byte"
+#define ASM_BYTE_OP    "\t.byte\t"
 
 #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
    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
    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
 #define ASM_OUTPUT_SKIP(FILE,SIZE) \
@@ -373,7 +373,7 @@ do {                                                                        \
    make sure that the location counter for the .rodata section gets pro-
    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
 #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
    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
 #define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN)             \
@@ -414,7 +414,7 @@ do {                                                                        \
    the linker seems to want the alignment of data objects
    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
 #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
    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
    values from a double-quoted string WITHOUT HAVING A TERMINATING NUL
    AUTOMATICALLY APPENDED.  This is the same for most svr4 assemblers.  */
 
 #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++.
    Note that there appears to be two different ways to support const
@@ -448,7 +448,7 @@ do {                                                                        \
 
 #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.
 
@@ -465,8 +465,8 @@ do {                                                                        \
    errors unless the .ctors and .dtors sections are marked as writable
    via the SHF_WRITE attribute.)  */
 
-#define CTORS_SECTION_ASM_OP   ".section\t.ctors,\"aw\""
-#define DTORS_SECTION_ASM_OP   ".section\t.dtors,\"aw\""
+#define CTORS_SECTION_ASM_OP   "\t.section\t.ctors,\"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
    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
    sections.  This is the same for all known svr4 assemblers.  */
 
-#define INIT_SECTION_ASM_OP    ".section\t.init"
-#define FINI_SECTION_ASM_OP    ".section\t.fini"
+#define INIT_SECTION_ASM_OP    "\t.section\t.init"
+#define FINI_SECTION_ASM_OP    "\t.section\t.fini"
 
 /* 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
@@ -607,8 +607,8 @@ dtors_section ()                                                    \
    different pseudo-op names for these, they may be overridden in the
    file which includes this one.  */
 
-#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.  */
 
@@ -752,7 +752,7 @@ do {                                                                         \
 
 #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
    version of this for most svr4 targets because doing so makes the
index e97bab7ac395576b2971c2db0173b51410a0f1e4..44fc241fa26e4cdec980304a8acf23841b01aa0a 100644 (file)
@@ -1,6 +1,6 @@
 /* Operating system specific defines to be used when targeting GCC for
    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).
 
 This file is part of GNU CC.
@@ -157,7 +157,7 @@ Boston, MA 02111-1307, USA.
    definitions should work for most svr3 systems.  */
 
 #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.
 
@@ -215,9 +215,9 @@ Boston, MA 02111-1307, USA.
 
 #define USE_CONST_SECTION      0
 
-#define INIT_SECTION_ASM_OP     ".section\t.init"
-#define FINI_SECTION_ASM_OP     ".section .fini,\"x\""
-#define CONST_SECTION_ASM_OP   ".section\t.rodata, \"x\""
+#define INIT_SECTION_ASM_OP     "\t.section\t.init"
+#define FINI_SECTION_ASM_OP     "\t.section .fini,\"x\""
+#define CONST_SECTION_ASM_OP   "\t.section\t.rodata, \"x\""
 #define CTORS_SECTION_ASM_OP   INIT_SECTION_ASM_OP
 #define DTORS_SECTION_ASM_OP    FINI_SECTION_ASM_OP