* elf32-xtensa.c (relax_section): Call pin_internal_relocs when
authorBob Wilson <bob.wilson@acm.org>
Fri, 5 Oct 2007 19:05:35 +0000 (19:05 +0000)
committerBob Wilson <bob.wilson@acm.org>
Fri, 5 Oct 2007 19:05:35 +0000 (19:05 +0000)
commit9b7f5d20489123fb67202427cf11d52f4d6fedfe
tree06f53131ffceb62fd6a975d905622f8d7e164158
parent47dd174cba6c3e3cba9f18e8688d14176b66cc86
* elf32-xtensa.c (relax_section): Call pin_internal_relocs when
changing a relocation's offset.  Adjust call to translate_reloc.  Do
not add a fix record for a DIFF reloc.  For other relocs, only add a
fix record if the translated target is in a different object file;
otherwise, just update the relocation.  Call pin_internal_relocs when
updating a reloc but not when adding a fix record.
(translate_reloc): Get the target section from a new argument, not
from the relocation.  Change check for relaxable sections to an
assertion.  Compute separate offset adjustments for the base symbol
and the addend, and set the new relocation's addend correctly.  Return
the new target section.
bfd/ChangeLog
bfd/elf32-xtensa.c
This page took 0.027015 seconds and 4 git commands to generate.