2007-06-29 Paul Brook <paul@codesourcery.com>
[deliverable/binutils-gdb.git] / bfd / elf32-spu.h
CommitLineData
e9f53129
AM
1/* SPU specific support for 32-bit ELF.
2
7a8757b3 3 Copyright 2006, 2007 Free Software Foundation, Inc.
e9f53129
AM
4
5 This file is part of BFD, the Binary File Descriptor library.
6
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 2 of the License, or
10 (at your option) any later version.
11
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.
16
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 Foundation,
19 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
20
21/* Extra info kept for SPU sections. */
22
49fa1e15
AM
23struct spu_elf_stack_info;
24
e9f53129
AM
25struct _spu_elf_section_data
26{
27 struct bfd_elf_section_data elf;
28
49fa1e15
AM
29 /* Stack analysis info kept for this section. */
30
31 struct spu_elf_stack_info *stack_info;
32
e9f53129
AM
33 /* Non-zero for overlay output sections. */
34 unsigned int ovl_index;
35};
36
37#define spu_elf_section_data(sec) \
38 ((struct _spu_elf_section_data *) elf_section_data (sec))
39
40struct _ovl_stream
41{
7a8757b3
AM
42 const void *start;
43 const void *end;
e9f53129
AM
44};
45
46extern void spu_elf_plugin (int);
47extern bfd_boolean spu_elf_open_builtin_lib (bfd **,
48 const struct _ovl_stream *);
49extern bfd_boolean spu_elf_create_sections (bfd *,
49fa1e15 50 struct bfd_link_info *, int, int);
e9f53129 51extern bfd_boolean spu_elf_find_overlays (bfd *, struct bfd_link_info *);
49fa1e15 52extern bfd_boolean spu_elf_size_stubs (bfd *, struct bfd_link_info *, int, int,
e9f53129
AM
53 asection **, asection **,
54 asection **);
55extern bfd_boolean spu_elf_build_stubs (struct bfd_link_info *, int,
56 asection *);
57extern asection *spu_elf_check_vma (bfd *, bfd_vma, bfd_vma);
This page took 0.078489 seconds and 4 git commands to generate.