elf32-ppc.h revision 302408
1/* PowerPC-specific support for 64-bit ELF.
2   Copyright 2003, 2005, 2007 Free Software Foundation, Inc.
3
4This file is part of BFD, the Binary File Descriptor library.
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
19
20enum ppc_elf_plt_type {
21  PLT_UNSET,
22  PLT_OLD,
23  PLT_NEW,
24  PLT_VXWORKS
25};
26
27int ppc_elf_select_plt_layout (bfd *, struct bfd_link_info *,
28			       enum ppc_elf_plt_type, int);
29asection *ppc_elf_tls_setup (bfd *, struct bfd_link_info *);
30bfd_boolean ppc_elf_tls_optimize (bfd *, struct bfd_link_info *);
31void ppc_elf_set_sdata_syms (bfd *, struct bfd_link_info *);
32