This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/bfd elf32-m68k.c
- From: rsandifo at sourceware dot org
- To: binutils-cvs at sources dot redhat dot com
- Date: 27 Apr 2006 17:01:18 -0000
- Subject: src/bfd elf32-m68k.c
CVSROOT: /cvs/src
Module name: src
Branch: binutils-csl-2_17-branch
Changes by: rsandifo@sourceware.org 2006-04-27 17:01:18
Modified files:
bfd : elf32-m68k.c
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/elf32-m68k.c.diff?cvsroot=src&only_with_tag=binutils-csl-2_17-branch&r1=1.88.2.1&r2=1.88.2.2