diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-05-02 09:48:15 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2002-05-02 09:48:15 +0000 |
commit | 7c2940fbf7f72f0d865519ca5ad2efc57fa9fbf9 (patch) | |
tree | 2d39df0e7e8527b1fcdef57e6c9599f821b0bbf6 /bfd/elf64-ppc.h | |
parent | 6c1073c0ebb63d6754888c8708deb092cd166a72 (diff) | |
download | binutils-redhat-7c2940fbf7f72f0d865519ca5ad2efc57fa9fbf9.tar.gz |
* elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete.
(ppc64_elf_ha_reloc): New function.
(ppc64_elf_brtaken_reloc): New function.
(ppc64_elf_sectoff_reloc): New function.
(ppc64_elf_sectoff_ha_reloc): New function.
(ppc64_elf_toc_reloc): New function.
(ppc64_elf_toc_ha_reloc): New function.
(ppc64_elf_toc64_reloc): New function.
(ppc64_elf_unhandled_reloc): New function.
(ppc64_elf_howto_raw): Use the above.
<R_PPC64_RELATIVE>: Mark pc_relative, pcrel_offset.
<R_PPC64_SECTOFF>: Not pc_relative or pcrel_offset. Fix dst_mask.
<R_PPC64_SECTOFF_DS>: Likewise.
(IS_ABSOLUTE_RELOC): Update.
(struct ppc_link_hash_table): Add have_undefweak.
(ppc64_elf_link_hash_table_create): Init.
(func_desc_adjust): Set have_undefweak.
(ppc64_elf_func_desc_adjust): Call func_desc_adjust earlier. Only
add the .sfpr blr when have_undefweak.
(ppc64_elf_setup_section_lists): Check hash table flavour.
(ppc64_elf_next_input_section): Move output_section->owner test to
ppc64elf.em.
(ppc64_elf_set_toc): Rename to ppc64_elf_toc, remove info param
and relocatable test. Return TOCstart and don't set elf_gp.
(ppc64_elf_relocate_section): Correct BRTAKEN/BRNTAKEN branch
offset calculation. Add assert on weak sym branch tweaks.
* elf64-ppc.h (ppc64_elf_set_toc): Delete.
(ppc64_elf_toc): Declare.
(ppc64_elf_next_input_section): Update.
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
Adjust for ppc64_elf_set_toc change. #include libbfd.h.
(build_section_lists): Do output_section tests here.
Diffstat (limited to 'bfd/elf64-ppc.h')
-rw-r--r-- | bfd/elf64-ppc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elf64-ppc.h b/bfd/elf64-ppc.h index f5f6a8d74a..86f687ee0f 100644 --- a/bfd/elf64-ppc.h +++ b/bfd/elf64-ppc.h @@ -17,12 +17,12 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -boolean ppc64_elf_set_toc - PARAMS ((bfd *, struct bfd_link_info *)); +bfd_vma ppc64_elf_toc + PARAMS ((bfd *)); int ppc64_elf_setup_section_lists PARAMS ((bfd *, struct bfd_link_info *)); void ppc64_elf_next_input_section - PARAMS ((bfd *, struct bfd_link_info *, asection *)); + PARAMS ((struct bfd_link_info *, asection *)); boolean ppc64_elf_size_stubs PARAMS ((bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma, asection *(*) (const char *, asection *), void (*) (void))); |