* elf32-xtensa.c (build_reloc_opcodes): New.
authorBob Wilson <bob.wilson@acm.org>
Fri, 14 Apr 2006 23:01:19 +0000 (23:01 +0000)
committerBob Wilson <bob.wilson@acm.org>
Fri, 14 Apr 2006 23:01:19 +0000 (23:01 +0000)
commitcb3371483207204739575878a417d40b210d3d31
tree7330aee94037fbde6ca0048c971e8c58ecf34e2e
parenta255b6c7b0414ef186a9455620cb8079046ba21b
* elf32-xtensa.c (build_reloc_opcodes): New.
(compute_text_actions): Use it to decode opcodes outside inner loop.
(check_section_ebb_pcrels_fit): Add "reloc_opcodes" argument, and if
it is set, use it to get the opcodes for relocations.
(move_shared_literal): Adjust call to check_section_ebb_pcrels_fit.
bfd/ChangeLog
bfd/elf32-xtensa.c