+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
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);
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: