]> git.openpandora.org Git - openembedded.git/commitdiff
gcc: get rid of fix-ICE-in-arm_unwind_emit_set.diff
authorDirk Opfer <dirk@do13.de>
Thu, 25 Jun 2009 11:09:57 +0000 (13:09 +0200)
committerDirk Opfer <dirk@do13.de>
Thu, 25 Jun 2009 11:09:57 +0000 (13:09 +0200)
Remove fix-ICE-in-arm_unwind_emit_set.diff from gcc versions >= 4.2.1
upstream gcc already includes this fix.
Instead of patching arm_unwind_emit_set the patch was modified and slipped into
thumb_pushpop and can cause a gcc segfault.

Signed-off-by: Dirk Opfer <dirk@do13.de>
17 files changed:
recipes/gcc/gcc-4.2.1.inc
recipes/gcc/gcc-4.2.1/fix-ICE-in-arm_unwind_emit_set.diff [deleted file]
recipes/gcc/gcc-4.2.2.inc
recipes/gcc/gcc-4.2.2/fix-ICE-in-arm_unwind_emit_set.diff [deleted file]
recipes/gcc/gcc-4.2.3.inc
recipes/gcc/gcc-4.2.3/fix-ICE-in-arm_unwind_emit_set.diff [deleted file]
recipes/gcc/gcc-4.2.4.inc
recipes/gcc/gcc-4.2.4/fix-ICE-in-arm_unwind_emit_set.diff [deleted file]
recipes/gcc/gcc-4.3.1.inc
recipes/gcc/gcc-4.3.1/fix-ICE-in-arm_unwind_emit_set.diff [deleted file]
recipes/gcc/gcc-4.3.2.inc
recipes/gcc/gcc-4.3.2/fix-ICE-in-arm_unwind_emit_set.diff [deleted file]
recipes/gcc/gcc-4.3.3.inc
recipes/gcc/gcc-4.3.3/fix-ICE-in-arm_unwind_emit_set.diff [deleted file]
recipes/gcc/gcc-4.4.0/fix-ICE-in-arm_unwind_emit_set.diff [deleted file]
recipes/gcc/gcc-cross_4.2.1.bb
recipes/gcc/gcc_4.2.1.bb

index b48d709115a1c6abd4e3592067a09dc23eab401c..c4e2c3a0c6c0437bdbd67e871ab66f6e74a06496 100644 (file)
@@ -29,7 +29,6 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
        file://arm-thumb-cache.patch;patch=1 \
        file://zecke-xgcc-cpp.patch;patch=1 \
        file://unbreak-armv4t.patch;patch=1 \
-       file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \
        file://cache-amnesia.patch;patch=1 \
        file://gfortran.patch;patch=1 \
        file://pr34130.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.2.1/fix-ICE-in-arm_unwind_emit_set.diff b/recipes/gcc/gcc-4.2.1/fix-ICE-in-arm_unwind_emit_set.diff
deleted file mode 100644 (file)
index 568e15a..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
---- trunk/gcc/config/arm/arm.c 2006/09/19 13:18:27     117055
-+++ trunk/gcc/config/arm/arm.c 2006/09/19 13:19:24     117056
-@@ -15415,6 +15415,15 @@
-         /* Move from sp to reg.  */
-         asm_fprintf (asm_out_file, "\t.movsp %r\n", REGNO (e0));
-       }
-+     else if (GET_CODE (e1) == PLUS
-+            && GET_CODE (XEXP (e1, 0)) == REG
-+            && REGNO (XEXP (e1, 0)) == SP_REGNUM
-+            && GET_CODE (XEXP (e1, 1)) == CONST_INT)
-+      {
-+        /* Set reg to offset from sp.  */
-+        asm_fprintf (asm_out_file, "\t.movsp %r, #%d\n",
-+                     REGNO (e0), (int)INTVAL(XEXP (e1, 1)));
-+      }
-       else
-       abort ();
-       break;
index fcebabc112fe0f420d366ed714988077ebb45682..0eb122372770a96a3f38f622ca42adff9220d62e 100644 (file)
@@ -3,7 +3,7 @@ LICENSE = "GPLv3"
 
 DEPENDS = "mpfr gmp"
 
-INC_PR = "r14"
+INC_PR = "r15"
 
 SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
        file://100-uclibc-conf.patch;patch=1 \
@@ -33,7 +33,6 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
        file://arm-thumb-cache.patch;patch=1 \
        file://zecke-xgcc-cpp.patch;patch=1 \
        file://unbreak-armv4t.patch;patch=1 \
