Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/bfd/elf32-bfin.c

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

revision 20 by monabuilder, Sun Dec 7 02:23:44 2008 UTC revision 21 by monamour, Mon Jul 27 20:34:36 2009 UTC
# Line 23  Line 23 
23  #include "libbfd.h"  #include "libbfd.h"
24  #include "elf-bfd.h"  #include "elf-bfd.h"
25  #include "elf/bfin.h"  #include "elf/bfin.h"
26  #include "elf/dwarf2.h"  #include "dwarf2.h"
27  #include "hashtab.h"  #include "hashtab.h"
28    
29  /* FUNCTION : bfin_pltpc_reloc  /* FUNCTION : bfin_pltpc_reloc
# Line 1123  bfin_reloc_type_lookup (bfd * abfd ATTRI Line 1123  bfin_reloc_type_lookup (bfd * abfd ATTRI
1123     bfin local labels begin with L$.  */     bfin local labels begin with L$.  */
1124  static bfd_boolean  static bfd_boolean
1125  bfin_is_local_label_name (  bfin_is_local_label_name (
1126       bfd *abfd ATTRIBUTE_UNUSED,       bfd *abfd,
1127       const char *label)       const char *label)
1128  {  {
1129    if (label[0] == 'L' && label[1] == '$' )    if (label[0] == 'L' && label[1] == '$' )
# Line 3351  bfinfdpic_gc_sweep_hook (bfd *abfd, Line 3351  bfinfdpic_gc_sweep_hook (bfd *abfd,
3351     relocate independently.  */     relocate independently.  */
3352  static bfd_boolean  static bfd_boolean
3353  _bfinfdpic_link_omit_section_dynsym (bfd *output_bfd ATTRIBUTE_UNUSED,  _bfinfdpic_link_omit_section_dynsym (bfd *output_bfd ATTRIBUTE_UNUSED,
3354                                      struct bfd_link_info *info                                      struct bfd_link_info *info ATTRIBUTE_UNUSED,
3355                                      ATTRIBUTE_UNUSED,                                      asection *p)
                                     asection *p ATTRIBUTE_UNUSED)  
3356  {  {
3357    switch (elf_section_data (p)->this_hdr.sh_type)    switch (elf_section_data (p)->this_hdr.sh_type)
3358      {      {
# Line 4415  elf32_bfinfdpic_finish_dynamic_sections Line 4414  elf32_bfinfdpic_finish_dynamic_sections
4414    
4415  static bfd_boolean  static bfd_boolean
4416  elf32_bfinfdpic_adjust_dynamic_symbol  elf32_bfinfdpic_adjust_dynamic_symbol
4417  (struct bfd_link_info *info ATTRIBUTE_UNUSED,  (struct bfd_link_info *info,
4418   struct elf_link_hash_entry *h ATTRIBUTE_UNUSED)   struct elf_link_hash_entry *h)
4419  {  {
4420    bfd * dynobj;    bfd * dynobj;
4421    
# Line 4967  struct bfin_link_hash_table Line 4966  struct bfin_link_hash_table
4966  {  {
4967    struct elf_link_hash_table root;    struct elf_link_hash_table root;
4968    
4969    /* Small local sym to section mapping cache.  */    /* Small local sym cache.  */
4970    struct sym_sec_cache sym_sec;    struct sym_cache sym_cache;
4971  };  };
4972    
4973  #define bfin_hash_entry(ent) ((struct bfin_link_hash_entry *) (ent))  #define bfin_hash_entry(ent) ((struct bfin_link_hash_entry *) (ent))
# Line 5014  bfin_link_hash_table_create (bfd * abfd) Line 5013  bfin_link_hash_table_create (bfd * abfd)
5013        return NULL;        return NULL;
5014      }      }
5015    
5016    ret->sym_sec.abfd = NULL;    ret->sym_cache.abfd = NULL;
5017    
5018    return &ret->root.root;    return &ret->root.root;
5019  }  }

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