1
0

microblaze-32bithost.patch 866 B

123456789101112131415161718192021222324
  1. From:
  2. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65649
  3. diff -Nur gcc-6.3.0.orig/gcc/config/microblaze/microblaze.c gcc-6.3.0/gcc/config/microblaze/microblaze.c
  4. --- gcc-6.3.0.orig/gcc/config/microblaze/microblaze.c 2016-01-21 18:15:52.000000000 +0100
  5. +++ gcc-6.3.0/gcc/config/microblaze/microblaze.c 2017-01-03 21:54:26.462805169 +0100
  6. @@ -2364,7 +2364,7 @@
  7. unsigned long value_long;
  8. REAL_VALUE_TO_TARGET_SINGLE (*CONST_DOUBLE_REAL_VALUE (op),
  9. value_long);
  10. - fprintf (file, HOST_WIDE_INT_PRINT_HEX, value_long);
  11. + fprintf (file, "0x%lx", value_long);
  12. }
  13. else
  14. {
  15. @@ -2423,7 +2423,7 @@
  16. print_operand_address (file, XEXP (op, 0));
  17. }
  18. else if (letter == 'm')
  19. - fprintf (file, HOST_WIDE_INT_PRINT_DEC, (1L << INTVAL (op)));
  20. + fprintf (file, "%ld", (1L << INTVAL (op)));
  21. else
  22. output_addr_const (file, op);
  23. }