bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 27 Apr 2006 17:01:18 +0000 (17:01 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Thu, 27 Apr 2006 17:01:18 +0000 (17:01 +0000)
commitb1f77134d803fc234bcc4f59fcc5f5d4a811f11a
treeef1aa7f4bc1c1fafc2a62f3fcb18fa2855d394db
parentf4c2ebbede1e0f6de39c48f482dfad96ba8c59e5
bfd/
* elf32-m68k.c (elf_m68k_pcrel_insn): New structure.
(elf_m68k_plt_info): Likewise.
(elf_m68k_plt_info): New table.
(CFV4E_PLT_ENTRY_SIZE): Rename to...
(ISAB_PLT_ENTRY_SIZE): ...this.
(CFV4E_FLAG): Delete.
(elf_cfv4e_plt0_entry): Rename to...
(elf_isab_plt0_entry): ...this.  Adjust comments.  Use (-6,%pc,%d0)
for the second instruction too.
(elf_cfv4e_plt_entry): Rename to...
(elf_isab_plt_entry): ...this.  Adjust comments and use (-6,%pc,%d0).
(elf_isab_plt_info): New table.
(CPU32_FLAG): Delete.
(PLT_CPU32_ENTRY_SIZE): Rename to...
(CPU32_PLT_ENTRY_SIZE): ...this.
(elf_cpu32_plt0_entry): Update bounds accordingly.
(elf_cpu32_plt_entry): Likewise.
(elf_cpu32_plt_info): New table.
(elf_m68k_link_hash_table): Add a plt_info field.
(elf_m68k_link_hash_table_create): Initialize it.
(elf_m68k_get_plt_info): New function.
(elf_m68k_always_size_sections): Likewise.
(elf_m68k_adjust_dynamic_symbol): Use the plt_info hash table field.
(elf_m68k_install_pcrel_field): New function.
(elf_m68k_finish_dynamic_symbol): Factor code using plt_info and
elf_m68k_install_pcrel_field.
(elf_m68k_finish_dynamic_sections): Likewise.
(elf_m68k_plt_sym_val): Use elf_m68k_get_plt_info.
(elf_backend_always_size_sections): Define.
ChangeLog.csl
bfd/elf32-m68k.c