gcc: Drop unneeded patch

This commit is contained in:
Richard Purdie
2008-12-31 20:17:34 +00:00
parent 1fc2929978
commit 3f4a6d8c8b
6 changed files with 0 additions and 77 deletions

View File

@@ -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 \

View File

@@ -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;

View File

@@ -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 \

View File

@@ -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)

View File

@@ -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 \

View File

@@ -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)