Import binutils 2.18
[nacl-binutils.git] / bfd / elf64-ppc.h
blobcdd79d24786c12775ebf6f6177554624f60ee5a7
1 /* PowerPC64-specific support for 64-bit ELF.
2 Copyright 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
4 This file is part of BFD, the Binary File Descriptor library.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
19 MA 02110-1301, USA. */
21 void ppc64_elf_init_stub_bfd
22 (bfd *, struct bfd_link_info *);
23 bfd_boolean ppc64_elf_edit_opd
24 (bfd *, struct bfd_link_info *, bfd_boolean, bfd_boolean);
25 asection *ppc64_elf_tls_setup
26 (bfd *, struct bfd_link_info *);
27 bfd_boolean ppc64_elf_tls_optimize
28 (bfd *, struct bfd_link_info *);
29 bfd_boolean ppc64_elf_edit_toc
30 (bfd *, struct bfd_link_info *);
31 bfd_vma ppc64_elf_toc
32 (bfd *);
33 int ppc64_elf_setup_section_lists
34 (bfd *, struct bfd_link_info *, int);
35 void ppc64_elf_next_toc_section
36 (struct bfd_link_info *, asection *);
37 void ppc64_elf_reinit_toc
38 (bfd *, struct bfd_link_info *);
39 bfd_boolean ppc64_elf_next_input_section
40 (struct bfd_link_info *, asection *);
41 bfd_boolean ppc64_elf_size_stubs
42 (bfd *, struct bfd_link_info *, bfd_signed_vma,
43 asection *(*) (const char *, asection *), void (*) (void));
44 bfd_boolean ppc64_elf_build_stubs
45 (bfd_boolean, struct bfd_link_info *, char **);
46 void ppc64_elf_restore_symbols
47 (struct bfd_link_info *info);