mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
gcc: Drop unneeded patch
This commit is contained in:
@@ -31,7 +31,6 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
|
||||
file://ldflags.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 \
|
||||
|
||||
@@ -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;
|
||||
@@ -50,7 +50,6 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
|
||||
# file://arm-thumb-cache.patch;patch=1 \
|
||||
file://ldflags.patch;patch=1 \
|
||||
file://zecke-xgcc-cpp.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 \
|
||||
|
||||
@@ -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)
|
||||
@@ -50,7 +50,6 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
|
||||
# file://arm-thumb-cache.patch;patch=1 \
|
||||
file://ldflags.patch;patch=1 \
|
||||
file://zecke-xgcc-cpp.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 \
|
||||
|
||||
@@ -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)
|
||||
Reference in New Issue
Block a user