summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/3.4.5/72_all_sh-no-reorder-blocks.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-16 11:36:33 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-16 11:36:33 +0000
commit447f925ff9e0bca059a62ca97a142da70a38f880 (patch)
treef8aa7884cbb0b6597a568436cccd4ed081c7e7df /toolchain/gcc/3.4.5/72_all_sh-no-reorder-blocks.patch
parente5c61d95a5e1fc4283fa54af7fd91602679c92fe (diff)
add gcc 3.4.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2695 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/3.4.5/72_all_sh-no-reorder-blocks.patch')
-rw-r--r--toolchain/gcc/3.4.5/72_all_sh-no-reorder-blocks.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/gcc/3.4.5/72_all_sh-no-reorder-blocks.patch b/toolchain/gcc/3.4.5/72_all_sh-no-reorder-blocks.patch
new file mode 100644
index 000000000..8b9826831
--- /dev/null
+++ b/toolchain/gcc/3.4.5/72_all_sh-no-reorder-blocks.patch
@@ -0,0 +1,13 @@
+--- g/gcc/config/sh/sh.h
++++ g/gcc/config/sh/sh.h
+@@ -422,6 +422,10 @@
+ do { \
+ if (LEVEL) \
+ flag_omit_frame_pointer = -1; \
++ if (LEVEL <= 2) \
++ { \
++ flag_reorder_blocks = 0; \
++ } \
+ if (SIZE) \
+ target_flags |= SPACE_BIT; \
+ if (TARGET_SHMEDIA && LEVEL > 1) \