Add AIX 64 shared library support and emulation layer for binutils
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index c92ae2e5d6d32521ab6484ebf1003a3448e18f95..ab7b7d07d067d0a31cc8c2076e58b8198d21f4da 100644 (file)
@@ -1,3 +1,185 @@
+2002-03-18  Tom Rix  <trix@redhat.com>
+
+       * aix5ppc.core.c : New file for AIX 5 64 bit core support.
+       * bfd-in.h : Add bfd_xcoff_ar_archive_set_magic declaration.
+       * coff-rs6000 (do_pad) : New function for archive padding.
+       (do_copy) : New function for object file copying in archives.
+       (do_shared_object_padding) : New function for padding shared
+       objects to their text section alignment in archives.
+       (bfd_xcoff_ar_achive_set_magic) : Stub.
+       (xcoff_write_armap_big) : Use do_copy and do_pad.
+       (xcoff_write_archive_contents_big) : Use do_shared_object_padding,
+       do_copy and do_pad.
+       * coff64-rs6000.c (xcoff64_write_ojbect_contents) : Use
+       bfd_xcoff_magic_number. 
+       (xcoff64_bad_format_hook) : New function for _bfd_bad_format_hook
+       fop.
+       (xcoff_backend_data_r) : Use xcoff64_bad_format_hook.
+       (bfd_xcoff_aix5_backend_data) : New Aix 5 backend data.
+       (aix5coff64_vec) : New Aix 5 target aix5coff64-rs6000.
+       * rs6000-core.c : Update copyright date.
+       * xcofflink.c (bfd_xcoff_size_dynamic_sections): Check for NULL 
+       csectpp.
+       * coffcode.h (coff_new_section_hook) : Use new accessor macros.
+       (coff_set_arch_mach_hook) : Add Aix 5 U64_TOCMAGIC magic #.
+       (coff_set_flags) : Use bfd_xcoff_magic_number.
+       * libxcoff.h (bfd_xcoff_is_xcoff64): Add U64_TOCMAGIC.
+       * configure.in : Add powerpc-*-aix5 and rs6000-*-aix5 support.
+       * Makefile.am : Same.
+       * config.bfd : Same.
+       * targets.c : Same.
+       * configure : Regnerate.
+       * Makefile.in : Same.
+       * bfd-in2.h : Same.
+
+2002-03-18  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * po/fr.po: Updated version.
+
+2002-03-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success.
+       * libbfd.h: Regenerate.
+       * archive.c (coff_write_armap): Pass on failures from
+       bfd_write_bigendian_4byte_int.
+
+2002-03-14  H.J. Lu <hjl@gnu.org>
+
+       * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD
+       error to bfd_error_nonrepresentable_section for reinit_array
+       section in DSO.
+
+2002-03-14  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * coffcode.h (coff_slurp_symbol_table): When adding BSF_WEAK flag,
+       OR it in rather than replacing previously selected flags.
+
+       * elfxx-target.h (TARGET_BIG_SYM): Set ar_max_namelen to 15.
+       (TARGET_LITTLE_SYM): Set ar_max_namelen to 15.
+
+2002-03-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * cpu-mips.c (mips_compatible): New.  Don't check bits_per_word.
+       (N): Use the above.
+       * elflink.h (elf_bfd_final_link): Revert last change.  Instead,
+       ensure reloc size matches before calling elf_link_input_bfd.
+       Add an assert to check reloc size when counting output relocs.
+
+2002-03-14  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * mmo.c (mmo_get_loc): Return NULL rather than false.
+
+2002-03-13  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * po/fr.po: Updated version.
+
+2002-03-13  Alan Modra  <amodra@bigpond.net.au>
+
+       * archures.c (bfd_default_compatible): Test bits_per_word.
+       * cpu-i386.c (i386_compatible): Remove.  Replace occurrences with
+       bfd_default_compatible.
+       * cpu-i370.c (i370_compatible): Likewise.
+       * cpu-sparc.c (sparc_compatible): Likewise.
+       * cpu-h8300.c (compatible): Test in->arch == out->arch.
+
+       * elflink.h: Formatting fixes.
+       (elf_link_output_extsym): Merge undefined and undef weak cases.
+
+       * elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd
+       when word size of input matches output word size.
+
+2002-03-12  Andreas Jaeger  <aj@suse.de>
+
+       * cpu-i386.c (i386_compatible): New.  Use it instead of
+       bfd_default_compatible.
+
+2002-03-07  H.J. Lu  (hjl@gnu.org)
+
+       * coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type
+       as the type for bfd_reloc_val.
+
+2002-03-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function.
+       (elf_hppa_relocate_section): Ignore undefined dynamic loader symbols.
+       (elf_hppa_final_link_relocate): Correct relocations for indirect
+       references to local data through the DLT.  Fix .opd creation for
+       local symbols using R_PARISC_LTOFF_FPTR32 and R_PARISC_FPTR64
+       relocations.  Use e_lsel selector for R_PARISC_DLTIND21L,
+       R_PARISC_LTOFF_FPTR21L and R_PARISC_LTOFF_TP21L as per
+       "Processor-Specific ELF for PA_RISC, Version 1.43" document.
+       Similarly, use e_rsel for DLT and LTOFF 'R' relocations.
+       * elf32-hppa.c (final_link_relocate): Revise relocation selectors
+       as per "Processor-Specific ELF for PA_RISC, Version 1.43" document.
+
+2002-03-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * merge.c (_bfd_merge_sections): Don't segfault if there
+       is nothing to merge due to GC.
+
+2002-03-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep
+       symbols that have been forced local.
+
+       * elflink.h (elf_bfd_final_link): Call elf_link_output_extsym
+       to output forced local syms for non-shared link.
+       (elf_link_output_extsym): Tweak condition for calling backend
+       adjust_dynamic_symbol so that previous behaviour is kept.
+       Whitespace changes throughout file.
+
+2002-03-04  H.J. Lu <hjl@gnu.org>
+
+       * elf.c (bfd_section_from_shdr): Handle special sections,
+       .init_array, .fini_array and .preinit_array.
+       (elf_fake_sections): Likewise.
+
+       * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Create the
+       DT entry only if the section is in output for .init_array,
+       .fini_array and .preinit_array. Complain about .preinit_array
+       section in DSO.
+       (elf_bfd_final_link): Warn zero size for .init_array,
+       .fini_array and .preinit_array sections.
+
+       * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Remove
+       SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY.
+       (elfNN_ia64_fake_sections): Remove .init_array, .fini_array and
+       .preinit_array.
+
+2002-03-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure.in (WIN32LIBADD): Don't eval PICFLAG assignment.
+       * configure: Regenerate.
+
+2002-03-02  Tom Rix  <trix@redhat.com>
+
+       * coff64-rs6000.c (xcoff64_howto_table): Replace howto types with
+       symbolic equiv.
+       * coff-rs6000.c (xcoff_howto_table): Same.
+
+2002-03-01  David Mosberger  <davidm@hpl.hp.com>
+
+       * elflink.h (size_dynamic_sections): If section named
+       ".preinit_array" exists, create DT_PREINIT_ARRAY and
+       DT_PREINIT_ARRAYSZ entries in dynamic table.  Analogously for
+       ".init_array" and ".fini_array".
+       (elf_bfd_final_link): Handle DT_PREINIT_ARRAYSZ, DT_INIT_ARRAYSZ,
+       DT_FINI_ARRAYSZ, DT_PREINIT_ARRAY, DT_INIT_ARRAY, and
+       DT_FINI_ARRAY.
+
+2002-02-26  Andrew Macleod  <amacleod@cygnus.com>
+
+       * elflink.h (elf_bfd_final_link): Don't crash on SHN_UNDEF local
+       dynsyms.
+
+2002-02-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-hppa.h: Update copyright date.
+
+       * elf64-ppc.c (ppc64_elf_check_relocs): Warning fix.
+       (ppc64_elf_relocate_section): Don't generate power4 style branch
+       hints for *_BRTAKEN and *_BRNTAKEN relocs.
+
 2002-02-22  Jakub Jelinek  <jakub@redhat.com>
 
        * elf64-sh64.c (sh_elf64_relocate_section): Fix a typo from my
        sym check if we find one.
        * elf64-s390.c (elf_s390_size_dynamic_sections): Likewise.
        * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise.
+       * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
        * elf32-s390.c (elf_s390_size_dynamic_sections): Likewise.
        (elf_s390_grok_prstatus): Add missing prototype.
 
This page took 0.025514 seconds and 4 git commands to generate.