summaryrefslogtreecommitdiff
path: root/packages/gcc
diff options
context:
space:
mode:
authorGeoffrey Wossum <gwossum@acm.org>2008-04-29 23:57:43 +0000
committerLeon Woestenberg <leon.woestenberg@gmail.com>2008-04-29 23:57:43 +0000
commit40004b34f8d2509b3a371c1fad0b4b9ae8371ddd (patch)
tree7a60afe731578859174e772d423d8821f3e5bf6f /packages/gcc
parent4da48f0256d846c0f7b955bc491395456dc8edb5 (diff)
gcc-4.2.2: Add AVR32 patch 1.0.9 from Atmel.
Diffstat (limited to 'packages/gcc')
-rw-r--r--packages/gcc/gcc-4.2.2.inc9
-rw-r--r--packages/gcc/gcc-4.2.2/901-avr32-no-cond-exec-before-reload-by-default.patch13
-rw-r--r--packages/gcc/gcc-4.2.2/gcc-4.2.2.atmel.1.0.8.patch.bz2bin0 -> 162791 bytes
3 files changed, 21 insertions, 1 deletions
diff --git a/packages/gcc/gcc-4.2.2.inc b/packages/gcc/gcc-4.2.2.inc
index 02fe1162bc..1392b3e830 100644
--- a/packages/gcc/gcc-4.2.2.inc
+++ b/packages/gcc/gcc-4.2.2.inc
@@ -40,6 +40,13 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
file://intermask-bigendian.patch;patch=1 \
"
+
+SRC_URI_append_avr32 = " \
+ file://gcc-4.2.2.atmel.1.0.8.patch.bz2;patch=1 \
+ file://901-avr32-no-cond-exec-before-reload-by-default.patch;patch=1 \
+"
+
+
SRC_URI_append_ep93xx = " \
file://arm-crunch-saveregs.patch;patch=1 \
file://arm-crunch-20000320.patch;patch=1 \
@@ -71,4 +78,4 @@ JAVA = ""
EXTRA_OECONF_BASE = "--disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap"
-ARM_INSTRUCTION_SET = "arm" \ No newline at end of file
+ARM_INSTRUCTION_SET = "arm"
diff --git a/packages/gcc/gcc-4.2.2/901-avr32-no-cond-exec-before-reload-by-default.patch b/packages/gcc/gcc-4.2.2/901-avr32-no-cond-exec-before-reload-by-default.patch
new file mode 100644
index 0000000000..ab55ea4da1
--- /dev/null
+++ b/packages/gcc/gcc-4.2.2/901-avr32-no-cond-exec-before-reload-by-default.patch
@@ -0,0 +1,13 @@
+Index: gcc-4.2.2/gcc/config/avr32/avr32.c
+===================================================================
+--- gcc-4.2.2.orig/gcc/config/avr32/avr32.c 2008-04-08 10:42:47.000000000 +0200
++++ gcc-4.2.2/gcc/config/avr32/avr32.c 2008-04-08 10:43:33.000000000 +0200
+@@ -161,7 +161,7 @@
+ /* Set default target_flags. */
+ #undef TARGET_DEFAULT_TARGET_FLAGS
+ #define TARGET_DEFAULT_TARGET_FLAGS \
+- (MASK_HAS_ASM_ADDR_PSEUDOS | MASK_MD_REORG_OPTIMIZATION | MASK_COND_EXEC_BEFORE_RELOAD)
++ (MASK_HAS_ASM_ADDR_PSEUDOS | MASK_MD_REORG_OPTIMIZATION)
+
+ void
+ avr32_optimization_options (int level,
diff --git a/packages/gcc/gcc-4.2.2/gcc-4.2.2.atmel.1.0.8.patch.bz2 b/packages/gcc/gcc-4.2.2/gcc-4.2.2.atmel.1.0.8.patch.bz2
new file mode 100644
index 0000000000..4be097b095
--- /dev/null
+++ b/packages/gcc/gcc-4.2.2/gcc-4.2.2.atmel.1.0.8.patch.bz2
Binary files differ