summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0300-config-sparc-sparc.c-eligible_for_return_delay-Do-no.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-06-17 17:11:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-23 11:49:04 +0100
commit68b545f4ff719f2b6e57d68b002dc9845c7a14ae (patch)
treef21182fa4d1394686b9afafbaac6d90bc3aa69a8 /meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0300-config-sparc-sparc.c-eligible_for_return_delay-Do-no.patch
parentb32666e29999c7c698b1a1378f96844fbc48358d (diff)
downloadopenembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.tar.gz
openembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.tar.bz2
openembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.tar.xz
openembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.zip
gcc-4.6: Switch to using svn SRC_URI for recipe
We call the recipes 4.6 Remove the backport patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0300-config-sparc-sparc.c-eligible_for_return_delay-Do-no.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0300-config-sparc-sparc.c-eligible_for_return_delay-Do-no.patch65
1 files changed, 0 insertions, 65 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0300-config-sparc-sparc.c-eligible_for_return_delay-Do-no.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0300-config-sparc-sparc.c-eligible_for_return_delay-Do-no.patch
deleted file mode 100644
index 7052918b5..000000000
--- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0300-config-sparc-sparc.c-eligible_for_return_delay-Do-no.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From 569fa107c89c3adc1fcf7286079c7aff088159ef Mon Sep 17 00:00:00 2001
-From: ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Sat, 21 May 2011 22:03:27 +0000
-Subject: [PATCH] * config/sparc/sparc.c (eligible_for_return_delay): Do not return
- false if there are call-saved registers here...
- (sparc_can_use_return_insn_p): ...but here instead.
- (save_or_restore_regs): Fix thinko.
- (sparc_expand_prologue): Use current_function_is_leaf.
- (sparc_frame_pointer_required): Likewise.
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174009 138bc75d-0d04-0410-961f-82ee72b054a4
-
-index 0f137e8..8ad374a 100644
---- a/gcc/config/sparc/sparc.c
-+++ b/gcc/config/sparc/sparc.c
-@@ -2845,11 +2845,6 @@ eligible_for_return_delay (rtx trial)
- if (get_attr_length (trial) != 1)
- return 0;
-
-- /* If there are any call-saved registers, we should scan TRIAL if it
-- does not reference them. For now just make it easy. */
-- if (num_gfregs)
-- return 0;
--
- /* If the function uses __builtin_eh_return, the eh_return machinery
- occupies the delay slot. */
- if (crtl->calls_eh_return)
-@@ -4421,7 +4416,7 @@ save_or_restore_regs (int low, int high, rtx base, int offset, int action)
- emit_move_insn (gen_rtx_REG (mode, regno), mem);
-
- /* Always preserve double-word alignment. */
-- offset = (offset + 7) & -8;
-+ offset = (offset + 8) & -8;
- }
- }
-
-@@ -4528,7 +4523,7 @@ sparc_expand_prologue (void)
- example, the regrename pass has special provisions to not rename to
- non-leaf registers in a leaf function. */
- sparc_leaf_function_p
-- = optimize > 0 && leaf_function_p () && only_leaf_regs_used ();
-+ = optimize > 0 && current_function_is_leaf && only_leaf_regs_used ();
-
- /* Need to use actual_fsize, since we are also allocating
- space for our callee (and our own register save area). */
-@@ -4658,6 +4653,7 @@ bool
- sparc_can_use_return_insn_p (void)
- {
- return sparc_prologue_data_valid_p
-+ && num_gfregs == 0
- && (actual_fsize == 0 || !sparc_leaf_function_p);
- }
-
-@@ -9680,7 +9676,7 @@ sparc_expand_compare_and_swap_12 (rtx result, rtx mem, rtx oldval, rtx newval)
- bool
- sparc_frame_pointer_required (void)
- {
-- return !(leaf_function_p () && only_leaf_regs_used ());
-+ return !(current_function_is_leaf && only_leaf_regs_used ());
- }
-
- /* The way this is structured, we can't eliminate SFP in favor of SP
---
-1.7.0.4
-