* elf32-xtensa.c (xtensa_is_insntable_section): New.
authorBob Wilson <bob.wilson@acm.org>
Thu, 12 Apr 2007 18:55:29 +0000 (18:55 +0000)
committerBob Wilson <bob.wilson@acm.org>
Thu, 12 Apr 2007 18:55:29 +0000 (18:55 +0000)
commit1d25768e7cf6e25e42dda41b370d477f37338756
tree4f1974c6d55366156d7553fb499b988bea58bcf2
parente1e5c0b5eb58ca69f19feca1b13bedc9fc256e84
* elf32-xtensa.c (xtensa_is_insntable_section): New.
(xtensa_is_proptable_section): New.
(elf_xtensa_discard_info_for_section): Handle "full" .xt.prop property
tables with 12-byte entries, as well as tables with 8-byte entries.
Sort the relocations before examining them.
(relax_property_section): Use xtensa_is_proptable_section and
xtensa_is_littable_section.  Rewrite code for combining table entries
to be more robust in case of unexpected relocations.  Do not set offset
of unused relocations to less than zero.
(xtensa_is_property_section): Use other functions instead of
duplicating section name comparisons.
(xtensa_is_littable_section): Use CONST_STRNEQ for ".gnu.linkonce.p.".
(xtensa_get_property_predef_flags): Use xtensa_is_insntable_section.
bfd/ChangeLog
bfd/elf32-xtensa.c