Develop and Download Open Source Software

Browse Subversion Repository

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

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

revision 20 by monamour, Thu Dec 4 05:12:56 2008 UTC revision 21 by monamour, Mon Jul 27 20:34:36 2009 UTC
# Line 60  static int sh64_elf_get_symbol_type Line 60  static int sh64_elf_get_symbol_type
60  static bfd_boolean sh64_elf_add_symbol_hook  static bfd_boolean sh64_elf_add_symbol_hook
61    (bfd *, struct bfd_link_info *, Elf_Internal_Sym *, const char **,    (bfd *, struct bfd_link_info *, Elf_Internal_Sym *, const char **,
62     flagword *, asection **, bfd_vma *);     flagword *, asection **, bfd_vma *);
63  static bfd_boolean sh64_elf_link_output_symbol_hook  static int sh64_elf_link_output_symbol_hook
64    (struct bfd_link_info *, const char *, Elf_Internal_Sym *, asection *,    (struct bfd_link_info *, const char *, Elf_Internal_Sym *, asection *,
65     struct elf_link_hash_entry *);     struct elf_link_hash_entry *);
66  static bfd_boolean sh64_backend_section_from_shdr  static bfd_boolean sh64_backend_section_from_shdr
# Line 477  sh64_elf_add_symbol_hook (bfd *abfd, str Line 477  sh64_elf_add_symbol_hook (bfd *abfd, str
477     we don't need to look up and make sure to emit the main symbol for each     we don't need to look up and make sure to emit the main symbol for each
478     DataLabel symbol.  */     DataLabel symbol.  */
479    
480  bfd_boolean  static int
481  sh64_elf_link_output_symbol_hook (struct bfd_link_info *info,  sh64_elf_link_output_symbol_hook (struct bfd_link_info *info,
482                                    const char *cname,                                    const char *cname,
483                                    Elf_Internal_Sym *sym,                                    Elf_Internal_Sym *sym,
# Line 492  sh64_elf_link_output_symbol_hook (struct Line 492  sh64_elf_link_output_symbol_hook (struct
492          name[strlen (name) - strlen (DATALABEL_SUFFIX)] = 0;          name[strlen (name) - strlen (DATALABEL_SUFFIX)] = 0;
493      }      }
494    
495    return TRUE;    return 1;
496  }  }
497    
498  /* Check a SH64-specific reloc and put the value to relocate to into  /* Check a SH64-specific reloc and put the value to relocate to into

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