aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@gcc.gnu.org>2000-09-25 13:39:45 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2000-09-25 13:39:45 +0000
commitb9f7d63e774f11497a01d17a6e255ba49e0d4520 (patch)
tree4ef90c53dd04c0023d05e8c52fe5c81f3fb18608 /gcc
parent016c844017b941fbfe25a51172d03fa3e3cda13e (diff)
downloadgcc-b9f7d63e774f11497a01d17a6e255ba49e0d4520.zip
gcc-b9f7d63e774f11497a01d17a6e255ba49e0d4520.tar.gz
gcc-b9f7d63e774f11497a01d17a6e255ba49e0d4520.tar.bz2
Change callers in config/[n-z]*/ (the rest) to match:
Changes add TABs on either or both sides, covering start of line, up to any operand for all .*ASM.*_OP definitions. From-SVN: r36621
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/pa/pa-64.h4
-rw-r--r--gcc/config/rs6000/netware.h8
-rw-r--r--gcc/config/rs6000/sysv4.h10
-rw-r--r--gcc/config/sparc/linux64.h10
-rw-r--r--gcc/config/sparc/litecoff.h4
-rw-r--r--gcc/config/sparc/sol2-sld-64.h10
-rw-r--r--gcc/config/sparc/sp64-elf.h6
-rw-r--r--gcc/config/sparc/sparc.h6
-rw-r--r--gcc/config/sparc/sysv4.h2
-rw-r--r--gcc/config/v850/v850.c12
10 files changed, 42 insertions, 30 deletions
diff --git a/gcc/config/pa/pa-64.h b/gcc/config/pa/pa-64.h
index 4e5b807..4272116 100644
--- a/gcc/config/pa/pa-64.h
+++ b/gcc/config/pa/pa-64.h
@@ -353,7 +353,7 @@ do { \
#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \
do { \
ctors_section (); \
- fprintf (FILE, "\t%s\t P%%", INT_ASM_OP); \
+ fprintf (FILE, "%sP%%", INT_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)
@@ -363,7 +363,7 @@ do { \
#define ASM_OUTPUT_DESTRUCTOR(FILE,NAME) \
do { \
dtors_section (); \
- fprintf (FILE, "\t%s\t P%%", INT_ASM_OP); \
+ fprintf (FILE, "%sP%%", INT_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)
diff --git a/gcc/config/rs6000/netware.h b/gcc/config/rs6000/netware.h
index 374c5a1..880323e 100644
--- a/gcc/config/rs6000/netware.h
+++ b/gcc/config/rs6000/netware.h
@@ -61,7 +61,7 @@ Boston, MA 02111-1307, USA. */
#undef ASM_DECLARE_FUNCTION_NAME
#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \
do { \
- fprintf (FILE, "\t%s\t ", TYPE_ASM_OP); \
+ fprintf (FILE, "%s", TYPE_ASM_OP); \
assemble_name (FILE, NAME); \
putc (',', FILE); \
fprintf (FILE, TYPE_OPERAND_FMT, "function"); \
@@ -97,7 +97,7 @@ Boston, MA 02111-1307, USA. */
labelno++; \
ASM_GENERATE_INTERNAL_LABEL (label, "Lfe", labelno); \
ASM_OUTPUT_INTERNAL_LABEL (FILE, "Lfe", labelno); \
- fprintf (FILE, "\t%s\t ", SIZE_ASM_OP); \
+ fprintf (FILE, "%s", SIZE_ASM_OP); \
assemble_name (FILE, (FNAME)); \
fprintf (FILE, ","); \
assemble_name (FILE, label); \
@@ -215,7 +215,7 @@ toc_section () \
#define DBX_OUTPUT_LBRAC(FILE, BUF) \
do \
{ \
- fprintf (FILE, "%s %d,0,0,", ASM_STABN_OP, N_LBRAC); \
+ fprintf (FILE, "%s%d,0,0,", ASM_STABN_OP, N_LBRAC); \
assemble_name (FILE, BUF); \
fprintf (FILE, "-."); \
assemble_name (asmfile, \
@@ -227,7 +227,7 @@ while (0)
#define DBX_OUTPUT_RBRAC(FILE, BUF) \
do \
{ \
- fprintf (FILE, "%s %d,0,0,", ASM_STABN_OP, N_RBRAC); \
+ fprintf (FILE, "%s%d,0,0,", ASM_STABN_OP, N_RBRAC); \
assemble_name (FILE, BUF); \
fprintf (FILE, "-."); \
assemble_name (asmfile, \
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index 98eb931..46394e1 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -644,7 +644,7 @@ extern int rs6000_pic_labelno;
putc ('\n', FILE); \
} \
\
- fprintf (FILE, "\t%s\t ", TYPE_ASM_OP); \
+ fprintf (FILE, "%s", TYPE_ASM_OP); \
assemble_name (FILE, NAME); \
putc (',', FILE); \
fprintf (FILE, TYPE_OPERAND_FMT, "function"); \
@@ -762,14 +762,14 @@ do { \
ASM_OUTPUT_SKIP (FILE, SIZE); \
if (!flag_inhibit_size_directive && (SIZE) > 0) \
{ \
- fprintf (FILE, "\t%s\t ", SIZE_ASM_OP); \
+ fprintf (FILE, "%s", SIZE_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, ",%d\n", SIZE); \
} \
} \
else \
{ \
- fprintf (FILE, "\t%s\t", LCOMM_ASM_OP); \
+ fprintf (FILE, "%s", LCOMM_ASM_OP); \
assemble_name ((FILE), (NAME)); \
fprintf ((FILE), ",%u,%u\n", (SIZE), (ALIGN) / BITS_PER_UNIT); \
} \
@@ -1007,7 +1007,7 @@ do { \
if (DEFAULT_ABI != ABI_SOLARIS) \
{ \
ctors_section (); \
- fprintf (FILE, "\t%s\t ", INT_ASM_OP); \
+ fprintf (FILE, "%s", INT_ASM_OP); \
assemble_name (FILE, NAME); \
} \
else \
@@ -1028,7 +1028,7 @@ do { \
if (DEFAULT_ABI != ABI_SOLARIS) \
{ \
dtors_section (); \
- fprintf (FILE, "\t%s\t ", INT_ASM_OP); \
+ fprintf (FILE, "%s", INT_ASM_OP); \
assemble_name (FILE, NAME); \
} \
else \
diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h
index 6795361..acd98dd 100644
--- a/gcc/config/sparc/linux64.h
+++ b/gcc/config/sparc/linux64.h
@@ -406,7 +406,10 @@ do { \
#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \
do { \
ctors_section (); \
- fprintf (FILE, "\t%s\t ", TARGET_ARCH64 ? ASM_LONGLONG : INT_ASM_OP); \
+ if (TARGET_ARCH64) \
+ fprintf (FILE, "\t%s\t ", ASM_LONGLONG); \
+ else \
+ fprintf (FILE, "%s", INT_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)
@@ -417,7 +420,10 @@ do { \
#define ASM_OUTPUT_DESTRUCTOR(FILE,NAME) \
do { \
dtors_section (); \
- fprintf (FILE, "\t%s\t ", TARGET_ARCH64 ? ASM_LONGLONG : INT_ASM_OP); \
+ if (TARGET_ARCH64) \
+ fprintf (FILE, "\t%s\t ", ASM_LONGLONG); \
+ else \
+ fprintf (FILE, "%s", INT_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)
diff --git a/gcc/config/sparc/litecoff.h b/gcc/config/sparc/litecoff.h
index f83c588..84290f3 100644
--- a/gcc/config/sparc/litecoff.h
+++ b/gcc/config/sparc/litecoff.h
@@ -93,7 +93,7 @@ dtors_section () \
#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \
do { \
ctors_section (); \
- fprintf (FILE, "\t%s\t ", INT_ASM_OP); \
+ fprintf (FILE, "%s", INT_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)
@@ -104,7 +104,7 @@ dtors_section () \
#define ASM_OUTPUT_DESTRUCTOR(FILE,NAME) \
do { \
dtors_section (); \
- fprintf (FILE, "\t%s\t ", INT_ASM_OP); \
+ fprintf (FILE, "%s", INT_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)
diff --git a/gcc/config/sparc/sol2-sld-64.h b/gcc/config/sparc/sol2-sld-64.h
index cc441d5..740789c 100644
--- a/gcc/config/sparc/sol2-sld-64.h
+++ b/gcc/config/sparc/sol2-sld-64.h
@@ -311,7 +311,10 @@
#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \
do { \
ctors_section (); \
- fprintf (FILE, "\t%s\t ", TARGET_ARCH64 ? ASM_LONGLONG : INT_ASM_OP); \
+ if (TARGET_ARCH64) \
+ fprintf (FILE, "\t%s\t ", ASM_LONGLONG); \
+ else \
+ fprintf (FILE, "%s", INT_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)
@@ -322,7 +325,10 @@
#define ASM_OUTPUT_DESTRUCTOR(FILE,NAME) \
do { \
dtors_section (); \
- fprintf (FILE, "\t%s\t ", TARGET_ARCH64 ? ASM_LONGLONG : INT_ASM_OP); \
+ if (TARGET_ARCH64) \
+ fprintf (FILE, "\t%s\t ", ASM_LONGLONG); \
+ else \
+ fprintf (FILE, "%s", INT_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)
diff --git a/gcc/config/sparc/sp64-elf.h b/gcc/config/sparc/sp64-elf.h
index 4d7f913..6d05254 100644
--- a/gcc/config/sparc/sp64-elf.h
+++ b/gcc/config/sparc/sp64-elf.h
@@ -135,14 +135,14 @@ crtbegin.o%s \
#define ASM_OUTPUT_DWARF_ADDR(FILE, LABEL) \
do { \
- fprintf ((FILE), "\t%s\t", UNALIGNED_LONGLONG_ASM_OP); \
+ fprintf ((FILE), "%s", UNALIGNED_LONGLONG_ASM_OP); \
assemble_name ((FILE), (LABEL)); \
fprintf ((FILE), "\n"); \
} while (0)
#define ASM_OUTPUT_DWARF_ADDR_CONST(FILE, RTX) \
do { \
- fprintf ((FILE), "\t%s\t", UNALIGNED_LONGLONG_ASM_OP); \
+ fprintf ((FILE), "%s", UNALIGNED_LONGLONG_ASM_OP); \
output_addr_const ((FILE), (RTX)); \
fputc ('\n', (FILE)); \
} while (0)
@@ -150,7 +150,7 @@ do { \
/* ??? Not sure if this should be 4 or 8 bytes. 4 works for now. */
#define ASM_OUTPUT_DWARF_REF(FILE, LABEL) \
do { \
- fprintf ((FILE), "\t%s\t", UNALIGNED_INT_ASM_OP); \
+ fprintf ((FILE), "%s", UNALIGNED_INT_ASM_OP); \
assemble_name ((FILE), (LABEL)); \
fprintf ((FILE), "\n"); \
} while (0)
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h
index cdab072..2004c60 100644
--- a/gcc/config/sparc/sparc.h
+++ b/gcc/config/sparc/sparc.h
@@ -3106,14 +3106,14 @@ do { \
fprintf (FILE, "\n"))
#define ASM_OUTPUT_CHAR(FILE,VALUE) \
-( fprintf (FILE, "\t%s\t", ASM_BYTE_OP), \
+( fprintf (FILE, "%s", ASM_BYTE_OP), \
output_addr_const (FILE, (VALUE)), \
fprintf (FILE, "\n"))
/* This is how to output an assembler line for a numeric constant byte. */
#define ASM_OUTPUT_BYTE(FILE,VALUE) \
- fprintf (FILE, "\t%s\t0x%x\n", ASM_BYTE_OP, (VALUE))
+ fprintf (FILE, "%s0x%x\n", ASM_BYTE_OP, (VALUE))
/* This is how we hook in and defer the case-vector until the end of
the function. */
@@ -3223,7 +3223,7 @@ do { \
/* Output #ident as a .ident. */
#define ASM_OUTPUT_IDENT(FILE, NAME) \
- fprintf (FILE, "\t%s\t\"%s\"\n", IDENT_ASM_OP, NAME);
+ fprintf (FILE, "%s\"%s\"\n", IDENT_ASM_OP, NAME);
/* Output code to add DELTA to the first argument, and then jump to FUNCTION.
Used for C++ multiple inheritance. */
diff --git a/gcc/config/sparc/sysv4.h b/gcc/config/sparc/sysv4.h
index 5c5fec8..618da77 100644
--- a/gcc/config/sparc/sysv4.h
+++ b/gcc/config/sparc/sysv4.h
@@ -113,7 +113,7 @@ Boston, MA 02111-1307, USA. */
/* This is the format used to print a .pushsection pseudo-op (and its operand)
for the Sparc/svr4 assembler. */
-#define PUSHSECTION_FORMAT "\t%s\t\"%s\"\n"
+#define PUSHSECTION_FORMAT "%s\"%s\"\n"
#undef ASM_OUTPUT_CASE_LABEL
#define ASM_OUTPUT_CASE_LABEL(FILE, PREFIX, NUM, JUMPTABLE) \
diff --git a/gcc/config/v850/v850.c b/gcc/config/v850/v850.c
index e4365e0..876b183 100644
--- a/gcc/config/v850/v850.c
+++ b/gcc/config/v850/v850.c
@@ -2597,26 +2597,26 @@ v850_output_common (file, decl, name, size, align)
{
if (decl == NULL_TREE)
{
- fprintf (file, "\t%s\t", COMMON_ASM_OP);
+ fprintf (file, "%s", COMMON_ASM_OP);
}
else
{
switch (v850_get_data_area (decl))
{
case DATA_AREA_ZDA:
- fprintf (file, "\t%s\t", ZCOMMON_ASM_OP);
+ fprintf (file, "%s", ZCOMMON_ASM_OP);
break;
case DATA_AREA_SDA:
- fprintf (file, "\t%s\t", SCOMMON_ASM_OP);
+ fprintf (file, "%s", SCOMMON_ASM_OP);
break;
case DATA_AREA_TDA:
- fprintf (file, "\t%s\t", TCOMMON_ASM_OP);
+ fprintf (file, "%s", TCOMMON_ASM_OP);
break;
default:
- fprintf (file, "\t%s\t", COMMON_ASM_OP);
+ fprintf (file, "%s", COMMON_ASM_OP);
break;
}
}
@@ -2634,7 +2634,7 @@ v850_output_local (file, decl, name, size, align)
int size;
int align;
{
- fprintf (file, "\t%s\t", LOCAL_ASM_OP);
+ fprintf (file, "%s", LOCAL_ASM_OP);
assemble_name (file, name);
fprintf (file, "\n");