]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elf64-ppc.c
* elf64-ppc.c (enum _ppc64_sec_type): New.
authorAlan Modra <amodra@gmail.com>
Tue, 7 Nov 2006 03:34:52 +0000 (03:34 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 7 Nov 2006 03:34:52 +0000 (03:34 +0000)
commit7c8fe5c4802b8ed8863c41264e0bf77e46d6bdcb
treeb4a9b721c550d0026b722615dbe0b5d4c7c596a7
parentb3fac117e3a2cd364e0ef42254756cdabd027e8b
* elf64-ppc.c (enum _ppc64_sec_type): New.
(struct _ppc64_elf_section_data): Move "t_symndx" into opd union,
and rename fields.  Add sec_type and has_14bit_branch.
(struct ppc_link_hash_table): Remove has_14bit_branch.
(get_opd_info, get_tls_mask, ppc64_elf_edit_opd): Adjust.
(ppc64_elf_relocate_section): Likewise.
(ppc64_elf_check_relocs): Likewise.  Set per-section has_14bit_branch.
(ppc64_elf_size_stubs): Don't set default group size here.
(group_sections): Instead do so here, and group sections using
their individual requirements.
bfd/ChangeLog
bfd/elf64-ppc.c