bfd/
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 4b101b29300417788d6f91c4d9d9679655577f04..27813dcff5f8d5fb9ce126c09a1551b8fcfe6fd1 100644 (file)
@@ -1,3 +1,243 @@
+2004-09-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (AUTOMAKE_OPTIONS): Require 1.9.
+       (CONFIG_STATUS_DEPENDENCIES): New.
+       (Makefile): Removed.
+       (config.status): Likewise.
+       * Makefile.in: Regenerated.
+
+2004-09-17  Paul Brook  <paul@codesourcery.com>
+
+       * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add prototype.
+       (bfd_elf32_arm_process_before_allocation): Update prototype.
+       * bfd-in2.h: Regenerate.
+       * bfd/elf32-arm.h (elf32_arm_link_hash_table): Add target2_reloc.
+       (elf32_arm_link_hash_table_create): Set it.
+       (bfd_elf32_arm_process_before_allocation): Remove target1_is_rel.
+       (bfd_elf32_arm_set_target_relocs): New function.
+       (arm_real_reloc_type): New function.
+       (elf32_arm_final_link_relocate): Use it.  Handle R_ARM_PREL31 and
+       R_ARM_GOT_PREL.  Remove R_ARM_TARGET1.
+       (elf32_arm_gc_sweep_hook): Ditto.
+       (elf32_arm_check_relocs): Ditto.
+       (elf32_arm_relocate_section): Handle R_ARM_GOT_PREL.
+       * elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_PREL31 and
+       R_ARM_GOT_TARGET2.
+       (elf32_arm_got_prel): New variable.
+       (elf32_arm_howto_from_type): New function.
+       (elf32_arm_info_to_howto): Use it.
+       (elf32_arm_reloc_map): Add BFD_RELOC_ARM_PREL31 and
+       BFD_RELOC_ARM_TARGET2.
+       * libbfd.h: Regenerate.
+       * reloc.c: Add BFD_RELOC_ARM_TARGET2 and BFD_RELOC_ARM_PREL31.
+
+2004-09-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * ecoff.c: Update u.undef.next refs.
+       * elf64-ppc.c: Likewise.
+       * elflink.c: Likewise.
+       * linker.c: Likewise.
+       * xcofflink.c: Likewise.
+
+       * elf-bfd.h (struct elf_link_hash_entry): Rearrange.  Add FIXME to
+       dynamic_def.  Combine weakdef and elf_hash_value.  Move vtable
+       fields to indirect struct.
+       * elf-m10300.c: Update u.weakdef refs.
+       * elf32-arm.h: Likewise.
+       * elf32-cris.c: Likewise.
+       * elf32-frv.c: Likewise.
+       * elf32-hppa.c: Likewise.
+       * elf32-i370.c: Likewise.
+       * elf32-i386.c: Likewise.
+       * elf32-m32r.c: Likewise.
+       * elf32-m68k.c: Likewise.
+       * elf32-ppc.c: Likewise.
+       * elf32-s390.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf32-sparc.c: Likewise.
+       * elf32-vax.c: Likewise.
+       * elf32-xtensa.c: Likewise.
+       * elf64-alpha.c: Likewise.
+       * elf64-hppa.c: Likewise.
+       * elf64-ppc.c: Likewise.
+       * elf64-s390.c: Likewise.
+       * elf64-sh64.c: Likewise.
+       * elf64-sparc.c: Likewise.
+       * elf64-x86-64.c: Likewise.
+       * elfxx-ia64.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       * elflink.c: Likewise.  Also u.elf_hash_value.
+       (elf_gc_propagate_vtable_entries_used): Update for h->vtable
+       indirection.
+       (elf_gc_smash_unused_vtentry_relocs): Likewise.
+       (bfd_elf_gc_record_vtinherit): Alloc vtable.
+       (bfd_elf_gc_record_vtentry): Likewise.
+       * elf.c (_bfd_elf_link_hash_newfunc): Use memset.
+
+2004-09-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * bfd-in2.h: Regenerate.
+       * po/SRC-POTFILES.in: Regenerate.
+       * po/bfd.pot: Regenerate.
+
+2004-09-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (struct elf_link_hash_entry): Replace elf_link_hash_flags
+       with bitfields.  Make "type" and "other" bitfields too.
+       (ELF_LINK_HASH_REF_REGULAR, ELF_LINK_HASH_DEF_REGULAR,
+       ELF_LINK_HASH_REF_DYNAMIC, ELF_LINK_HASH_DEF_DYNAMIC,
+       ELF_LINK_HASH_REF_REGULAR_NONWEAK, ELF_LINK_HASH_DYNAMIC_ADJUSTED,
+       ELF_LINK_HASH_NEEDS_COPY, ELF_LINK_HASH_NEEDS_PLT, ELF_LINK_NON_ELF,
+       ELF_LINK_HIDDEN, ELF_LINK_FORCED_LOCAL, ELF_LINK_HASH_MARK,
+       ELF_LINK_NON_GOT_REF, ELF_LINK_DYNAMIC_DEF, ELF_LINK_DYNAMIC_WEAK,
+       ELF_LINK_POINTER_EQUALITY_NEEDED): Delete.
+       (ELF_COMMON_DEF_P, WILL_CALL_FINISH_DYNAMIC_SYMBOL): Update.
+       * elf-hppa.h: Update all uses of elf_link_hash_flags.
+       * elf-m10300.c: Likewise.
+       * elf.c: Likewise.
+       * elf32-arm.h: Likewise.
+       * elf32-cris.c: Likewise.
+       * elf32-frv.c: Likewise.
+       * elf32-hppa.c: Likewise.
+       * elf32-i370.c: Likewise.
+       * elf32-i386.c: Likewise.
+       * elf32-m32r.c: Likewise.
+       * elf32-m68k.c: Likewise.
+       * elf32-ppc.c: Likewise.
+       * elf32-s390.c: Likewise.
+       * elf32-sh-symbian.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf32-sh64.c: Likewise.
+       * elf32-sparc.c: Likewise.
+       * elf32-vax.c: Likewise.
+       * elf32-xtensa.c: Likewise.
+       * elf64-alpha.c: Likewise.
+       * elf64-hppa.c: Likewise.
+       * elf64-ppc.c: Likewise.
+       * elf64-s390.c: Likewise.
+       * elf64-sh64.c: Likewise.
+       * elf64-sparc.c: Likewise.
+       * elf64-x86-64.c: Likewise.
+       * elflink.c: Likewise.
+       * elfxx-ia64.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       * configure.in (AM_INIT_AUTOMAKE): Set version to 2.15.92.
+       * configure: Regenerate.
+       * aclocal.m4: Regenerate.
+
+2004-09-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-arm.h (elf32_arm_gc_sweep_hook): Add #ifndef OLD_ARM_ABI
+       around uses of R_ARM_TARGET1.
+       (elf32_arm_check_relocs): Likewise.
+
+2004-09-13  Paul Brook  <paul@codesourcery.com>
+
+       * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update
+       prototype.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * elf32-arm.h (elf32_arm_link_hash_table): Add target1_is_rel.
+       (elf32_arm_link_hash_table_create): Set target1_is_rel.
+       (bfd_elf32_arm_process_before_allocation): Ditto.
+       (elf32_arm_final_link_relocate): Handle R_ARM_TARGET1.
+       (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto.
+       * elfarm-nabi.c (elf32_arm_howto_table): Rename RELABS to TARGET1.
+       * reloc.c: Ditto.
+
+2004-09-10  Joel Brobecker  <brobecker@gnat.com>
+
+       * hpux-core.c (thread_section_p): New function.
+       (hpux_core_core_file_p): Fix computation of offset in call
+       to bfd_seek. Create a ".reg" section from an arbitrary
+       ".reg/<id>" section if none was created after having read
+       all sections.
+
+2004-09-11  Andreas Schwab  <schwab@suse.de>
+
+       * acinclude.m4: Fix spelling of ACX_NONCANONICAL_*.
+       * aclocal.m4: Rebuild.
+       * configure: Rebuild.
+
+2004-09-10  Joel Brobecker  <brobecker@gnat.com>
+
+       * section.c (bfd_sections_find_if): Fix parameter name in
+       comment to match code.
+
+2004-09-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c  (assign_file_positions_except_relocs): Assign relocs
+       stored in a bfd section.
+
+2004-09-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * elf32-cris.c (elf_cris_adjust_gotplt_to_got): Reset
+       h->gotplt_refcount to 0, not -1.
+
+2004-09-07  Hans-Peter Nilsson  <hp@axis.com>
+
+       * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOTPLT,
+       case R_CRIS_32_GOTPLT>: For internal error message, handle NULL
+       symname.
+       (cris_elf_check_relocs) <case R_CRIS_32_PLT_PCREL>: Don't try to
+       handle symbol visibility here.
+
+2004-09-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (struct ppc_link_hash_table): Add stub_globals.
+       (is_ppc64_elf_target): Rename from is_ppc64_target.  Update all
+       callers.
+       (ppc_stub_name): Remove trailing "+0" on stub name.
+       (create_linkage_sections): Create relocations for
+       branch lookup table when --emit-relocs as well as when --shared.
+       (ppc_build_one_stub): Emit relocs for long branch stubs.  Adjust
+       relbrlt test.  For --emit-stub-syms, always output a sym even when
+       one already exists on a plt call stub.  Put stub type in the stub
+       symbol name.
+       (ppc_size_one_stub): Size long branch stub relocs.  Adjust relbrlt
+       test.
+       (ppc64_elf_size_stubs): Count global sym stubs added.  Zero
+       reloc_count in stub sections.  Adjust relbrlt test.
+       (ppc64_elf_build_stubs): Adjust relbrlt test.  Tweak stats output.
+       * elflink.c (bfd_elf_size_dynamic_sections): Fix comment typo.
+       (elf_link_input_bfd): Ignore symbol index zero relocs when checking
+       for relocs against discarded symbols.  Fix comments.
+
+2004-09-06  Mark Mitchell  <mark@codesourcery.com>
+
+       * elf-bfd.h (_bfd_elf_make_dynamic_segment): Declare it.
+       * elf.c (_bfd_elf_make_dynamic_segment): New function, split out
+       from ...
+       (map_sections_to_segments): ... here.  Use it.  Assign a file
+       position to the .dynamic section if it is not loadable, but part
+       of the PT_DYNAMIC segment.
+       * elf32-arm.h (elf32_arm_finish_dynamic_sections): Use file
+       offsets, not VMAs, for the BPABI.  Do not fill in the header in
+       the .got.plt section for the BPABI.
+       * elfarm-nabi.c (elf32_arm_symbian_modify_segment_map): Add a
+       PT_DYNAMIC segment.
+       (elf_backend_want_got_plt): Define to zero for Symbian OS.
+       
+2004-09-06  Nick Clifton  <nickc@redhat.com>
+
+       * elflink.c (elf_link_add_object_symbols): Set the error code to
+       bfd_error_wrong_format when the input format does not match the
+       output format.
+
+2004-09-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (is_ppc64_target): New function, extracted from..
+       (ppc64_elf_check_directives): ..here.
+       (ppc64_elf_size_dynamic_sections): Use it here to check bfd type
+       before accessing ppc64_elf_tdata.
+       (ppc64_elf_finish_dynamic_sections): And here too.
+
+2004-09-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd.c (_bfd_default_error_handler): Correct loop exit.
+
 2004-09-03  Mark Mitchell  <mark@codesourcery.com>
 
        * config.bfd (arm*-*-symbianelf*): Use OS-specific target vectors.
This page took 0.026612 seconds and 4 git commands to generate.