From 0068dfb2c2ff1f6336a4569d28dff3d69f346084 Mon Sep 17 00:00:00 2001 From: hp Date: Mon, 25 Sep 2000 13:39:45 +0000 Subject: [PATCH] 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36621 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/pa/pa-64.h | 4 ++-- gcc/config/rs6000/netware.h | 8 ++++---- gcc/config/rs6000/sysv4.h | 10 +++++----- gcc/config/sparc/linux64.h | 10 ++++++++-- gcc/config/sparc/litecoff.h | 4 ++-- gcc/config/sparc/sol2-sld-64.h | 10 ++++++++-- gcc/config/sparc/sp64-elf.h | 6 +++--- gcc/config/sparc/sparc.h | 6 +++--- gcc/config/sparc/sysv4.h | 2 +- gcc/config/v850/v850.c | 12 ++++++------ 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"); -- 2.7.4