OSDN Git Service

* 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)
commit23fdc92f7b328e87a6b3416347830558118d7792
tree547d6d4c71d3ad51a63250c6993647ef3b5b3b42
parent64062ae3a8fe2d62875543af8828de201d40fbce
* 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