summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/4.2.1/903-avr32-fix-expanding-builtin-xchg.patch
diff options
context:
space:
mode:
authorJohn Voltz <john.voltz@gmail.com>2008-03-21 11:21:02 +0000
committerJohn Voltz <john.voltz@gmail.com>2008-03-21 11:21:02 +0000
commit577cec7bc6d6a1c2b914d0061cdc3cd2ac03e7f3 (patch)
treef9ba9004bf358831109e8eb1c029a70e393cbbb2 /toolchain/gcc/4.2.1/903-avr32-fix-expanding-builtin-xchg.patch
parent7c54beb870cc7fb50c8a77689dab589d7cb90fb8 (diff)
downloadbuildroot-novena-577cec7bc6d6a1c2b914d0061cdc3cd2ac03e7f3.tar.gz
buildroot-novena-577cec7bc6d6a1c2b914d0061cdc3cd2ac03e7f3.zip
current avr32 gcc patches break x86 and possibly other systems. moving bad patches to separate directory until a proper fix is made. discovered by jacmet and Dr. Nigel Kukard
Diffstat (limited to 'toolchain/gcc/4.2.1/903-avr32-fix-expanding-builtin-xchg.patch')
-rw-r--r--toolchain/gcc/4.2.1/903-avr32-fix-expanding-builtin-xchg.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/toolchain/gcc/4.2.1/903-avr32-fix-expanding-builtin-xchg.patch b/toolchain/gcc/4.2.1/903-avr32-fix-expanding-builtin-xchg.patch
deleted file mode 100644
index 4a4ac6093..000000000
--- a/toolchain/gcc/4.2.1/903-avr32-fix-expanding-builtin-xchg.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- gcc-4.2.1.orig/gcc/config/avr32/avr32.c 2007-10-05 07:52:51.000000000 +0200
-+++ gcc-4.2.1/gcc/config/avr32/avr32.c 2007-10-05 07:54:49.000000000 +0200
-@@ -1388,7 +1388,8 @@ avr32_expand_builtin (tree exp,
- op1 = copy_to_mode_reg (mode1, op1);
- }
-
-- op0 = gen_rtx_MEM (SImode, op0);
-+ op0 = force_reg (GET_MODE (op0), op0);
-+ op0 = gen_rtx_MEM (GET_MODE (op0), op0);
- if (!(*insn_data[icode].operand[1].predicate) (op0, mode0))
- {
- error