2009-02-24 Sterling Augustine <sterling@tensilica.com>

* elf32-xtensa.c (text_action_add): Separate test for action
	type.  Break if saved action is ta_widen_insn at same offset.
This commit is contained in:
Sterling Augustine 2009-02-24 22:51:10 +00:00
parent cf3eccff18
commit 658ff9936c
3 changed files with 1447 additions and 2204 deletions

View File

@ -1,3 +1,8 @@
2009-02-24 Sterling Augustine <sterling@tensilica.com>
* elf32-xtensa.c (text_action_add): Separate test for action
type. Break if saved action is ta_widen_insn at same offset.
2009-02-24 Daniel Jacobowitz <dan@codesourcery.com>
* elf32-arm.c (elf32_arm_stub_long_branch_any_any_pic): Rename
@ -15,6 +20,7 @@
Undefine NEXT_SEC.
(elf32_arm_size_stubs): Update to use stubs_always_after_branch.
>>>>>>> 1.4473
2009-02-23 Daniel Jacobowitz <dan@codesourcery.com>
* elf32-arm.c (arm_build_one_stub): Initialize stub_reloc_offset.

View File

@ -5478,12 +5478,20 @@ text_action_add (text_action_list *l,
for (m_p = &l->head; *m_p && (*m_p)->offset <= offset; m_p = &(*m_p)->next)
{
text_action *t = *m_p;
/* When the action is another fill at the same address,
just increase the size. */
if (t->offset == offset && t->action == ta_fill && action == ta_fill)
if (action == ta_fill)
{
t->removed_bytes += removed;
return;
/* When the action is another fill at the same address,
just increase the size. */
if (t->offset == offset && t->action == ta_fill)
{
t->removed_bytes += removed;
return;
}
/* Fills need to happen before widens so that we don't
insert fill bytes into the instruction stream. */
if (t->offset == offset && t->action == ta_widen_insn)
break;
}
}

File diff suppressed because it is too large Load Diff