Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/bfd/elf-vxworks.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 127  elf_vxworks_create_dynamic_sections (bfd Line 127  elf_vxworks_create_dynamic_sections (bfd
127  }  }
128    
129  /* Tweak magic VxWorks symbols as they are written to the output file.  */  /* Tweak magic VxWorks symbols as they are written to the output file.  */
130  bfd_boolean  int
131  elf_vxworks_link_output_symbol_hook (struct bfd_link_info *info  elf_vxworks_link_output_symbol_hook (struct bfd_link_info *info
132                                         ATTRIBUTE_UNUSED,                                         ATTRIBUTE_UNUSED,
133                                       const char *name,                                       const char *name,
# Line 141  elf_vxworks_link_output_symbol_hook (str Line 141  elf_vxworks_link_output_symbol_hook (str
141        && elf_vxworks_gott_symbol_p (h->root.u.undef.abfd, name))        && elf_vxworks_gott_symbol_p (h->root.u.undef.abfd, name))
142      sym->st_info = ELF_ST_INFO (STB_GLOBAL, ELF_ST_TYPE (sym->st_info));      sym->st_info = ELF_ST_INFO (STB_GLOBAL, ELF_ST_TYPE (sym->st_info));
143    
144    return TRUE;    return 1;
145  }  }
146    
147  /* Copy relocations into the output file.  Fixes up relocations against PLT  /* Copy relocations into the output file.  Fixes up relocations against PLT

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