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