Commit c217bac5 by Jan Hubicka Committed by Jan Hubicka

varasm.c (default_elf_asm_output_limited_string, [...]): Replace fprintf by putc.

	* varasm.c (default_elf_asm_output_limited_string,
	default_elf_asm_output_ascii): Replace fprintf by putc.

From-SVN: r230895
parent 6c051d60
2015-11-25 Jan Hubicka <hubicka@ucw.cz>
* varasm.c (default_elf_asm_output_limited_string,
default_elf_asm_output_ascii): Replace fprintf by putc.
2015-11-25 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/67954
......@@ -7599,8 +7599,10 @@ default_elf_asm_output_limited_string (FILE *f, const char *s)
putc (c, f);
break;
case 1:
/* TODO: Print in hex with fast function, important for -flto. */
fprintf (f, "\\%03o", c);
putc ('\\', f);
putc ('0'+((c>>6)&7), f);
putc ('0'+((c>>3)&7), f);
putc ('0'+(c&7), f);
break;
default:
putc ('\\', f);
......@@ -7670,8 +7672,10 @@ default_elf_asm_output_ascii (FILE *f, const char *s, unsigned int len)
bytes_in_chunk++;
break;
case 1:
/* TODO: Print in hex with fast function, important for -flto. */
fprintf (f, "\\%03o", c);
putc ('\\', f);
putc ('0'+((c>>6)&7), f);
putc ('0'+((c>>3)&7), f);
putc ('0'+(c&7), f);
bytes_in_chunk += 4;
break;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment