2005-07-25 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (elf_backend_data): Add common_definition, common_section_index, common_section, and merge_symbol. (_bfd_elf_common_definition): New. (_bfd_elf_common_section_index): New. (_bfd_elf_common_section): New. * elf.c (elf_fake_sections): Don't clear sh_flags. * elflink.c (_bfd_elf_merge_symbol): Call backend merge_symbol if it is available. (is_global_data_symbol_definition): Call backend common_definition instead of checking SHN_COMMON. (elf_link_add_object_symbols): Likewise. (elf_link_output_extsym): Call backend common_section_index for common section index. (_bfd_elf_common_definition): New. (_bfd_elf_common_section_index): New. (_bfd_elf_common_section): New. * elfxx-target.h (elf_backend_common_definition): New. (elf_backend_common_section_index): New. (elf_backend_common_section): New. (elf_backend_merge_symbol): New. (elfNN_bed): Initialize common_definition, common_section_index, common_section, and merge_symbol. * section.c (BFD_FAKE_SECTION): New. (STD_SECTION): Use it. * bfd-in2.h: Regenerated.
Showing
- bfd/ChangeLog 32 additions, 0 deletionsbfd/ChangeLog
- bfd/bfd-in2.h 41 additions, 0 deletionsbfd/bfd-in2.h
- bfd/elf-bfd.h 33 additions, 0 deletionsbfd/elf-bfd.h
- bfd/elf.c 1 addition, 1 deletionbfd/elf.c
- bfd/elflink.c 44 additions, 9 deletionsbfd/elflink.c
- bfd/elfxx-target.h 20 additions, 0 deletionsbfd/elfxx-target.h
- bfd/section.c 43 additions, 40 deletionsbfd/section.c
Loading
Please register or sign in to comment