* reloc.c (BFD_RELOC_SPARC_[567]): New reloc types.
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 6 Feb 1996 20:23:08 +0000 (20:23 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Tue, 6 Feb 1996 20:23:08 +0000 (20:23 +0000)
commitf178301669e20920d4a4b5c816cc5ded2c6802f3
treeeed10d03c4e404691d0d0dccc8e9b114fc44597e
parent047c57ac71a69b678477a6df6b41c9d8cd493ce8
* reloc.c (BFD_RELOC_SPARC_[567]): New reloc types.
(BFD_RELOC_SPARC_LO7 reloc type): Deleted.
* libbfd.h, bfd-in2.h: Regenerated.
* elf32-sparc.c (_bfd_sparc_elf_reloc_type_lookup): Renamed from
bfd_elf32_bfd_reloc_type_lookup.
(reloc_type{,_names}): Deleted.
(_bfd_sparc_elf_howto_table): Renamed from elf_sparc_howto_table.
Add sparc64 relocs.
(sparc_reloc_map): Add sparc64 relocs.
(sparc_elf_notsupported_reloc): New static function.
(sparc_elf_wdisp16_reloc): New static function.
(elf32_sparc_check_relocs): Handle R_SPARC_WDISP{16,19}.
(elf32_sparc_relocate_section): Likewise.
(bfd_elf32_bfd_reloc_type_lookup): Define.
* elf64-sparc.c (sparc64_elf_wdisp16_reloc): Deleted.
(reloc_type{,_names}): Deleted.
(elf_sparc_howto_table): Deleted.
(sparc_reloc_map): Deleted.
(_bfd_sparc_elf_howto_table): Renamed from elf_sparc_howto_table.
(bfd_elf64_bfd_reloc_type_lookup): Change from function to #define.
bfd/ChangeLog