* elf32-xtensa.c (relax_section): Update DIFF relocations in the

same way as other relocations.
This commit is contained in:
Bob Wilson
2007-12-21 23:11:28 +00:00
parent 8d32f93595
commit dc96b90a10
2 changed files with 24 additions and 21 deletions

View File

@ -1,3 +1,8 @@
2007-12-21 Bob Wilson <bob.wilson@acm.org>
* elf32-xtensa.c (relax_section): Update DIFF relocations in the
same way as other relocations.
2007-12-18 Daniel Jacobowitz <dan@codesourcery.com>
* section.c (BFD_FAKE_SECTION): Update.

View File

@ -8240,8 +8240,7 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info)
pin_contents (sec, contents);
}
else
{
/* If the relocation still references a section in the same
input file, modify the relocation directly instead of
adding a "fix" record. */
@ -8267,7 +8266,6 @@ relax_section (bfd *abfd, asection *sec, struct bfd_link_info *link_info)
}
}
}
}
if ((relax_info->is_relaxable_literal_section
|| relax_info->is_relaxable_asm_section)