OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [bfd/] [elf32-spu.h] - Blame information for rev 258

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* SPU specific support for 32-bit ELF.
2
 
3
   Copyright 2006, 2007, 2008 Free Software Foundation, Inc.
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 3 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
 
23
struct spu_elf_stack_info;
24
 
25
struct _spu_elf_section_data
26
{
27
  struct bfd_elf_section_data elf;
28
 
29
  union {
30
    /* Info kept for input sections.  */
31
    struct {
32
      /* Stack analysis info kept for this section.  */
33
      struct spu_elf_stack_info *stack_info;
34
    } i;
35
 
36
    /* Info kept for output sections.  */
37
    struct {
38
      /* Non-zero for overlay output sections.  */
39
      unsigned int ovl_index;
40
      unsigned int ovl_buf;
41
    } o;
42
  } u;
43
};
44
 
45
#define spu_elf_section_data(sec) \
46
  ((struct _spu_elf_section_data *) elf_section_data (sec))
47
 
48
struct _ovl_stream
49
{
50
  const void *start;
51
  const void *end;
52
};
53
 
54
extern void spu_elf_plugin (int);
55
extern bfd_boolean spu_elf_open_builtin_lib (bfd **,
56
                                             const struct _ovl_stream *);
57
extern bfd_boolean spu_elf_create_sections (struct bfd_link_info *, int, int);
58
extern bfd_boolean spu_elf_find_overlays (struct bfd_link_info *);
59
extern int spu_elf_size_stubs (struct bfd_link_info *,
60
                               void (*) (asection *, asection *, const char *),
61
                               int);
62
extern bfd_boolean spu_elf_build_stubs (struct bfd_link_info *, int);
63
extern asection *spu_elf_check_vma (struct bfd_link_info *, int,
64
                                    unsigned int, unsigned int, unsigned int,
65
                                    unsigned int, void (*) (void),
66
                                    FILE *(*) (void), void (*) (void));

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.