0009-microblaze-pr65649.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From ac360932a8b0b65897244ce74173efd9c9083d84 Mon Sep 17 00:00:00 2001
  2. From: Szabolcs Nagy <nsz@port70.net>
  3. Date: Fri, 26 Jan 2018 20:25:11 +0000
  4. Subject: [PATCH 09/13] microblaze-pr65649
  5. ---
  6. gcc/config/microblaze/microblaze.c | 4 ++--
  7. 1 file changed, 2 insertions(+), 2 deletions(-)
  8. diff --git a/gcc/config/microblaze/microblaze.c b/gcc/config/microblaze/microblaze.c
  9. index 55c1becf975..45395ab86f1 100644
  10. --- a/gcc/config/microblaze/microblaze.c
  11. +++ b/gcc/config/microblaze/microblaze.c
  12. @@ -2476,7 +2476,7 @@ print_operand (FILE * file, rtx op, int letter)
  13. unsigned long value_long;
  14. REAL_VALUE_TO_TARGET_SINGLE (*CONST_DOUBLE_REAL_VALUE (op),
  15. value_long);
  16. - fprintf (file, HOST_WIDE_INT_PRINT_HEX, value_long);
  17. + fprintf (file, "0x%lx", value_long);
  18. }
  19. else
  20. {
  21. @@ -2535,7 +2535,7 @@ print_operand (FILE * file, rtx op, int letter)
  22. print_operand_address (file, XEXP (op, 0));
  23. }
  24. else if (letter == 'm')
  25. - fprintf (file, HOST_WIDE_INT_PRINT_DEC, (1L << INTVAL (op)));
  26. + fprintf (file, "%ld", (1L << INTVAL (op)));
  27. else
  28. output_addr_const (file, op);
  29. }
  30. --
  31. 2.21.0