* elf-bfd.h (ELF_COMMON_DEF_P): New.
[binutils-gdb.git] / bfd / ChangeLog
index b300f86917b984e3ab5ee2a327f7fcb5db2636c7..2f4b51952ca75c216d851c88db595441bfdb7bea 100644 (file)
@@ -1,3 +1,45 @@
+2004-07-21  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf-bfd.h (ELF_COMMON_DEF_P): New.
+       * elflink.c (_bfd_elf_symbol_refs_local_p): Use it to handle
+       common definitions.
+       * elf-m10300.c: Use SYMBOL_REFERENCES_LOCAL instead of
+       _bfd_elf_symbol_refs_local_p.
+       * elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove hack for common
+       symbols.
+
+2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd-in.h (dynamic_lib_link_class): Add DYN_NO_ADD_NEEDED and
+       DYN_NO_NEEDED.
+       (bfd_elf_get_dyn_lib_class): New prototype.
+       * elf.c (bfd_elf_get_dyn_lib_class): New function.
+
+       * elflink.c (elf_link_add_object_symbols): Check DYN_AS_NEEDED,
+       DYN_DT_NEEDED and DYN_NO_NEEDED bits to see if a DT_NEEDED
+       entry is needed. Issue an error if a DT_NEEDED entry is needed
+       for a file marked DYN_NO_NEEDED.
+       (elf_link_check_versioned_symbol): Check the DYN_DT_NEEDED bit
+       for DT_NEEDED tags.
+
+       * bfd-in2.h: Regenerated.
+
+2004-07-14  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * elflink.c (elf_section_complain_discarded): Don't complain in
+       .PARISC.unwind.
+
+2004-07-10  James E Wilson  <wilson@specifixinc.com>
+
+       * elfxx-ia64.c (elfNN_ia64_relax_ldxmov): Remove abfd parameter.
+       (elfNN_ia64_install_value, elfNN_ia64_relax_brl): Likewise.
+       (elfNN_ia64_relax_section, elfNN_ia64_relocate_section,
+       elfNN_ia64_finish_dynamic_symbol, elfNN_ia64_finish_dynamic_sections):
+       Fix callers.
+       (elfNN_ia64_relax_brl): Change bfd_get_64 to bfd_getl64.  Change
+       bfd_put_64 to bfd_putl64.
+       (elfNN_ia64_relax_ldxmov, elfNN_ia64_install_value): Likewise.
+       
 2004-07-09  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR 240