aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/3.4.4/72_all_sh-no-reorder-blocks.patch
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-08-30 22:53:18 +0000
committerMike Frysinger <vapier@gentoo.org>2005-08-30 22:53:18 +0000
commitb75753d0c8791f7d81f50bd8ec16669158fd4848 (patch)
tree42dbd633e47f68144327f3674bc8d4c07651e147 /toolchain/gcc/3.4.4/72_all_sh-no-reorder-blocks.patch
parent58ba99a1ea57095c815fc09dbe9419fa28fa0c33 (diff)
downloadbuildroot-novena-b75753d0c8791f7d81f50bd8ec16669158fd4848.tar.gz
buildroot-novena-b75753d0c8791f7d81f50bd8ec16669158fd4848.zip
some superh fixes
Diffstat (limited to 'toolchain/gcc/3.4.4/72_all_sh-no-reorder-blocks.patch')
-rw-r--r--toolchain/gcc/3.4.4/72_all_sh-no-reorder-blocks.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolchain/gcc/3.4.4/72_all_sh-no-reorder-blocks.patch b/toolchain/gcc/3.4.4/72_all_sh-no-reorder-blocks.patch
new file mode 100644
index 000000000..8b9826831
--- /dev/null
+++ b/toolchain/gcc/3.4.4/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) \