aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog21
-rw-r--r--gcc/config/elfos.h24
-rw-r--r--gcc/config/freebsd.h4
-rw-r--r--gcc/config/linux-aout.h4
-rw-r--r--gcc/config/linux.h4
-rw-r--r--gcc/config/lynx.h8
-rw-r--r--gcc/config/netbsd.h6
-rw-r--r--gcc/config/nextstep.h4
-rw-r--r--gcc/config/openbsd.h8
-rw-r--r--gcc/config/psos.h8
-rw-r--r--gcc/config/ptx4.h36
-rw-r--r--gcc/config/svr3.h10
12 files changed, 79 insertions, 58 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 73671c4..303a7d4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -14,6 +14,27 @@
* 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>
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h
index 2f9f037..050ec1d 100644
--- a/gcc/config/elfos.h
+++ b/gcc/config/elfos.h
@@ -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
diff --git a/gcc/config/freebsd.h b/gcc/config/freebsd.h
index 461f69e..69312fa 100644
--- a/gcc/config/freebsd.h
+++ b/gcc/config/freebsd.h
@@ -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
diff --git a/gcc/config/linux-aout.h b/gcc/config/linux-aout.h
index 199ea54..2560bb8 100644
--- a/gcc/config/linux-aout.h
+++ b/gcc/config/linux-aout.h
@@ -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
diff --git a/gcc/config/linux.h b/gcc/config/linux.h
index 286f092..1ef26b3 100644
--- a/gcc/config/linux.h
+++ b/gcc/config/linux.h
@@ -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
diff --git a/gcc/config/lynx.h b/gcc/config/lynx.h
index beac449..4c215c2 100644
--- a/gcc/config/lynx.h
+++ b/gcc/config/lynx.h
@@ -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. */
diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h
index 49ff036..a9cc46a 100644
--- a/gcc/config/netbsd.h
+++ b/gcc/config/netbsd.h
@@ -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. */
diff --git a/gcc/config/nextstep.h b/gcc/config/nextstep.h
index 5c0e828..82d8590 100644
--- a/gcc/config/nextstep.h
+++ b/gcc/config/nextstep.h
@@ -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) \
diff --git a/gcc/config/openbsd.h b/gcc/config/openbsd.h
index bcf5ff2..8074222 100644
--- a/gcc/config/openbsd.h
+++ b/gcc/config/openbsd.h
@@ -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. */
diff --git a/gcc/config/psos.h b/gcc/config/psos.h
index 1d3b2f8..bfdd51d 100644
--- a/gcc/config/psos.h
+++ b/gcc/config/psos.h
@@ -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 { \
diff --git a/gcc/config/ptx4.h b/gcc/config/ptx4.h
index 7701f96..f3e5dee 100644
--- a/gcc/config/ptx4.h
+++ b/gcc/config/ptx4.h
@@ -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
diff --git a/gcc/config/svr3.h b/gcc/config/svr3.h
index e97bab7..44fc241 100644
--- a/gcc/config/svr3.h
+++ b/gcc/config/svr3.h
@@ -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