OSDN Git Service

* elf32-xtensa.c (xtensa_is_insntable_section): New.
authorbwilson <bwilson>
Thu, 12 Apr 2007 18:55:28 +0000 (18:55 +0000)
committerbwilson <bwilson>
Thu, 12 Apr 2007 18:55:28 +0000 (18:55 +0000)
commitb652cc7696242dc0cd51e5358ae909aa3acd8dfa
tree23b3fd307fb40fc3459699634652da8d2bd85285
parent0a35129ab3742a2a803113f83093cd95180a1bb5
* 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