From: Hans-Peter Nilsson Date: Mon, 25 Sep 2000 11:23:45 +0000 (+0000) Subject: Callers gcc-toplev: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8638df010321ac9fb84265de46250b36454d217;p=gcc.git Callers gcc-toplev: Changes add TABs on either or both sides, covering start of line, up to any operand for all .*ASM.*_OP definitions. From-SVN: r36614 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d7ba24a651c..2347375d118 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -2,7 +2,7 @@ Changes below marked "here" add TABs on either or both sides, covering start of line, up to any operand for all noted .*ASM.*_OP - definitions. + definitions. All callers changed. * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain why these defaults don't have leading spacing. * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here. diff --git a/gcc/dbxout.c b/gcc/dbxout.c index d4df8d039d3..7bf888990b6 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -348,7 +348,7 @@ dbxout_function_end () /* By convention, GCC will mark the end of a function with an N_FUN symbol and an empty string. */ - fprintf (asmfile, "%s \"\",%d,0,0,", ASM_STABS_OP, N_FUN); + fprintf (asmfile, "%s\"\",%d,0,0,", ASM_STABS_OP, N_FUN); assemble_name (asmfile, lscope_label_name); fputc ('-', asmfile); assemble_name (asmfile, XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0)); @@ -394,7 +394,7 @@ dbxout_init (asm_file, input_file_name, syms) #ifdef DBX_OUTPUT_MAIN_SOURCE_DIRECTORY DBX_OUTPUT_MAIN_SOURCE_DIRECTORY (asmfile, cwd); #else /* no DBX_OUTPUT_MAIN_SOURCE_DIRECTORY */ - fprintf (asmfile, "%s ", ASM_STABS_OP); + fprintf (asmfile, "%s", ASM_STABS_OP); output_quoted_string (asmfile, cwd); fprintf (asmfile, ",%d,0,0,%s\n", N_SO, <ext_label_name[1]); #endif /* no DBX_OUTPUT_MAIN_SOURCE_DIRECTORY */ @@ -409,7 +409,7 @@ dbxout_init (asm_file, input_file_name, syms) /* We include outputting `Ltext:' here, because that gives you a way to override it. */ /* Used to put `Ltext:' before the reference, but that loses on sun 4. */ - fprintf (asmfile, "%s ", ASM_STABS_OP); + fprintf (asmfile, "%s", ASM_STABS_OP); output_quoted_string (asmfile, input_file_name); fprintf (asmfile, ",%d,0,0,%s\n", N_SO, <ext_label_name[1]); @@ -493,7 +493,7 @@ dbxout_start_new_source_file (filename) n->file_number = next_file_number++; n->next_type_number = 1; current_file = n; - fprintf (asmfile, "%s ", ASM_STABS_OP); + fprintf (asmfile, "%s", ASM_STABS_OP); output_quoted_string (asmfile, filename); fprintf (asmfile, ",%d,0,0,0\n", N_BINCL); #endif @@ -507,7 +507,7 @@ dbxout_resume_previous_source_file () #ifdef DBX_USE_BINCL struct dbx_file *next; - fprintf (asmfile, "%s %d,0,0,0\n", ASM_STABN_OP, N_EINCL); + fprintf (asmfile, "%s%d,0,0,0\n", ASM_STABN_OP, N_EINCL); next = current_file->next; free (current_file); current_file = next; @@ -530,7 +530,7 @@ dbxout_source_file (file, filename) #else ASM_GENERATE_INTERNAL_LABEL (ltext_label_name, "Ltext", source_label_number); - fprintf (file, "%s ", ASM_STABS_OP); + fprintf (file, "%s", ASM_STABS_OP); output_quoted_string (file, filename); fprintf (file, ",%d,0,0,%s\n", N_SOL, <ext_label_name[1]); if (current_function_decl != NULL_TREE @@ -559,7 +559,7 @@ dbxout_source_line (file, filename, lineno) #ifdef ASM_OUTPUT_SOURCE_LINE ASM_OUTPUT_SOURCE_LINE (file, lineno); #else - fprintf (file, "\t%s %d,0,%d\n", ASM_STABD_OP, N_SLINE, lineno); + fprintf (file, "\t%s%d,0,%d\n", ASM_STABD_OP, N_SLINE, lineno); #endif } @@ -609,7 +609,7 @@ dbxout_continue () fprintf (asmfile, "\\\\"); #endif dbxout_finish_symbol (NULL_TREE); - fprintf (asmfile, "%s \"", ASM_STABS_OP); + fprintf (asmfile, "%s\"", ASM_STABS_OP); current_sym_nchars = 0; } #endif /* DBX_CONTIN_LENGTH > 0 */ @@ -1754,7 +1754,7 @@ dbxout_symbol (decl, local) break; FORCE_TEXT; - fprintf (asmfile, "%s \"%s:%c", ASM_STABS_OP, + fprintf (asmfile, "%s\"%s:%c", ASM_STABS_OP, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)), TREE_PUBLIC (decl) ? 'F' : 'f'); result = 1; @@ -1830,14 +1830,14 @@ dbxout_symbol (decl, local) current_sym_addr = 0; current_sym_nchars = 2 + IDENTIFIER_LENGTH (name); - fprintf (asmfile, "%s \"%s:T", ASM_STABS_OP, + fprintf (asmfile, "%s\"%s:T", ASM_STABS_OP, IDENTIFIER_POINTER (name)); dbxout_type (type, 1, 0); dbxout_finish_symbol (NULL_TREE); } /* Output typedef name. */ - fprintf (asmfile, "%s \"%s:", ASM_STABS_OP, + fprintf (asmfile, "%s\"%s:", ASM_STABS_OP, IDENTIFIER_POINTER (DECL_NAME (decl))); /* Short cut way to output a tag also. */ @@ -1891,7 +1891,7 @@ dbxout_symbol (decl, local) current_sym_addr = 0; current_sym_nchars = 2 + IDENTIFIER_LENGTH (name); - fprintf (asmfile, "%s \"%s:T", ASM_STABS_OP, + fprintf (asmfile, "%s\"%s:T", ASM_STABS_OP, IDENTIFIER_POINTER (name)); dbxout_type (type, 1, 0); dbxout_finish_symbol (NULL_TREE); @@ -1910,7 +1910,7 @@ dbxout_symbol (decl, local) /* Some debuggers fail when given NULL names, so give this a harmless name of ` '. */ - fprintf (asmfile, "%s \" :T", ASM_STABS_OP); + fprintf (asmfile, "%s\" :T", ASM_STABS_OP); dbxout_type (type, 1, 0); dbxout_finish_symbol (NULL_TREE); } @@ -1956,7 +1956,7 @@ dbxout_symbol (decl, local) #ifdef DBX_OUTPUT_CONSTANT_SYMBOL DBX_OUTPUT_CONSTANT_SYMBOL (asmfile, name, ival); #else - fprintf (asmfile, "%s \"%s:c=i", ASM_STABS_OP, name); + fprintf (asmfile, "%s\"%s:c=i", ASM_STABS_OP, name); fprintf (asmfile, HOST_WIDE_INT_PRINT_DEC, ival); fprintf (asmfile, "\",0x%x,0,0,0\n", N_LSYM); @@ -2230,7 +2230,7 @@ dbxout_symbol_name (decl, suffix, letter) if (name == 0) name = "(anon)"; - fprintf (asmfile, "%s \"%s%s:", ASM_STABS_OP, name, + fprintf (asmfile, "%s\"%s%s:", ASM_STABS_OP, name, (suffix ? suffix : "")); if (letter) putc (letter, asmfile); @@ -2339,14 +2339,14 @@ dbxout_parms (parms) { current_sym_nchars = 2 + IDENTIFIER_LENGTH (DECL_NAME (parms)); - fprintf (asmfile, "%s \"%s:%c", ASM_STABS_OP, + fprintf (asmfile, "%s\"%s:%c", ASM_STABS_OP, IDENTIFIER_POINTER (DECL_NAME (parms)), DBX_MEMPARM_STABS_LETTER); } else { current_sym_nchars = 8; - fprintf (asmfile, "%s \"(anon):%c", ASM_STABS_OP, + fprintf (asmfile, "%s\"(anon):%c", ASM_STABS_OP, DBX_MEMPARM_STABS_LETTER); } @@ -2404,14 +2404,14 @@ dbxout_parms (parms) if (DECL_NAME (parms)) { current_sym_nchars = 2 + IDENTIFIER_LENGTH (DECL_NAME (parms)); - fprintf (asmfile, "%s \"%s:%c", ASM_STABS_OP, + fprintf (asmfile, "%s\"%s:%c", ASM_STABS_OP, IDENTIFIER_POINTER (DECL_NAME (parms)), regparm_letter); } else { current_sym_nchars = 8; - fprintf (asmfile, "%s \"(anon):%c", ASM_STABS_OP, + fprintf (asmfile, "%s\"(anon):%c", ASM_STABS_OP, regparm_letter); } @@ -2457,14 +2457,14 @@ dbxout_parms (parms) { current_sym_nchars = 2 + strlen (IDENTIFIER_POINTER (DECL_NAME (parms))); - fprintf (asmfile, "%s \"%s:%c", ASM_STABS_OP, + fprintf (asmfile, "%s\"%s:%c", ASM_STABS_OP, IDENTIFIER_POINTER (DECL_NAME (parms)), regparm_letter); } else { current_sym_nchars = 8; - fprintf (asmfile, "%s \"(anon):%c", ASM_STABS_OP, + fprintf (asmfile, "%s\"(anon):%c", ASM_STABS_OP, regparm_letter); } @@ -2518,14 +2518,14 @@ dbxout_parms (parms) current_sym_nchars = 2 + strlen (IDENTIFIER_POINTER (DECL_NAME (parms))); - fprintf (asmfile, "%s \"%s:%c", ASM_STABS_OP, + fprintf (asmfile, "%s\"%s:%c", ASM_STABS_OP, IDENTIFIER_POINTER (DECL_NAME (parms)), DBX_MEMPARM_STABS_LETTER); } else { current_sym_nchars = 8; - fprintf (asmfile, "%s \"(anon):%c", ASM_STABS_OP, + fprintf (asmfile, "%s\"(anon):%c", ASM_STABS_OP, DBX_MEMPARM_STABS_LETTER); } @@ -2538,7 +2538,7 @@ dbxout_parms (parms) { /* Generate an entry for the stack location */ - fprintf (asmfile, "%s \"%s:", ASM_STABS_OP, + fprintf (asmfile, "%s\"%s:", ASM_STABS_OP, IDENTIFIER_POINTER (DECL_NAME (parms))); current_sym_value = aux_sym_value; current_sym_code = N_LSYM; @@ -2688,7 +2688,7 @@ dbxout_block (block, depth, args) #ifdef DBX_OUTPUT_CATCH DBX_OUTPUT_CATCH (asmfile, decl, buf); #else - fprintf (asmfile, "%s \"%s:C1\",%d,0,0,", ASM_STABS_OP, + fprintf (asmfile, "%s\"%s:C1\",%d,0,0,", ASM_STABS_OP, IDENTIFIER_POINTER (DECL_NAME (decl)), N_CATCH); assemble_name (asmfile, buf); fprintf (asmfile, "\n"); @@ -2700,7 +2700,7 @@ dbxout_block (block, depth, args) #ifdef DBX_OUTPUT_LBRAC DBX_OUTPUT_LBRAC (asmfile, buf); #else - fprintf (asmfile, "%s %d,0,0,", ASM_STABN_OP, N_LBRAC); + fprintf (asmfile, "%s%d,0,0,", ASM_STABN_OP, N_LBRAC); assemble_name (asmfile, buf); #if DBX_BLOCKS_FUNCTION_RELATIVE fputc ('-', asmfile); @@ -2730,7 +2730,7 @@ dbxout_block (block, depth, args) #ifdef DBX_OUTPUT_RBRAC DBX_OUTPUT_RBRAC (asmfile, buf); #else - fprintf (asmfile, "%s %d,0,0,", ASM_STABN_OP, N_RBRAC); + fprintf (asmfile, "%s%d,0,0,", ASM_STABN_OP, N_RBRAC); assemble_name (asmfile, buf); #if DBX_BLOCKS_FUNCTION_RELATIVE fputc ('-', asmfile); diff --git a/gcc/defaults.h b/gcc/defaults.h index f75d21d78d4..d5e88845115 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -118,7 +118,7 @@ do { ASM_OUTPUT_LABEL(FILE,LABEL_ALTERNATE_NAME (INSN)); } while (0) #ifdef SET_ASM_OP #ifndef ASM_OUTPUT_DEF #define ASM_OUTPUT_DEF(FILE,LABEL1,LABEL2) \ - do { fprintf ((FILE), "\t%s\t", SET_ASM_OP); \ + do { fprintf ((FILE), "%s", SET_ASM_OP); \ assemble_name (FILE, LABEL1); \ fprintf (FILE, ","); \ assemble_name (FILE, LABEL2); \ diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index d69d2d0c7a7..bc1964ae077 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -273,7 +273,7 @@ static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *)); #ifdef PUSHSECTION_FORMAT #define SECTION_FORMAT PUSHSECTION_FORMAT #else -#define SECTION_FORMAT "\t%s\t%s\n" +#define SECTION_FORMAT "%s%s\n" #endif #endif @@ -306,12 +306,12 @@ static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *)); #ifndef ASM_OUTPUT_DWARF_DATA1 #define ASM_OUTPUT_DWARF_DATA1(FILE,VALUE) \ - fprintf ((FILE), "\t%s\t0x%x", ASM_BYTE_OP, (unsigned) (VALUE)) + fprintf ((FILE), "%s0x%x", ASM_BYTE_OP, (unsigned) (VALUE)) #endif #ifndef ASM_OUTPUT_DWARF_DELTA1 #define ASM_OUTPUT_DWARF_DELTA1(FILE,LABEL1,LABEL2) \ - do { fprintf ((FILE), "\t%s\t", ASM_BYTE_OP); \ + do { fprintf ((FILE), "%s", ASM_BYTE_OP); \ assemble_name (FILE, LABEL1); \ fprintf (FILE, "-"); \ assemble_name (FILE, LABEL2); \ @@ -334,7 +334,7 @@ static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *)); #ifndef ASM_OUTPUT_DWARF_DELTA2 #define ASM_OUTPUT_DWARF_DELTA2(FILE,LABEL1,LABEL2) \ - do { fprintf ((FILE), "\t%s\t", UNALIGNED_SHORT_ASM_OP); \ + do { fprintf ((FILE), "%s", UNALIGNED_SHORT_ASM_OP); \ assemble_name (FILE, LABEL1); \ fprintf (FILE, "-"); \ assemble_name (FILE, LABEL2); \ @@ -343,7 +343,7 @@ static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *)); #ifndef ASM_OUTPUT_DWARF_DELTA4 #define ASM_OUTPUT_DWARF_DELTA4(FILE,LABEL1,LABEL2) \ - do { fprintf ((FILE), "\t%s\t", UNALIGNED_INT_ASM_OP); \ + do { fprintf ((FILE), "%s", UNALIGNED_INT_ASM_OP); \ assemble_name (FILE, LABEL1); \ fprintf (FILE, "-"); \ assemble_name (FILE, LABEL2); \ @@ -352,7 +352,7 @@ static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *)); #ifndef ASM_OUTPUT_DWARF_DELTA #define ASM_OUTPUT_DWARF_DELTA(FILE,LABEL1,LABEL2) \ - do { fprintf ((FILE), "\t%s\t", UNALIGNED_OFFSET_ASM_OP); \ + do { fprintf ((FILE), "%s", UNALIGNED_OFFSET_ASM_OP); \ assemble_name (FILE, LABEL1); \ fprintf (FILE, "-"); \ assemble_name (FILE, LABEL2); \ @@ -361,7 +361,7 @@ static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *)); #ifndef ASM_OUTPUT_DWARF_ADDR_DELTA #define ASM_OUTPUT_DWARF_ADDR_DELTA(FILE,LABEL1,LABEL2) \ - do { fprintf ((FILE), "\t%s\t", UNALIGNED_WORD_ASM_OP); \ + do { fprintf ((FILE), "%s", UNALIGNED_WORD_ASM_OP); \ assemble_name (FILE, LABEL1); \ fprintf (FILE, "-"); \ assemble_name (FILE, LABEL2); \ @@ -370,7 +370,7 @@ static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *)); #ifndef ASM_OUTPUT_DWARF_ADDR #define ASM_OUTPUT_DWARF_ADDR(FILE,LABEL) \ - do { fprintf ((FILE), "\t%s\t", UNALIGNED_WORD_ASM_OP); \ + do { fprintf ((FILE), "%s", UNALIGNED_WORD_ASM_OP); \ assemble_name (FILE, LABEL); \ } while (0) #endif @@ -378,50 +378,50 @@ static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *)); #ifndef ASM_OUTPUT_DWARF_ADDR_CONST #define ASM_OUTPUT_DWARF_ADDR_CONST(FILE,RTX) \ do { \ - fprintf ((FILE), "\t%s\t", UNALIGNED_WORD_ASM_OP); \ + fprintf ((FILE), "%s", UNALIGNED_WORD_ASM_OP); \ output_addr_const ((FILE), (RTX)); \ } while (0) #endif #ifndef ASM_OUTPUT_DWARF_OFFSET4 #define ASM_OUTPUT_DWARF_OFFSET4(FILE,LABEL) \ - do { fprintf ((FILE), "\t%s\t", UNALIGNED_INT_ASM_OP); \ + do { fprintf ((FILE), "%s", UNALIGNED_INT_ASM_OP); \ assemble_name (FILE, LABEL); \ } while (0) #endif #ifndef ASM_OUTPUT_DWARF_OFFSET #define ASM_OUTPUT_DWARF_OFFSET(FILE,LABEL) \ - do { fprintf ((FILE), "\t%s\t", UNALIGNED_OFFSET_ASM_OP); \ + do { fprintf ((FILE), "%s", UNALIGNED_OFFSET_ASM_OP); \ assemble_name (FILE, LABEL); \ } while (0) #endif #ifndef ASM_OUTPUT_DWARF_DATA2 #define ASM_OUTPUT_DWARF_DATA2(FILE,VALUE) \ - fprintf ((FILE), "\t%s\t0x%x", UNALIGNED_SHORT_ASM_OP, (unsigned) (VALUE)) + fprintf ((FILE), "%s0x%x", UNALIGNED_SHORT_ASM_OP, (unsigned) (VALUE)) #endif #ifndef ASM_OUTPUT_DWARF_DATA4 #define ASM_OUTPUT_DWARF_DATA4(FILE,VALUE) \ - fprintf ((FILE), "\t%s\t0x%x", UNALIGNED_INT_ASM_OP, (unsigned) (VALUE)) + fprintf ((FILE), "%s0x%x", UNALIGNED_INT_ASM_OP, (unsigned) (VALUE)) #endif #ifndef ASM_OUTPUT_DWARF_DATA8 #define ASM_OUTPUT_DWARF_DATA8(FILE,VALUE) \ - fprintf ((FILE), "\t%s\t0x%lx", UNALIGNED_DOUBLE_INT_ASM_OP, \ + fprintf ((FILE), "%s0x%lx", UNALIGNED_DOUBLE_INT_ASM_OP, \ (unsigned long) (VALUE)) #endif #ifndef ASM_OUTPUT_DWARF_DATA #define ASM_OUTPUT_DWARF_DATA(FILE,VALUE) \ - fprintf ((FILE), "\t%s\t0x%lx", UNALIGNED_OFFSET_ASM_OP, \ + fprintf ((FILE), "%s0x%lx", UNALIGNED_OFFSET_ASM_OP, \ (unsigned long) (VALUE)) #endif #ifndef ASM_OUTPUT_DWARF_ADDR_DATA #define ASM_OUTPUT_DWARF_ADDR_DATA(FILE,VALUE) \ - fprintf ((FILE), "\t%s\t0x%lx", UNALIGNED_WORD_ASM_OP, \ + fprintf ((FILE), "%s0x%lx", UNALIGNED_WORD_ASM_OP, \ (unsigned long) (VALUE)) #endif @@ -430,13 +430,13 @@ static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *)); do { \ if (WORDS_BIG_ENDIAN) \ { \ - fprintf ((FILE), "\t%s\t0x%lx\n", UNALIGNED_INT_ASM_OP, (HIGH_VALUE));\ - fprintf ((FILE), "\t%s\t0x%lx", UNALIGNED_INT_ASM_OP, (LOW_VALUE));\ + fprintf ((FILE), "%s0x%lx\n", UNALIGNED_INT_ASM_OP, (HIGH_VALUE));\ + fprintf ((FILE), "%s0x%lx", UNALIGNED_INT_ASM_OP, (LOW_VALUE));\ } \ else \ { \ - fprintf ((FILE), "\t%s\t0x%lx\n", UNALIGNED_INT_ASM_OP, (LOW_VALUE)); \ - fprintf ((FILE), "\t%s\t0x%lx", UNALIGNED_INT_ASM_OP, (HIGH_VALUE)); \ + fprintf ((FILE), "%s0x%lx\n", UNALIGNED_INT_ASM_OP, (LOW_VALUE)); \ + fprintf ((FILE), "%s0x%lx", UNALIGNED_INT_ASM_OP, (HIGH_VALUE)); \ } \ } while (0) #endif @@ -514,7 +514,7 @@ static void def_cfa_1 PARAMS ((const char *, dw_cfa_location *)); #ifndef ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL #define ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL(FILE, SY, HI, LO) \ do { \ - fprintf (FILE, "\t%s\t", SET_ASM_OP); \ + fprintf (FILE, "%s", SET_ASM_OP); \ assemble_name (FILE, SY); \ fputc (',', FILE); \ assemble_name (FILE, HI); \ @@ -1563,7 +1563,7 @@ output_uleb128 (value) { unsigned long save_value = value; - fprintf (asm_out_file, "\t%s\t", ASM_BYTE_OP); + fprintf (asm_out_file, "%s", ASM_BYTE_OP); do { register unsigned byte = (value & 0x7f); @@ -1592,7 +1592,7 @@ output_sleb128 (value) register unsigned byte; long save_value = value; - fprintf (asm_out_file, "\t%s\t", ASM_BYTE_OP); + fprintf (asm_out_file, "%s", ASM_BYTE_OP); do { byte = (value & 0x7f); @@ -5789,7 +5789,7 @@ output_abbrev_section () dwarf_tag_name (abbrev->die_tag)); fputc ('\n', asm_out_file); - fprintf (asm_out_file, "\t%s\t0x%x", ASM_BYTE_OP, + fprintf (asm_out_file, "%s0x%x", ASM_BYTE_OP, abbrev->die_child != NULL ? DW_children_yes : DW_children_no); if (flag_debug_asm) @@ -5812,11 +5812,11 @@ output_abbrev_section () output_value_format (a_attr); } - fprintf (asm_out_file, "\t%s\t0,0\n", ASM_BYTE_OP); + fprintf (asm_out_file, "%s0,0\n", ASM_BYTE_OP); } /* Terminate the table. */ - fprintf (asm_out_file, "\t%s\t0\n", ASM_BYTE_OP); + fprintf (asm_out_file, "%s0\n", ASM_BYTE_OP); } /* Output a symbol we can use to refer to this DIE from another CU. */ @@ -6403,19 +6403,19 @@ output_line_info () ASM_COMMENT_START); fputc ('\n', asm_out_file); - fprintf (asm_out_file, "\t%s\t%d", ASM_BYTE_OP, DWARF_LINE_BASE); + fprintf (asm_out_file, "%s%d", ASM_BYTE_OP, DWARF_LINE_BASE); if (flag_debug_asm) fprintf (asm_out_file, "\t%s Line Base Value (Special Opcodes)", ASM_COMMENT_START); fputc ('\n', asm_out_file); - fprintf (asm_out_file, "\t%s\t%u", ASM_BYTE_OP, DWARF_LINE_RANGE); + fprintf (asm_out_file, "%s%u", ASM_BYTE_OP, DWARF_LINE_RANGE); if (flag_debug_asm) fprintf (asm_out_file, "\t%s Line Range Value (Special Opcodes)", ASM_COMMENT_START); fputc ('\n', asm_out_file); - fprintf (asm_out_file, "\t%s\t%u", ASM_BYTE_OP, DWARF_LINE_OPCODE_BASE); + fprintf (asm_out_file, "%s%u", ASM_BYTE_OP, DWARF_LINE_OPCODE_BASE); if (flag_debug_asm) fprintf (asm_out_file, "\t%s Special Opcode Base", ASM_COMMENT_START); diff --git a/gcc/dwarfout.c b/gcc/dwarfout.c index 0e14e8aea37..98e90c9e0a6 100644 --- a/gcc/dwarfout.c +++ b/gcc/dwarfout.c @@ -426,7 +426,7 @@ static void retry_incomplete_types PARAMS ((void)); section name must be enclosed in double quotes. (See sparcv4.h.) */ #ifndef PUSHSECTION_FORMAT -#define PUSHSECTION_FORMAT "\t%s\t%s\n" +#define PUSHSECTION_FORMAT "%s%s\n" #endif #ifndef DEBUG_SECTION @@ -650,12 +650,12 @@ static void retry_incomplete_types PARAMS ((void)); #ifndef ASM_OUTPUT_POP_SECTION #define ASM_OUTPUT_POP_SECTION(FILE) \ - fprintf ((FILE), "\t%s\n", POPSECTION_ASM_OP) + fprintf ((FILE), "%s\n", POPSECTION_ASM_OP) #endif #ifndef ASM_OUTPUT_DWARF_DELTA2 #define ASM_OUTPUT_DWARF_DELTA2(FILE,LABEL1,LABEL2) \ - do { fprintf ((FILE), "\t%s\t", UNALIGNED_SHORT_ASM_OP); \ + do { fprintf ((FILE), "%s", UNALIGNED_SHORT_ASM_OP); \ assemble_name (FILE, LABEL1); \ fprintf (FILE, "-"); \ assemble_name (FILE, LABEL2); \ @@ -665,7 +665,7 @@ static void retry_incomplete_types PARAMS ((void)); #ifndef ASM_OUTPUT_DWARF_DELTA4 #define ASM_OUTPUT_DWARF_DELTA4(FILE,LABEL1,LABEL2) \ - do { fprintf ((FILE), "\t%s\t", UNALIGNED_INT_ASM_OP); \ + do { fprintf ((FILE), "%s", UNALIGNED_INT_ASM_OP); \ assemble_name (FILE, LABEL1); \ fprintf (FILE, "-"); \ assemble_name (FILE, LABEL2); \ @@ -676,7 +676,7 @@ static void retry_incomplete_types PARAMS ((void)); #ifndef ASM_OUTPUT_DWARF_TAG #define ASM_OUTPUT_DWARF_TAG(FILE,TAG) \ do { \ - fprintf ((FILE), "\t%s\t0x%x", \ + fprintf ((FILE), "%s0x%x", \ UNALIGNED_SHORT_ASM_OP, (unsigned) TAG); \ if (flag_debug_asm) \ fprintf ((FILE), "\t%s %s", \ @@ -688,7 +688,7 @@ static void retry_incomplete_types PARAMS ((void)); #ifndef ASM_OUTPUT_DWARF_ATTRIBUTE #define ASM_OUTPUT_DWARF_ATTRIBUTE(FILE,ATTR) \ do { \ - fprintf ((FILE), "\t%s\t0x%x", \ + fprintf ((FILE), "%s0x%x", \ UNALIGNED_SHORT_ASM_OP, (unsigned) ATTR); \ if (flag_debug_asm) \ fprintf ((FILE), "\t%s %s", \ @@ -700,7 +700,7 @@ static void retry_incomplete_types PARAMS ((void)); #ifndef ASM_OUTPUT_DWARF_STACK_OP #define ASM_OUTPUT_DWARF_STACK_OP(FILE,OP) \ do { \ - fprintf ((FILE), "\t%s\t0x%x", ASM_BYTE_OP, (unsigned) OP); \ + fprintf ((FILE), "%s0x%x", ASM_BYTE_OP, (unsigned) OP); \ if (flag_debug_asm) \ fprintf ((FILE), "\t%s %s", \ ASM_COMMENT_START, dwarf_stack_op_name (OP)); \ @@ -711,7 +711,7 @@ static void retry_incomplete_types PARAMS ((void)); #ifndef ASM_OUTPUT_DWARF_FUND_TYPE #define ASM_OUTPUT_DWARF_FUND_TYPE(FILE,FT) \ do { \ - fprintf ((FILE), "\t%s\t0x%x", \ + fprintf ((FILE), "%s0x%x", \ UNALIGNED_SHORT_ASM_OP, (unsigned) FT); \ if (flag_debug_asm) \ fprintf ((FILE), "\t%s %s", \ @@ -723,7 +723,7 @@ static void retry_incomplete_types PARAMS ((void)); #ifndef ASM_OUTPUT_DWARF_FMT_BYTE #define ASM_OUTPUT_DWARF_FMT_BYTE(FILE,FMT) \ do { \ - fprintf ((FILE), "\t%s\t0x%x", ASM_BYTE_OP, (unsigned) FMT); \ + fprintf ((FILE), "%s0x%x", ASM_BYTE_OP, (unsigned) FMT); \ if (flag_debug_asm) \ fprintf ((FILE), "\t%s %s", \ ASM_COMMENT_START, dwarf_fmt_byte_name (FMT)); \ @@ -734,7 +734,7 @@ static void retry_incomplete_types PARAMS ((void)); #ifndef ASM_OUTPUT_DWARF_TYPE_MODIFIER #define ASM_OUTPUT_DWARF_TYPE_MODIFIER(FILE,MOD) \ do { \ - fprintf ((FILE), "\t%s\t0x%x", ASM_BYTE_OP, (unsigned) MOD); \ + fprintf ((FILE), "%s0x%x", ASM_BYTE_OP, (unsigned) MOD); \ if (flag_debug_asm) \ fprintf ((FILE), "\t%s %s", \ ASM_COMMENT_START, dwarf_typemod_name (MOD)); \ @@ -744,7 +744,7 @@ static void retry_incomplete_types PARAMS ((void)); #ifndef ASM_OUTPUT_DWARF_ADDR #define ASM_OUTPUT_DWARF_ADDR(FILE,LABEL) \ - do { fprintf ((FILE), "\t%s\t", UNALIGNED_INT_ASM_OP); \ + do { fprintf ((FILE), "%s", UNALIGNED_INT_ASM_OP); \ assemble_name (FILE, LABEL); \ fprintf (FILE, "\n"); \ } while (0) @@ -753,7 +753,7 @@ static void retry_incomplete_types PARAMS ((void)); #ifndef ASM_OUTPUT_DWARF_ADDR_CONST #define ASM_OUTPUT_DWARF_ADDR_CONST(FILE,RTX) \ do { \ - fprintf ((FILE), "\t%s\t", UNALIGNED_INT_ASM_OP); \ + fprintf ((FILE), "%s", UNALIGNED_INT_ASM_OP); \ output_addr_const ((FILE), (RTX)); \ fputc ('\n', (FILE)); \ } while (0) @@ -761,7 +761,7 @@ static void retry_incomplete_types PARAMS ((void)); #ifndef ASM_OUTPUT_DWARF_REF #define ASM_OUTPUT_DWARF_REF(FILE,LABEL) \ - do { fprintf ((FILE), "\t%s\t", UNALIGNED_INT_ASM_OP); \ + do { fprintf ((FILE), "%s", UNALIGNED_INT_ASM_OP); \ assemble_name (FILE, LABEL); \ fprintf (FILE, "\n"); \ } while (0) @@ -769,17 +769,17 @@ static void retry_incomplete_types PARAMS ((void)); #ifndef ASM_OUTPUT_DWARF_DATA1 #define ASM_OUTPUT_DWARF_DATA1(FILE,VALUE) \ - fprintf ((FILE), "\t%s\t0x%x\n", ASM_BYTE_OP, VALUE) + fprintf ((FILE), "%s0x%x\n", ASM_BYTE_OP, VALUE) #endif #ifndef ASM_OUTPUT_DWARF_DATA2 #define ASM_OUTPUT_DWARF_DATA2(FILE,VALUE) \ - fprintf ((FILE), "\t%s\t0x%x\n", UNALIGNED_SHORT_ASM_OP, (unsigned) VALUE) + fprintf ((FILE), "%s0x%x\n", UNALIGNED_SHORT_ASM_OP, (unsigned) VALUE) #endif #ifndef ASM_OUTPUT_DWARF_DATA4 #define ASM_OUTPUT_DWARF_DATA4(FILE,VALUE) \ - fprintf ((FILE), "\t%s\t0x%x\n", UNALIGNED_INT_ASM_OP, (unsigned) VALUE) + fprintf ((FILE), "%s0x%x\n", UNALIGNED_INT_ASM_OP, (unsigned) VALUE) #endif #ifndef ASM_OUTPUT_DWARF_DATA8 @@ -787,13 +787,13 @@ static void retry_incomplete_types PARAMS ((void)); do { \ if (WORDS_BIG_ENDIAN) \ { \ - fprintf ((FILE), "\t%s\t0x%x\n", UNALIGNED_INT_ASM_OP, HIGH_VALUE); \ - fprintf ((FILE), "\t%s\t0x%x\n", UNALIGNED_INT_ASM_OP, LOW_VALUE);\ + fprintf ((FILE), "%s0x%x\n", UNALIGNED_INT_ASM_OP, HIGH_VALUE); \ + fprintf ((FILE), "%s0x%x\n", UNALIGNED_INT_ASM_OP, LOW_VALUE); \ } \ else \ { \ - fprintf ((FILE), "\t%s\t0x%x\n", UNALIGNED_INT_ASM_OP, LOW_VALUE);\ - fprintf ((FILE), "\t%s\t0x%x\n", UNALIGNED_INT_ASM_OP, HIGH_VALUE); \ + fprintf ((FILE), "%s0x%x\n", UNALIGNED_INT_ASM_OP, LOW_VALUE); \ + fprintf ((FILE), "%s0x%x\n", UNALIGNED_INT_ASM_OP, HIGH_VALUE); \ } \ } while (0) #endif @@ -1180,7 +1180,7 @@ output_unsigned_leb128 (value) value >>= 7; if (value != 0) /* more bytes to follow */ byte |= 0x80; - fprintf (asm_out_file, "\t%s\t0x%x", ASM_BYTE_OP, (unsigned) byte); + fprintf (asm_out_file, "%s0x%x", ASM_BYTE_OP, (unsigned) byte); if (flag_debug_asm && value == 0) fprintf (asm_out_file, "\t%s ULEB128 number - value = %lu", ASM_COMMENT_START, orig_value); @@ -1212,7 +1212,7 @@ output_signed_leb128 (value) byte |= 0x80; more = 1; } - fprintf (asm_out_file, "\t%s\t0x%x", ASM_BYTE_OP, (unsigned) byte); + fprintf (asm_out_file, "%s0x%x", ASM_BYTE_OP, (unsigned) byte); if (flag_debug_asm && more == 0) fprintf (asm_out_file, "\t%s SLEB128 number - value = %ld", ASM_COMMENT_START, orig_value); @@ -1591,7 +1591,7 @@ output_reg_number (rtl) regno); regno = 0; } - fprintf (asm_out_file, "\t%s\t0x%x", + fprintf (asm_out_file, "%s0x%x", UNALIGNED_INT_ASM_OP, DBX_REGISTER_NUMBER (regno)); if (flag_debug_asm) { @@ -5541,7 +5541,7 @@ dwarfout_line (filename, line) filename = tail; } - fprintf (asm_out_file, "\t%s\t%u\t%s %s:%u\n", + fprintf (asm_out_file, "%s%u\t%s %s:%u\n", UNALIGNED_INT_ASM_OP, line, ASM_COMMENT_START, filename, line); ASM_OUTPUT_DWARF_DATA2 (asm_out_file, 0xffff); @@ -5566,7 +5566,7 @@ generate_macinfo_entry (type_and_offset, string) fputc ('\n', asm_out_file); ASM_OUTPUT_PUSH_SECTION (asm_out_file, MACINFO_SECTION); - fprintf (asm_out_file, "\t%s\t%s\n", UNALIGNED_INT_ASM_OP, type_and_offset); + fprintf (asm_out_file, "%s%s\n", UNALIGNED_INT_ASM_OP, type_and_offset); ASM_OUTPUT_DWARF_STRING_NEWLINE (asm_out_file, string); ASM_OUTPUT_POP_SECTION (asm_out_file); } diff --git a/gcc/varasm.c b/gcc/varasm.c index fe5532b2e01..1fdce5f9df6 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -922,7 +922,7 @@ assemble_destructor (name) { /* Now tell GNU LD that this is part of the static destructor set. */ /* This code works for any machine provided you use GNU as/ld. */ - fprintf (asm_out_file, "%s \"___DTOR_LIST__\",22,0,0,", ASM_STABS_OP); + fprintf (asm_out_file, "%s\"___DTOR_LIST__\",22,0,0,", ASM_STABS_OP); assemble_name (asm_out_file, name); fputc ('\n', asm_out_file); } @@ -942,7 +942,7 @@ assemble_constructor (name) { /* Now tell GNU LD that this is part of the static constructor set. */ /* This code works for any machine provided you use GNU as/ld. */ - fprintf (asm_out_file, "%s \"___CTOR_LIST__\",22,0,0,", ASM_STABS_OP); + fprintf (asm_out_file, "%s\"___CTOR_LIST__\",22,0,0,", ASM_STABS_OP); assemble_name (asm_out_file, name); fputc ('\n', asm_out_file); } @@ -962,7 +962,7 @@ assemble_gc_entry (name) if (flag_gnu_linker) { /* Now tell GNU LD that this is part of the static constructor set. */ - fprintf (asm_out_file, "%s \"___PTR_LIST__\",22,0,0,", ASM_STABS_OP); + fprintf (asm_out_file, "%s\"___PTR_LIST__\",22,0,0,", ASM_STABS_OP); assemble_name (asm_out_file, name); fputc ('\n', asm_out_file); } @@ -1127,7 +1127,7 @@ assemble_zeros (size) { #ifdef ASM_BYTE_OP fprintf (asm_out_file, - "%s 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n", ASM_BYTE_OP); + "%s0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n", ASM_BYTE_OP); #else fprintf (asm_out_file, "\tbyte 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\n"); @@ -1136,7 +1136,7 @@ assemble_zeros (size) if (i < size) { #ifdef ASM_BYTE_OP - fprintf (asm_out_file, "%s 0", ASM_BYTE_OP); + fprintf (asm_out_file, "%s0", ASM_BYTE_OP); #else fprintf (asm_out_file, "\tbyte 0"); #endif