-       file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \
        file://cache-amnesia.patch;patch=1 \
        file://gfortran.patch;patch=1 \
        file://gcc-4.0.2-e300c2c3.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.2.2/fix-ICE-in-arm_unwind_emit_set.diff b/recipes/gcc/gcc-4.2.2/fix-ICE-in-arm_unwind_emit_set.diff
deleted file mode 100644 (file)
index 568e15a..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
---- trunk/gcc/config/arm/arm.c 2006/09/19 13:18:27     117055
-+++ trunk/gcc/config/arm/arm.c 2006/09/19 13:19:24     117056
-@@ -15415,6 +15415,15 @@
-         /* Move from sp to reg.  */
-         asm_fprintf (asm_out_file, "\t.movsp %r\n", REGNO (e0));
-       }
-+     else if (GET_CODE (e1) == PLUS
-+            && GET_CODE (XEXP (e1, 0)) == REG
-+            && REGNO (XEXP (e1, 0)) == SP_REGNUM
-+            && GET_CODE (XEXP (e1, 1)) == CONST_INT)
-+      {
-+        /* Set reg to offset from sp.  */
-+        asm_fprintf (asm_out_file, "\t.movsp %r, #%d\n",
-+                     REGNO (e0), (int)INTVAL(XEXP (e1, 1)));
-+      }
-       else
-       abort ();
-       break;
index b324f176dd225db30e27a73adfc28f02563288b7..1627a96e3868be5ffdcd40fac7658bec9760e696 100644 (file)
@@ -3,7 +3,7 @@ LICENSE = "GPLv3"
 
 DEPENDS = "mpfr gmp"
 
-INC_PR = "r10"
+INC_PR = "r11"
 
 SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
        file://100-uclibc-conf.patch;patch=1 \
@@ -33,7 +33,6 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
        file://arm-thumb-cache.patch;patch=1 \
        file://zecke-xgcc-cpp.patch;patch=1 \
        file://unbreak-armv4t.patch;patch=1 \
-       file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \
        file://cache-amnesia.patch;patch=1 \
        file://gfortran.patch;patch=1 \
        file://gcc-4.0.2-e300c2c3.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.2.3/fix-ICE-in-arm_unwind_emit_set.diff b/recipes/gcc/gcc-4.2.3/fix-ICE-in-arm_unwind_emit_set.diff
deleted file mode 100644 (file)
index 568e15a..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
---- trunk/gcc/config/arm/arm.c 2006/09/19 13:18:27     117055
-+++ trunk/gcc/config/arm/arm.c 2006/09/19 13:19:24     117056
-@@ -15415,6 +15415,15 @@
-         /* Move from sp to reg.  */
-         asm_fprintf (asm_out_file, "\t.movsp %r\n", REGNO (e0));
-       }
-+     else if (GET_CODE (e1) == PLUS
-+            && GET_CODE (XEXP (e1, 0)) == REG
-+            && REGNO (XEXP (e1, 0)) == SP_REGNUM
-+            && GET_CODE (XEXP (e1, 1)) == CONST_INT)
-+      {
-+        /* Set reg to offset from sp.  */
-+        asm_fprintf (asm_out_file, "\t.movsp %r, #%d\n",
-+                     REGNO (e0), (int)INTVAL(XEXP (e1, 1)));
-+      }
-       else
-       abort ();
-       break;
index 80d38f91cfff0c3442c514ca078926bdf40b4968..5afd08ba7c4f00deaa62432bdcdc76303caed34b 100644 (file)
@@ -3,7 +3,7 @@ LICENSE = "GPLv3"
 
 DEPENDS = "mpfr gmp"
 
-INC_PR = "r6"
+INC_PR = "r7"
 
 SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
        file://100-uclibc-conf.patch;patch=1 \
@@ -33,7 +33,6 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
        file://arm-thumb-cache.patch;patch=1 \
        file://zecke-xgcc-cpp.patch;patch=1 \
        file://unbreak-armv4t.patch;patch=1 \
-       file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \
        file://cache-amnesia.patch;patch=1 \
        file://gfortran.patch;patch=1 \
        file://gcc-4.0.2-e300c2c3.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.2.4/fix-ICE-in-arm_unwind_emit_set.diff b/recipes/gcc/gcc-4.2.4/fix-ICE-in-arm_unwind_emit_set.diff
