bfd/
[binutils-gdb.git] / bfd / ChangeLog
index b03da0c9dee5a57c67b28ef5a999ca2b65d28bd8..643f13e01006bcb99b8668451e9af6ced2517aaf 100644 (file)
@@ -1,3 +1,132 @@
+2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-bfd.h (bfd_elf_special_section): New.
+       (elf_backend_data): Add special_sections, a pointer to
+       bfd_elf_special_section.
+       (elf_section_type). New.
+       (elf_section_flags): New.
+       (_bfd_elf_get_sec_type_attr): New.
+
+       * elf.c (_bfd_elf_make_section_from_shdr): Always use the
+       real section type/flags.
+       (special_sections): New.
+       (get_special_section): New.
+       (_bfd_elf_get_sec_type_attr): New.
+       (_bfd_elf_new_section_hook): Check special_section to set
+       elf_section_type and elf_section_flags.
+       (elf_fake_sections): Don't use section name to set ELF section
+       data.
+
+       * elf32-m32r.c (m32r_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-m68hc11.c (elf32_m68hc11_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-mcore.c (mcore_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-ppc.c (ppc_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-sh64.c (sh64_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-v850.c (v850_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-xtensa.c (elf_xtensa_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf64-alpha.c (elf64_alpha_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf64-hppa.c (elf64_hppa_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf64-ppc.c (ppc64_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf64-sh64.c (sh64_elf64_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elfxx-ia64.c (elfNN_ia64_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elfxx-mips.c (_bfd_mips_elf_special_sections): New.
+
+       * elfxx-mips.h (_bfd_mips_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elfxx-target.h (elf_backend_special_sections): New. Default
+       to NULL.
+       (elfNN_bed): Initialize special_sections.
+
+       * section.c (bfd_abs_section): Remove const.
+       (bfd_und_section): Likewise.
+       (bfd_com_section): Likewise.
+       (bfd_ind_section): Likewise.
+
+2003-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * coff-arm.c (EXTRA_S_FLAGS): Include SEC_CODE so that code
+       sections are assigned the LOAD attribute.
+
+2003-07-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>  
+
+       * elf32-sh.c: Convert to C90.  Replace PTR with void *.
+       * elf32-sh64-com.c: Likewise.
+       * elf32-sh64.c: Likewise.
+       * elf32-sh64.h: Likewise.
+       * elf64-sh64.c: Likewise.
+
+2003-07-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
+       (allocate_dynrelocs): Likewise.
+       (sh_elf_relocate_section): Likewise. Use SYMBOL_REFERENCES_LOCAL.
+       (sh_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
+
+2003-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2003-07-23  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and move
+       near the beginning of the file.  Swap order of arguments.  Call
+       _bfd_elf_dynamic_symbol_p with "ignore_protected" set to 0.
+       (elf_xtensa_fix_refcounts): Adjust xtensa_elf_dynamic_symbol_p call.
+       (elf_xtensa_relocate_section): Likewise.
+       (shrink_dynamic_reloc_sections): Likewise.
+
+2003-07-23  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (plt_reloc_count): Fix typo in comment.
+       (elf_xtensa_size_dynamic_sections): Use elf_discarded_section.
+       (elf_xtensa_combine_prop_entries): Avoid returning non-zero without
+       first printing an error message.
+       (elf_xtensa_finish_dynamic_sections): Likewise.
+       (elf_xtensa_discard_info_for_section): Adjust size of .got.loc when
+       discarding literal table entries.
+       (elf_xtensa_merge_private_bfd_data): Remove newline from error message.
+       (elf_xtensa_do_asm_simplify): Likewise.
+
+2003-07-23  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Avoid crash when
+       we have a local symbol in common section.
+
+2003-07-22  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elflink.c (_bfd_elf_dynamic_symbol_p): Don't return TRUE for
+       weak symbols.
+
+2003-07-22  Nick Clifton  <nickc@redhat.com>
+
+       * coffcode.h (coff_slurp_symbol_table): Add C_TCSYM and C_ECOML to
+       expected RS6000 storage classes.
+
 2003-07-21  H.J. Lu <hongjiu.lu@intel.com>
 
        * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Mark