bfd/
[binutils-gdb.git] / bfd / ChangeLog
index 5fe2b33f3e494a7796af9c8ad33e746e422022b4..643f13e01006bcb99b8668451e9af6ced2517aaf 100644 (file)
@@ -1,3 +1,77 @@
+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 *.