forked from Imagelibrary/binutils-gdb
2009-04-02 Sterling Augustine <sterling@jaw.hq.tensilica.com>
* elf32-xtensa.c (relax_property_section): Always set r_offset to zero.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2009-04-02 Sterling Augustine <sterling@jaw.hq.tensilica.com>
|
||||||
|
|
||||||
|
* elf32-xtensa.c (relax_property_section): Always set r_offset
|
||||||
|
to zero.
|
||||||
|
|
||||||
2009-04-02 Christophe Lyon <christophe.lyon@st.com>
|
2009-04-02 Christophe Lyon <christophe.lyon@st.com>
|
||||||
|
|
||||||
* elf32-arm.c (elf32_arm_stub_long_branch_v4t_thumb_thumb,
|
* elf32-arm.c (elf32_arm_stub_long_branch_v4t_thumb_thumb,
|
||||||
|
|||||||
@@ -10015,12 +10015,7 @@ relax_property_section (bfd *abfd,
|
|||||||
if (remove_this_rel)
|
if (remove_this_rel)
|
||||||
{
|
{
|
||||||
offset_rel->r_info = ELF32_R_INFO (0, R_XTENSA_NONE);
|
offset_rel->r_info = ELF32_R_INFO (0, R_XTENSA_NONE);
|
||||||
/* In case this is the last entry, move the relocation offset
|
offset_rel->r_offset = 0;
|
||||||
to the previous entry, if there is one. */
|
|
||||||
if (offset_rel->r_offset >= bytes_to_remove)
|
|
||||||
offset_rel->r_offset -= bytes_to_remove;
|
|
||||||
else
|
|
||||||
offset_rel->r_offset = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bytes_to_remove != 0)
|
if (bytes_to_remove != 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user