deleted file mode 100644 (file)
index 568e15a..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
---- trunk/gcc/config/arm/arm.c 2006/09/19 13:18:27     117055
-+++ trunk/gcc/config/arm/arm.c 2006/09/19 13:19:24     117056
-@@ -15415,6 +15415,15 @@
-         /* Move from sp to reg.  */
-         asm_fprintf (asm_out_file, "\t.movsp %r\n", REGNO (e0));
-       }
-+     else if (GET_CODE (e1) == PLUS
-+            && GET_CODE (XEXP (e1, 0)) == REG
-+            && REGNO (XEXP (e1, 0)) == SP_REGNUM
-+            && GET_CODE (XEXP (e1, 1)) == CONST_INT)
-+      {
-+        /* Set reg to offset from sp.  */
-+        asm_fprintf (asm_out_file, "\t.movsp %r, #%d\n",
-+                     REGNO (e0), (int)INTVAL(XEXP (e1, 1)));
-+      }
-       else
-       abort ();
-       break;
index f475eba417eb7547735bbddc7fbc54b1b0fd68da..0b05f0a88cd19058edec9115df0c25e6fd9f3d69 100644 (file)
@@ -7,7 +7,7 @@ LICENSE = "GPLv3"
 
 DEPENDS = "mpfr gmp"
 
-INC_PR = "r18"
+INC_PR = "r19"
 
 SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
        file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \
@@ -50,7 +50,6 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
        file://arm-softfloat.patch;patch=1 \
        file://arm-thumb.patch;patch=1 \
        file://arm-thumb-cache.patch;patch=1 \
-       file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \
        file://cache-amnesia.patch;patch=1 \
        file://gfortran-4.3.x.patch;patch=1 \
        file://gcc-4.0.2-e300c2c3.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.3.1/fix-ICE-in-arm_unwind_emit_set.diff b/recipes/gcc/gcc-4.3.1/fix-ICE-in-arm_unwind_emit_set.diff
