diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-12-03 14:34:53 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-12-05 17:32:10 +0100 |
commit | 19d75997848cd776248fd9e4d48f387569067d93 (patch) | |
tree | 4a722ddaca7ef4510ec44cdd28027f1865244adc /patches/gcc-4.7.2/0101-fix-arith_adjacentmem-LDM-splitting-code.patch | |
parent | c53051c921cd1b92ae2233e3654bc759e27f3098 (diff) | |
download | OSELAS.Toolchain-19d75997848cd776248fd9e4d48f387569067d93.tar.gz OSELAS.Toolchain-19d75997848cd776248fd9e4d48f387569067d93.tar.xz |
gcc-4.7.2: update and cleanup patches
Removed patches:
* 0101-fix-arith_adjacentmem-LDM-splitting-code.patch:
Obsolete. The bug report states that this is fixed since 4.5.
* 0300-gcc-trampolinewarn.patch
Does not fix anything and annoys people.
* 0301-flatten-switch-stmt-into-if-else-chain-for-Os.patch
Old gentoo patch that never reached mainline.
It's just an optimization anyways.
New patches:
* 0102-libgcc-reorder-tmake_file-for-arm-uclinux.patch
Needed to build *-uclinux* toolchains.
* 0400-add-support-for-arm-linux-eabi-triplets-useful-for-a.patch
From Debian. Needed to build arm-*-linux-gnueabihf toolchains.
* 0500-Fix-Argument-list-too-long-error.patch
From OpenEmbedded. Fixes "Argument list too long". This can happen
for longer the path to the workspace.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/gcc-4.7.2/0101-fix-arith_adjacentmem-LDM-splitting-code.patch')
-rw-r--r-- | patches/gcc-4.7.2/0101-fix-arith_adjacentmem-LDM-splitting-code.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/patches/gcc-4.7.2/0101-fix-arith_adjacentmem-LDM-splitting-code.patch b/patches/gcc-4.7.2/0101-fix-arith_adjacentmem-LDM-splitting-code.patch deleted file mode 100644 index eae6d15..0000000 --- a/patches/gcc-4.7.2/0101-fix-arith_adjacentmem-LDM-splitting-code.patch +++ /dev/null @@ -1,39 +0,0 @@ -From: Robert Schwebel <r.schwebel@pengutronix.de> -Date: Tue, 1 Nov 2011 18:25:07 +0100 -Subject: [PATCH] fix arith_adjacentmem LDM splitting code - -This is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39429 - -This is the patch fromt the gcc bugzilla. - -Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> ---- - gcc/config/arm/arm.md | 15 +++++++++++++++ - 1 file changed, 15 insertions(+) - -diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md -index b21d0d2..fa9f93d 100644 ---- a/gcc/config/arm/arm.md -+++ b/gcc/config/arm/arm.md -@@ -10471,6 +10471,21 @@ - else - { - /* Offset is out of range for a single add, so use two ldr. */ -+ -+ /* Swap the ldrs if the first ldr would clobber the shared base_reg. */ -+ if (REGNO (ldm[1]) == REGNO (base_reg)) -+ { -+ rtx tmp_reg; -+ HOST_WIDE_INT tmp_val; -+ -+ tmp_reg = ldm[1]; -+ ldm[1] = ldm[2]; -+ ldm[2] = tmp_reg; -+ tmp_val = val1; -+ val1 = val2; -+ val2 = tmp_val; -+ } -+ - ops[0] = ldm[1]; - ops[1] = base_reg; - ops[2] = GEN_INT (val1); |