0013-microblaze-pr65649.diff 703 B

1234567891011121314151617181920
  1. --- gcc-6.3.0/gcc/config/microblaze/microblaze.c.orig 2017-01-02 15:07:18.924082703 -0500
  2. +++ gcc-6.3.0/gcc/config/microblaze/microblaze.c 2017-01-02 15:08:06.362438573 -0500
  3. @@ -2364,7 +2364,7 @@
  4. unsigned long value_long;
  5. REAL_VALUE_TO_TARGET_SINGLE (*CONST_DOUBLE_REAL_VALUE (op),
  6. value_long);
  7. - fprintf (file, HOST_WIDE_INT_PRINT_HEX, value_long);
  8. + fprintf (file, "0x%lx", value_long);
  9. }
  10. else
  11. {
  12. @@ -2423,7 +2423,7 @@
  13. print_operand_address (file, XEXP (op, 0));
  14. }
  15. else if (letter == 'm')
  16. - fprintf (file, HOST_WIDE_INT_PRINT_DEC, (1L << INTVAL (op)));
  17. + fprintf (file, "%ld", (1L << INTVAL (op)));
  18. else
  19. output_addr_const (file, op);
  20. }