OSDN Git Service

* elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size
authorBob Wilson <bob.wilson@acm.org>
Tue, 27 Apr 2004 21:28:16 +0000 (21:28 +0000)
committerBob Wilson <bob.wilson@acm.org>
Tue, 27 Apr 2004 21:28:16 +0000 (21:28 +0000)
commit6f2acd9ff04751240b8e5239615708be92d450fc
treeefa21551742c5983a7c0798659c33774184538c4
parent0f34a09e3b322352059ecdfd0f6552811253b486
* elf32-xtensa.c (xtensa_read_table_entries): Use section _cooked_size
if set.  Check reloc_done flag before applying relocations.  Use
output addresses, both when applying relocations and when comparing
against the specified section.
(elf_xtensa_relocate_section): Use output address to check if dynamic
reloc is in a literal pool.  Set section's reloc_done flag.
bfd/ChangeLog
bfd/elf32-xtensa.c