* elf32-xtensa.c (bfd_elf_xtensa_reloc): Make sure that
xtensa_default_isa is initialized.
This commit is contained in:
parent
3974a4b6b0
commit
dd1a320be6
@ -1,3 +1,8 @@
|
||||
2005-05-20 Bob Wilson <bob.wilson@acm.org>
|
||||
|
||||
* elf32-xtensa.c (bfd_elf_xtensa_reloc): Make sure that
|
||||
xtensa_default_isa is initialized.
|
||||
|
||||
2005-05-20 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf32-ppc.c (allocate_dynrelocs): Correct plt offset assigned
|
||||
|
@ -1855,6 +1855,9 @@ bfd_elf_xtensa_reloc (bfd *abfd,
|
||||
asection *reloc_target_output_section;
|
||||
bfd_boolean is_weak_undef;
|
||||
|
||||
if (!xtensa_default_isa)
|
||||
xtensa_default_isa = xtensa_isa_init (0, 0);
|
||||
|
||||
/* ELF relocs are against symbols. If we are producing relocatable
|
||||
output, and the reloc is against an external symbol, the resulting
|
||||
reloc will also be against the same symbol. In such a case, we
|
||||
|
Loading…
Reference in New Issue
Block a user