0009-microblaze-pr65649.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From a0934d40a8ed3b6e82abb31d2f8d7c60548d4a05 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/12] 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 9a4a287be23..60aadaf51f7 100644
  10. --- a/gcc/config/microblaze/microblaze.c
  11. +++ b/gcc/config/microblaze/microblaze.c
  12. @@ -2399,7 +2399,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. @@ -2458,7 +2458,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.17.1