deleted file mode 100644 (file)
index b8a147d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
---- /tmp/arm.c 2008-03-17 14:24:39.590464969 +0100
-+++ gcc-4.3.0/gcc/config/arm/arm.c     2008-03-17 14:12:21.614701982 +0100
-@@ -15959,6 +15959,9 @@
-   int regno;
-   int lo_mask = mask & 0xFF;
-   int pushed_words = 0;
-+  rtx e0;
-+  rtx e1;
-+  unsigned reg;
- 
-   gcc_assert (mask);
- 
-@@ -16025,6 +16028,15 @@
- 
-         return;
-       }
-+     else if (GET_CODE (e1) == PLUS
-+            && GET_CODE (XEXP (e1, 0)) == REG
-+            && REGNO (XEXP (e1, 0)) == SP_REGNUM
-+            && GET_CODE (XEXP (e1, 1)) == CONST_INT)
-+      {
-+        /* Set reg to offset from sp.  */
-+        asm_fprintf (asm_out_file, "\t.movsp %r, #%d\n",
-+                     REGNO (e0), (int)INTVAL(XEXP (e1, 1)));
-+      }
-       else
-       {
-         if (mask & 0xFF)
index a6e6b7bd199b6282c3744633fadb4bae8ed97ab0..5483b8fd66c19886bab5e93ea9be91ccfb17df80 100644 (file)
@@ -7,7 +7,7 @@ LICENSE = "GPLv3"
 
 DEPENDS = "mpfr gmp"
 
-INC_PR = "r8"
+INC_PR = "r9"
 
 SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
        file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \
@@ -47,7 +47,6 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
        file://904-flatten-switch-stmt-00.patch;patch=1 \
        file://arm-nolibfloat.patch;patch=1 \
        file://arm-softfloat.patch;patch=1 \
-       file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \
        file://cache-amnesia.patch;patch=1 \
        file://gfortran-4.3.x.patch;patch=1 \
        file://gcc-4.0.2-e300c2c3.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.3.2/fix-ICE-in-arm_unwind_emit_set.diff b/recipes/gcc/gcc-4.3.2/fix-ICE-in-arm_unwind_emit_set.diff
deleted file mode 100644 (file)
index b8a147d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
---- /tmp/arm.c 2008-03-17 14:24:39.590464969 +0100
-+++ gcc-4.3.0/gcc/config/arm/arm.c     2008-03-17 14:12:21.614701982 +0100
-@@ -15959,6 +15959,9 @@
-   int regno;
-   int lo_mask = mask & 0xFF;
-   int pushed_words = 0;
-+  rtx e0;
-+  rtx e1;
-+  unsigned reg;
- 
-   gcc_assert (mask);
- 
-@@ -16025,6 +16028,15 @@
- 
-         return;
-       }
-+     else if (GET_CODE (e1) == PLUS
-+            && GET_CODE (XEXP (e1, 0)) == REG
-+            && REGNO (XEXP (e1, 0)) == SP_REGNUM
-+            && GET_CODE (XEXP (e1, 1)) == CONST_INT)
-+      {
-+        /* Set reg to offset from sp.  */
-+        asm_fprintf (asm_out_file, "\t.movsp %r, #%d\n",
-+                     REGNO (e0), (int)INTVAL(XEXP (e1, 1)));
-+      }
-       else
-       {
-         if (mask & 0xFF)
index 6ccb0f18955964ada1024969899b39a6c26d3c5e..5802492d5826dd0c0189891578595ac5afe5f719 100644 (file)
@@ -7,7 +7,7 @@ LICENSE = "GPLv3"
 
 DEPENDS = "mpfr gmp"
 
-INC_PR = "r4"
+INC_PR = "r5"
 
 SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
        file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \
@@ -47,7 +47,6 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
        file://904-flatten-switch-stmt-00.patch;patch=1 \
        file://arm-nolibfloat.patch;patch=1 \
        file://arm-softfloat.patch;patch=1 \
-       file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \
        file://cache-amnesia.patch;patch=1 \
        file://gfortran-4.3.x.patch;patch=1 \
        file://gcc-4.0.2-e300c2c3.patch;patch=1 \
diff --git a/recipes/gcc/gcc-4.3.3/fix-ICE-in-arm_unwind_emit_set.diff b/recipes/gcc/gcc-4.3.3/fix-ICE-in-arm_unwind_emit_set.diff
deleted file mode 100644 (file)
index b8a147d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
---- /tmp/arm.c 2008-03-17 14:24:39.590464969 +0100
-+++ gcc-4.3.0/gcc/config/arm/arm.c     2008-03-17 14:12:21.614701982 +0100
-@@ -15959,6 +15959,9 @@
-   int regno;
-   int lo_mask = mask & 0xFF;
-   int pushed_words = 0;
-+  rtx e0;
-+  rtx e1;
-+  unsigned reg;
- 
-   gcc_assert (mask);
- 
-@@ -16025,6 +16028,15 @@
- 
-         return;
-       }
-+     else if (GET_CODE (e1) == PLUS
-+            && GET_CODE (XEXP (e1, 0)) == REG
-+            && REGNO (XEXP (e1, 0)) == SP_REGNUM
-+            && GET_CODE (XEXP (e1, 1)) == CONST_INT)
-+      {
-+        /* Set reg to offset from sp.  */
-+        asm_fprintf (asm_out_file, "\t.movsp %r, #%d\n",
-+                     REGNO (e0), (int)INTVAL(XEXP (e1, 1)));
-+      }
-       else
-       {
-         if (mask & 0xFF)
diff --git a/recipes/gcc/gcc-4.4.0/fix-ICE-in-arm_unwind_emit_set.diff b/recipes/gcc/gcc-4.4.0/fix-ICE-in-arm_unwind_emit_set.diff
deleted file mode 100644 (file)
index b8a147d..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
---- /tmp/arm.c 2008-03-17 14:24:39.590464969 +0100
-+++ gcc-4.3.0/gcc/config/arm/arm.c     2008-03-17 14:12:21.614701982 +0100
-@@ -15959,6 +15959,9 @@
-   int regno;
-   int lo_mask = mask & 0xFF;
-   int pushed_words = 0;
-+  rtx e0;
-+  rtx e1;
-+  unsigned reg;
- 
-   gcc_assert (mask);
- 
-@@ -16025,6 +16028,15 @@
- 
-         return;
-       }
-+     else if (GET_CODE (e1) == PLUS
-+            && GET_CODE (XEXP (e1, 0)) == REG
-+            && REGNO (XEXP (e1, 0)) == SP_REGNUM
-+            && GET_CODE (XEXP (e1, 1)) == CONST_INT)
-+      {
-+        /* Set reg to offset from sp.  */
-+        asm_fprintf (asm_out_file, "\t.movsp %r, #%d\n",
-+                     REGNO (e0), (int)INTVAL(XEXP (e1, 1)));
-+      }
-       else
-       {
-         if (mask & 0xFF)
index b2dba3956a286aac044c34b9ce29f04abeefc8f9..c080143517cc5cfadf542de718ac34373c961433 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r20"
+PR = "r21"
 
 require gcc-${PV}.inc
 require gcc-cross4.inc
index dd88ccdc27729aedd8c093b021cdadfb3a4a202b..711aa35a32f59a37b69ec2ca78898032e5d526fa 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r14"
+PR = "r15"
 
 require gcc-${PV}.inc
 require gcc-configure-target.inc