* bfd-in.h (struct stab_info): Move from stabs.c.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 112d4c7b36b6123c9db42d8e30b4b8114818da6a..9fff848b7bed3e3e582cba43aa4522ab52904a19 100644 (file)
@@ -1,3 +1,81 @@
+2004-06-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd-in.h (struct stab_info): Move from stabs.c.
+       * stabs.c (struct stab_link_includes_table): Delete.
+       (stab_link_includes_lookup): Delete.
+       (_bfd_write_section_stabs, _bfd_write_stab_strings): Remove one
+       level of indirection from sinfo parm.
+       (_bfd_link_section_stabs): Likewise.  Set SEC_LINKER_CREATED on
+       stabstr section.  Adjust hash table accesses.
+       * coff-ppc.c (ppc_bfd_coff_final_link): Do include rawsize in contents
+       alloc.  Adjust stab_info test.
+       * cofflink.c (_bfd_coff_link_hash_table_init): Clear stab_info.
+       (_bfd_coff_final_link): Adjust stab_info test.
+       (_bfd_coff_link_input_bfd): Ignore SEC_LINKER_CREATED sections.
+       * elf-bfd.h (struct elf_link_hash_table): Include struct stab_info
+       in place.
+       * libcoff-in.h (struct coff_link_hash_table): Likewise.
+       * elf.c (_bfd_elf_link_hash_table_init): Clear stab_info.
+       * elflink.c (bfd_elf_final_link): Don't attempt to link linker created
+       stabstr section.  Adjust stab_info test.
+       * libbfd-in.h (_bfd_link_section_stabs, _bfd_write_section_stabs)
+       (_bfd_write_stab_strings): Adjust prototypes.
+       * libbfd.h: Regenerate.
+       * libcoff.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2004-06-27  Mark Kettenis  <kettenis@gnu.org>
+
+       From Miod Vallat <miod@online.fr>:
+       * aoutx.h (NAME(aout,machine_type)): Handle bfd_arch_m88k.
+
+2004-06-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): Delete.
+       (struct elf32_mn10300_link_hash_entry): Remove
+       pcrel_relocs_copied.
+       (mn10300_elf_check_relocs): Only reserve dynamic relocations for
+       R_MN10300_32.  Don't adjust pcrel_relocs_copied.
+       (mn10300_elf_final_link_relocate): Fail for direct, pc-relative
+       and gotoff relocations if the symbol doesn't bind locally.  Use
+       _bfd_elf_symbol_refs_local_p to test.  Don't create dynamic
+       relocation for PCREL32.
+       (mn10300_elf_relocate_section): Use _bfd_elf_symbol_refs_local_p
+       to test whether a symbol binds locally.
+       (elf32_mn10300_link_hash_newfunc): Don't initialize
+       pcrel_relocs_copied.
+       (_bfd_mn10300_elf_discard_copies): Delete.
+       (_bfd_mn10300_elf_size_dynamic_sections): Don't call it.
+
+2004-06-26  Mark Kettenis  <kettenis@gnu.org>
+
+       * config.bfd: Replace m88k-*-openbsd* with m88*-*-openbsd*.
+
+2004-06-25  Joel Brobecker  <brobecker@gnat.com>
+
+       * som.c (som_set_reloc_info): Correct small typo.
+
+2004-06-25  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
+
+       * elf32-m32r.c (m32r_elf_howto_table): Support R_M32R_GOTOFF.
+       (m32r_elf_relocate_section): Changed for R_M32R_GOTOFF.
+       (m32r_elf_gcsweep_hook): Likewise.
+       (m32r_elf_check_relocs): Likewise.
+       (m32r_elf_howto_table): Added R_M32R_GOTOFF_HI_ULO,
+       R_M32R_GOTOFF_HI_SLO and R_M32R_GOTOFF_LO.
+       * reloc.c: Added BFD_RELOC_M32R_GOTOFF_HI_ULO,
+       BFD_RELOC_M32R_GOTOFF_HI_SLO and BFD_RELOC_M32R_GOTOFF_LO.
+       * bfd-in2.h: Regenerated.
+       * libbfd.h: Regenerated.
+
+2004-06-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf64-x86-64.c (elf64_x86_64_check_relocs): Warn overflow
+       relocation symbol.
+       (elf64_x86_64_relocate_section): Issue an error for
+       R_X86_64_PC8, R_X86_64_PC16 and R_X86_64_PC32 relocations
+       against global symbols when building shared library.
+
 2004-06-24  Alan Modra  <amodra@bigpond.net.au>
 
        * section.c (struct sec): Rename "_cooked_size" to "size".
This page took 0.026269 seconds and 4 git commands to generate.