xtensa: generate PLT entries for call0 ABI
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 15 Sep 2015 03:37:14 +0000 (06:37 +0300)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 15 Sep 2015 19:18:51 +0000 (22:18 +0300)
commit92b3f0082674ecdb4dad89d722acd069aef0dafa
tree23fdfc8a142cc6f373468c47359307fe89a3ac88
parent5382cfab6110741b8ba36965b30334c00d8f9409
xtensa: generate PLT entries for call0 ABI

2015-09-15  Max Filippov  <jcmvbkbc@gmail.com>
bfd/
* elf32-xtensa.c (elf_xtensa_be_plt_entry)
(elf_xtensa_le_plt_entry): Emit 'entry' instruction only for
windowed ABI.
(elf_xtensa_create_plt_entry): Generate 'l32r' offsets and fix
up instructions according to ABI.
bfd/ChangeLog
bfd/elf32-xtensa.c