* 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)
commit3ba3bc8c61e4a2da48d0db0d9d28ac2d679aa9b7
tree7269e05305c9d441a051cb111623e97104ac9247
parenta9c7fee1f4a4969ace9759b45c4c698bf0592916
* 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