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:
parent
cf3eccff18
commit
658ff9936c
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
3627
bfd/xtensa-modules.c
3627
bfd/xtensa-modules.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue