dhowells pushed to cross-gcc (master). "Update the microblaze patch"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 23 10:46:41 UTC 2015


>From 36bff8f545ff4e46f5b822665098fcc2216948ad Mon Sep 17 00:00:00 2001
From: David Howells <dhowells at redhat.com>
Date: Thu, 23 Apr 2015 10:45:49 +0100
Subject: Update the microblaze patch


diff --git a/cross-gcc-microblaze.patch b/cross-gcc-microblaze.patch
index 0a142cd..e79ead3 100644
--- a/cross-gcc-microblaze.patch
+++ b/cross-gcc-microblaze.patch
@@ -1,17 +1,26 @@
 Fix for Microblaze gcc misrendering long hex constants [gcc bz 65649]
 
---- gcc/config/microblaze/microblaze.c.orig     2015-04-21 04:17:33.706297530 -0400
-+++ gcc/config/microblaze/microblaze.c  2015-04-21 04:23:06.917979886 -0400
-@@ -2404,7 +2404,7 @@ print_operand (FILE * file, rtx op, int
+--- gcc/config/microblaze/microblaze.c	(revision 222257)
++++ gcc/config/microblaze/microblaze.c	(working copy)
+@@ -1661,7 +1661,7 @@
+ 	{			/* Looking for major  */
+           if (*p == '.')
+             {
+-              *v++;
++              v++;
+             }
+           else
+             {
+@@ -2404,7 +2404,7 @@
  	  REAL_VALUE_TYPE value;
  	  REAL_VALUE_FROM_CONST_DOUBLE (value, op);
  	  REAL_VALUE_TO_TARGET_SINGLE (value, value_long);
 -	  fprintf (file, HOST_WIDE_INT_PRINT_HEX, value_long);
-+         fprintf (file, "0x%lx", value_long);
++	  fprintf (file, "0x%lx", value_long);
  	}
        else
  	{
-@@ -2463,7 +2463,7 @@ print_operand (FILE * file, rtx op, int
+@@ -2463,7 +2463,7 @@
        print_operand_address (file, XEXP (op, 0));
      }
    else if (letter == 'm')
diff --git a/cross-gcc.spec b/cross-gcc.spec
index e9f5916..26320d8 100644
--- a/cross-gcc.spec
+++ b/cross-gcc.spec
@@ -72,7 +72,7 @@
 # line.  gcc_release is the Fedora gcc release that the patches were
 # taken from.
 %global gcc_release 0.21
-%global cross_gcc_release 0.1
+%global cross_gcc_release 0.2
 %global cross_binutils_version 2.25-1
 %global isl_version 0.14
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/cross-gcc.git/commit/?h=master&id=36bff8f545ff4e46f5b822665098fcc2216948ad


More information about the scm-commits mailing list