Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/bfd/elf32-spu.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 20 by monabuilder, Tue Dec 23 04:51:51 2008 UTC revision 21 by monamour, Mon Jul 27 20:34:36 2009 UTC
# Line 1  Line 1 
1  /* SPU specific support for 32-bit ELF.  /* SPU specific support for 32-bit ELF.
2    
3     Copyright 2006, 2007, 2008 Free Software Foundation, Inc.     Copyright 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
4    
5     This file is part of BFD, the Binary File Descriptor library.     This file is part of BFD, the Binary File Descriptor library.
6    
# Line 35  struct spu_elf_params Line 35  struct spu_elf_params
35  #define OVERLAY_RODATA 4  #define OVERLAY_RODATA 4
36    
37    /* Type of overlays, enum _ovly_flavour.  */    /* Type of overlays, enum _ovly_flavour.  */
38    unsigned int ovly_flavour : 2;    unsigned int ovly_flavour : 1;
39      unsigned int compact_stub : 1;
40    
41    /* Set if we should emit symbols for stubs.  */    /* Set if we should emit symbols for stubs.  */
42    unsigned int emit_stub_syms : 1;    unsigned int emit_stub_syms : 1;
# Line 44  struct spu_elf_params Line 45  struct spu_elf_params
45       non-overlay regions.  */       non-overlay regions.  */
46    unsigned int non_overlay_stubs : 1;    unsigned int non_overlay_stubs : 1;
47    
48      /* Set if lr liveness analysis should be done.  */
49      unsigned int lrlive_analysis : 1;
50    
51    /* Set if stack size analysis should be done.  */    /* Set if stack size analysis should be done.  */
52    unsigned int stack_analysis : 1;    unsigned int stack_analysis : 1;
53    
54    /* Set if __stack_* syms will be emitted.  */    /* Set if __stack_* syms will be emitted.  */
55    unsigned int emit_stack_syms : 1;    unsigned int emit_stack_syms : 1;
56    
57      /* Set if non-icache code should be allowed in icache lines.  */
58      unsigned int non_ia_text : 1;
59    
60    /* Range of valid addresses for loadable sections.  */    /* Range of valid addresses for loadable sections.  */
61    bfd_vma local_store_lo;    bfd_vma local_store_lo;
62    bfd_vma local_store_hi;    bfd_vma local_store_hi;
63    
64    /* Control --auto-overlay feature.  */    /* Control --auto-overlay feature.  */
65    unsigned int num_regions;    unsigned int num_lines;
66      unsigned int line_size;
67      unsigned int max_branch;
68    unsigned int auto_overlay_fixed;    unsigned int auto_overlay_fixed;
69    unsigned int auto_overlay_reserved;    unsigned int auto_overlay_reserved;
70    int extra_stack_space;    int extra_stack_space;
# Line 90  struct _spu_elf_section_data Line 99  struct _spu_elf_section_data
99    
100  enum _ovly_flavour  enum _ovly_flavour
101  {  {
   ovly_compact,  
102    ovly_normal,    ovly_normal,
103    ovly_none    ovly_soft_icache
104  };  };
105    
106  struct _ovl_stream  struct _ovl_stream
# Line 106  extern void spu_elf_plugin (int); Line 114  extern void spu_elf_plugin (int);
114  extern bfd_boolean spu_elf_open_builtin_lib (bfd **,  extern bfd_boolean spu_elf_open_builtin_lib (bfd **,
115                                               const struct _ovl_stream *);                                               const struct _ovl_stream *);
116  extern bfd_boolean spu_elf_create_sections (struct bfd_link_info *);  extern bfd_boolean spu_elf_create_sections (struct bfd_link_info *);
117  extern bfd_boolean spu_elf_find_overlays (struct bfd_link_info *);  extern int spu_elf_find_overlays (struct bfd_link_info *);
118  extern int spu_elf_size_stubs (struct bfd_link_info *);  extern int spu_elf_size_stubs (struct bfd_link_info *);
119  extern bfd_boolean spu_elf_build_stubs (struct bfd_link_info *);  extern void spu_elf_place_overlay_data (struct bfd_link_info *);
120  extern asection *spu_elf_check_vma (struct bfd_link_info *);  extern asection *spu_elf_check_vma (struct bfd_link_info *);

Legend:
Removed from v.20  
changed lines
  Added in v.21

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26