Fix formatting
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 08eea2afe8d08a421c5cd7d929c2748accc00597..612249fa5f94bc0e9b50db401c52ba69899bb946 100644 (file)
@@ -1,3 +1,696 @@
+2000-07-19  Nick Clifton  <nickc@cygnus.com>
+
+       * format.c: Fix formatting.
+
+2000-07-19  H.J. Lu  <hjl@gnu.org>
+
+       * elf.c (_bfd_elf_print_private_bfd_data): Fix DT_CHECKSUM.
+
+2000-07-19  H.J. Lu  <hjl@gnu.org>
+
+       * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_BIND_NOW,
+       DT_INIT_ARRAY, DT_FINI_ARRAY, DT_INIT_ARRAYSZ, DT_FINI_ARRAYSZ,
+       DT_RUNPATH, DT_FLAGS, DT_PREINIT_ARRAY, DT_PREINIT_ARRAYSZ,
+       DT_PLTPADSZ, DT_MOVEENT, DT_MOVESZ, DT_FEATURE, DT_POSFLAG_1,
+       DT_SYMINSZ, DT_SYMINENT, DT_CONFIG, DT_DEPAUDIT, DT_AUDIT,
+       DT_PLTPAD, DT_MOVETAB, DT_SYMINFO, DT_RELACOUNT, DT_RELCOUNT,
+       DT_FLAGS_1, DT_USED and DT_CHECKSUM.
+
+Tue Jul 18 13:11:54 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * elf.c (bfd_elf_get_sign_extend_vma, bfd_elf_get_arch_size): Move
+       renamed functions from here...
+       (assign_section_numbers): Use renamed functions.
+       (prep_headers): Use renamed functions.
+       
+       * bfd.c (bfd_get_sign_extend_vma, bfd_get_arch_size): ...To here.
+       * bfd-in.h (bfd_get_sign_extend_vma, bfd_get_arch_size): Update.
+       * bfd-in2.h: Regenerate.
+
+2000-07-18  Ulf Carlsson  <ulfc@engr.sgi.com>
+
+       * elf32-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Add
+       paranthesis in if statement.
+
+2000-07-17  Koundinya K  <kk@ddeorg.soft.net>
+
+       Enable the support for Traditional MIPS. 
+       * elf32-mips.c (IRIX_COMPAT): Recognize bfd_elf32_tradbigmips_vecand
+       return ict_none appropriately for traditional mips targets.
+       (STUB_LW): Change 0x8f998000 to 0x8f998010 for traditional mips.
+       (STUB_MOVE): Conditionalize for traditonal mips.
+       (STUB_LI16): Likewise.
+       (_bfd_mips_elf_modify_segment_map): Conditionalize to avoid making
+       room for RTPROC header.
+       (_bfd_mips_elf_modify_segment_map): For a normal mips executable set
+       the permission for the PT_DYNAMIC as read, write and execute.
+       (mips_elf_calculate_relocation): Check for the symbol _DYNAMIC_LINKING
+       for traditonal mips.
+       (_bfd_mips_elf_create_dynamic_sections): Add the symbol
+       _DYNAMIC_LINKING for traditonal mips.
+       (_bfd_mips_elf_create_dynamic_sections): Add the symbol __RLD_MAP
+       in case of traditonal mips.
+       (_bfd_mips_elf_adjust_dynamic_symbol): Create a stub only if a PLT
+       entry is required. For a function if PLT is not required then set the
+       corresponding hash table entry to 0.
+       (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG entry for 
+       traditonal mips.
+       (_bfd_mips_elf_finish_dynamic_symbol): for a undefined symbol in a 
+       shared object set the value to 0.
+       (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol 
+       _DYNAMIC_LINKING for traditonal mips.
+       (_bfd_mips_elf_finish_dynamic_symbol): Check for the symbol __RLD_MAP
+       for traditonal mips.
+       
+2000-07-15  H.J. Lu  <hjl@gnu.org>
+
+       * aoutx.h (translate_to_native_sym_flags): Handle BSF_LOCAL.
+
+2000-07-12  Charles Wilson  <cwilson@ece.gatech.edu>
+
+       * libbfd.c (bfd_seek): fix 'seek beyond EOF' error when writing
+       out a structure that is BFD_IN_MEMORY.
+
+2000-07-11  Alan Modra  <alan@linuxcare.com.au>
+
+       * elf64-hppa.c (get_dyn_name): Pass in section pointer instead of
+       bfd pointer.  Print section id instead of bfd pointer for local
+       syms.  Prefix addend with `+' for global syms as well as local.
+       Correct calculation of name component lengths.
+       (elf64_hppa_check_relocs): Update call to get_dyn_name.
+
+       From David Huggins-Daines  <dhd@linuxcare.com>
+       * elf-hppa.h (elf_hppa_relocate_section): Update calls here too.
+       * elf64-hppa.c (elf64_hppa_check_relocs): Fix some warnings.
+       (elf64_hppa_modify_segment_map): Likewise.
+
+Tue Jul 11 17:21:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * elf.c (bfd_elf_get_sign_extend_vma): Return tendency of VMA
+       addresses to be "naturally" sign extended.  Return -1 if unknown.
+       * bfd-in.h (bfd_elf_get_sign_extend_vma): Add declaration.
+       * bfd-in2.h: Regenerate.
+
+Tue Jul 11 16:25:52 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * ecoffswap.h (ecoff_get_off, ecoff_put_off): Add ECOFF_SIGNED_32
+       and ECOF_SIGNED_64 to list ways to extract an offset.
+       (ecoff_swap_fdr_in, ecoff_swap_fdr_out, ecoff_swap_pdr_in,
+       ecoff_swap_pdr_out, ecoff_swap_ext_in, ecoff_swap_ext_out):
+       Update.
+       * elf64-mips.c (ECOFF_SIGNED_64): Define instead of ECOFF_64.
+       * elf32-mips.c (ECOFF_SIGNED_32): Define instead of ECOFF_32.
+
+Tue Jul 11 16:03:04 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * elfcode.h (elf_object_p): Use bfd_set_start_address and not
+       bfd_get_start_address.
+       (elf_swap_ehdr_in): Sign extend e_entry when applicable.
+       (elf_swap_ehdr_out): Ditto.
+
+2000-07-10  Alexander Aganichev  <AAganichev@hypercom.com>
+
+       * archures.c (bfd_default_scan): Add set of bfd_mach_ cases for
+       compatibility with older binutils.
+
+2000-07-10  Alan Modra  <alan@linuxcare.com.au>
+
+       * section.c (bfd_make_section_anyway): Start section_id at 0x10.
+       (STD_SECTION): Avoid negative ids, instead use 0 to 3.
+
+       From Ryan Bradetich  <rbradetich@uswest.net>
+       * dwarf1.c (parse_die): Cure signed/unsigned char warnings.
+       (parse_line_table): Ditto.
+       (_bfd_dwarf1_find_nearest_line): Ditto.
+       * syms.c (cmpindexentry): Remove extra `*' from params.
+
+2000-07-09  Koundinya K  <kk@ddeorg.soft.net>
+
+        * elf32-mips.c (sort_dynamic_relocs): New Function.
+        (_bfd_mips_elf_finish_dynamic_sections): Call sort_dynamic_relocs
+       via qsort to sort the dynamic relocations in increasing r_symndx
+       value.
+       
+2000-07-09  Alan Modra  <alan@linuxcare.com.au>
+
+       * elf64-hppa.c (elf64_hppa_dyn_hash_table_init): Add
+       ATTRIBUTE_UNUSED to unused args.
+       (get_opd): Likewise.
+       (get_plt): Likewise.
+       (get_dlt): Likewise.
+       (get_stub): Likewise.
+       (elf64_hppa_adjust_dynamic_symbol): Likewise.
+       (elf64_hppa_link_output_symbol_hook): Likewise.
+       (elf64_hppa_check_relocs): Delete unused var.
+       (elf64_hppa_size_dynamic_sections): Likewise.
+       (elf64_hppa_finalize_opd): Likewise.
+       (elf64_hppa_finalize_dynreloc): Likewise.
+       (elf64_hppa_modify_segment_map): Likewise.
+       (elf64_hppa_finish_dynamic_sections): Likewise.
+
+       * elf-hppa.h (elf_hppa_final_write_processing): Add
+       ATTRIBUTE_UNUSED to unused args.
+       (elf_hppa_final_link_relocate): Likewise.
+       (elf_hppa_record_segment_addrs): Add paretheses.
+       (elf_hppa_relocate_section): Constify dyn_name.
+
+       From  David Huggins-Daines  <dhd@linuxcare.com>
+       * config.bfd: Add hppa*64*-*-linux-gnu 64-bit target, and
+       rearrange case statement so that it gets preferred to 32-bit ones.
+
+       * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Use
+       asection->id instead of address of asection structure.
+       (elf32_hppa_size_stubs): Likewise.
+
+       * elf32-hppa.c (elf32_hppa_size_stubs): Use just one stub section
+       for .init* and .fini*.
+
+       * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Mask pointers
+       and addends used in stub names to 32 bits.
+       (elf32_hppa_size_stubs): Likewise.
+
+       * elf-hppa.h (elf_hppa_final_link_relocate): Don't sum addend
+       twice for R_PARISC_GPREL64.  Use bfd_put_32 for R_PARISC_PCREL32,
+       not bfd_put_64.  Fix minor comment typo and formatting.
+
+       Changes to create multiple linker stubs, positioned immediately
+       before the section where they are required.
+       * elf32-hppa.c: Don't include hppa_stubs.h.
+       (elf32_hppa_stub_hash_entry): Add a pointer to the stub section.
+       (elf32_hppa_stub_hash_table): Delete.
+       (elf32_hppa_link_hash_entry): Delete.
+       (elf32_hppa_link_hash_table): Use plain bfd_hash_table for
+       stub_hash_table, and store the struct here rather than a pointer.
+       Delete output_symbol_count.  Add offset array.  Change
+       global_value to a bfd_vma.
+       (elf32_hppa_stub_hash_lookup): Use table instead of table->root.
+       (elf32_hppa_stub_hash_traverse): Delete.
+       (elf32_hppa_name_of_stub): Delete.
+       (elf32_hppa_link_hash_lookup): Delete.
+       (elf32_hppa_link_hash_traverse): Delete.
+       (elf32_hppa_stub_hash_table_init): Delete.
+       (elf32_hppa_size_of_stub): Pass input section and offset rather
+       than location and calculate location here.  Don't pass name as all
+       stubs are now the same size.
+       (elf32_hppa_stub_hash_newfunc): Init new fields.
+       (elf32_hppa_link_hash_table_create): Likewise, and stub_hash_table
+       too.
+       (elf32_hppa_bfd_final_link_relocate): Cast enums to int before
+       comparing against ints.  Rewrite stub handling code.
+       (elf32_hppa_relocate_section): Make r_type and r_symndx unsigned.
+       Case enums to int before comparing against ints.  Remove
+       bfd_reloc_dangerous case.
+       (elf32_hppa_build_one_stub): Rewrite.
+       (elf32_hppa_size_one_stub): New function.
+       (elf32_hppa_build_stubs): Rewrite.
+       (elf32_hppa_size_stubs): Pass in linker call-back functions.
+       Rewrite stub-handling specific code.
+
+       * elf32-hppa.h (elf32_hppa_size_stubs): Update prototype.
+
+       * elf64-hppa.c (elf64_hppa_dyn_hash_entry): Fix a comment typo.
+
+       * hppa_stubs.h: Delete.
+       * Makefile.am (SOURCE_HFILES): Remove hppa_stubs.h
+       (elf32-hppa.lo): Remove hppa_stubs.h from dependencies.
+       * Makefile.in: Regenerate.
+
+       * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle e_nlsel and
+       e_nlrsel.
+
+       * libhppa.h (hppa_field_adjust): Correct e_nsel case.
+
+       * elf32-hppa.c (elf32_hppa_relocate_section): Mention the offset
+       and section name for bfd_reloc_notsupported error message.
+       (elf32_hppa_bfd_final_link_relocate): Print reasons for returning
+       bfd_reloc_notsupported.
+       (elf32_hppa_relocate_section): Add ATTRIBUTE_UNUSED to output_bfd.
+
+       * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Handle
+       undefined weak symbols for all relocs.
+       (elf32_hppa_size_of_stub): Adjust calculation by 8 since branch
+       offsets are relative to one past the delay slot.
+       (elf32_hppa_size_stubs): Account for reloc addend when calculating
+       branch destination.  Put addend into stub name too.
+       (elf32_hppa_bfd_final_link_relocate): Account for reloc addend and
+       adjust by 8 when deciding whether a linker stub is needed.  Put
+       addend into stub name as for above.
+
+       * elf32-hppa.c (hppa_elf_relocate_insn): Change signed/unsigned on
+       various args and vars.
+       (elf32_hppa_bfd_final_link_relocate): Here too.
+       (elf32_hppa_size_stubs): Rename index -> indx.  Use e_indx for
+       inner block var to avoid shadowing.
+
+       * elf32-hppa.h (_bfd_elf32_hppa_gen_reloc_type):  Make `field' arg
+       unsigned.
+       * elf64-hppa.h (_bfd_elf64_hppa_gen_reloc_type): Ditto.
+       * elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Ditto.
+       (elf_hppa_fake_sections): Rename local var to avoid shadowing.
+
+       * libhppa.h: Change practically all unsigned ints to plain ints.
+       Remove tests on gcc version.  Instead use ATTRIBUTE_UNUSED for
+       prototypes.
+
+       From Ryan Bradetich  <rbradetich@uswest.net>
+       * libhppa.h (hppa_opcode_type): New enum to replace #define's.
+       * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Modify to
+       suit above.
+       From  David Huggins-Daines  <dhd@linuxcare.com>
+       * elf-hppa.h (elf_hppa_relocate_insn): Update the opcode constants
+       to the new OP_* ones.
+
+       * elf32-hppa.c (elf32_hppa_size_stubs): Consolidate freeing on
+       error exit.  Bail out earlier on plabel relocs that we aren't
+       interested in.  Don't tell elf32_hppa_stub_hash_lookup to copy
+       string, and then don't free our copy.
+       (elf32_hppa_build_one_stub): Make insn unsigned int.
+
+       * libhppa.h (bfd_hppa_insn2fmt): 22 bit branches are only
+       available with BL, not BE and BLE.
+
+       * elf32-hppa.c (hppa_elf_relocate_insn): Add some more example
+       code for elf arg relocs.
+       (elf32_hppa_bfd_final_link_relocate): Replace boolean is_local
+       argument with elf_link_hash_entry h.  Handle undefined weak
+       symbols.  Move $global$ lookup from here...
+       (elf32_hppa_relocate_section): ...to here.  Return correct error
+       message for non-handled relocs.
+       (elf32_hppa_size_of_stub): Correctly test branch range.  Previous
+       wrong test was -0x3ffff to +0x40000.
+
+       * elf-hppa.h (elf_hppa_final_link_relocate): R_PARISC_DIR17R,
+       R_PARISC_DIR17F, and R_PARISC_DIR21L are for absolute branches;
+       Handle them as such.
+       (elf_hppa_relocate_insn): Fix a typo.
+
+       * libhppa.h (GET_FIELD, GET_BIT, MASK, CATENATE, ELEVEN): Delete.
+       (assemble_3, assemble_6, assemble_12, assemble_16, assemble_16a,
+       assemble_17, assemble_21): Delete.
+       Supply defines for all 64 possible opcodes.
+       (bfd_hppa_insn2fmt): Add bfd argument, and use to select wide mode
+       formats.  Handle COMICLR.
+       (hppa_rebuild_insn): Delete bfd argument.  Handle formats 10, -11,
+       -10, -16, 16, 22.
+
+       * elf32-hppa.c (hppa_elf_relocate_insn): Complete rewrite.
+       (elf32_hppa_bfd_final_link_relocate): Major rewrite.
+       (elf32_hppa_build_one_stub): Modify hppa_elf_relocate_insn calls
+       to suit.
+       (elf32_hppa_size_stubs): Don't free stub_name twice.  Read in all
+       the local syms - did this code get deleted accidentally?  Ignore
+       undefined and undefweak syms.
+
+       * elf-hppa.h (elf_hppa_final_link): Move hppa_info to outermost
+       block.  Use it instead of elf64_hppa_hash_table (info).
+       (elf_hppa_final_link_relocate): Use hppa_info instead of
+       elf64_hppa_hash_table (info).
+
+       * libhppa.h (re_assemble_3, re_assemble_12, re_assemble_16,
+       re_assemble_17, re_assemble_21, re_assemble_22): Don't mask insn.
+       (hppa_rebuild_insn): Mask immediate bits here instead.
+       * elf-hppa.h (elf_hppa_relocate_insn): Mask here too.
+
+2000-07-08  Alan Modra  <alan@linuxcare.com.au>
+
+       * section.c (struct sec): Add id field.  Tidy comment formatting.
+       (bfd_make_section_anyway): Set id.
+       (STD_SECTION): Init id too.
+       Change CONST to const throughout.
+       * archures.c (bfd_arch_info): Tidy comment.
+       (bfd_arch_list): Change a CONST to const.
+       * libbfd-in.h: Tidy comments and replace CONST with const.
+       * elf-bfd.h: Likewise.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+       * libcoff.h: Regenerate.
+
+2000-07-07  DJ Delorie  <dj@redhat.com>
+
+       * archive.c (_bfd_write_archive_contents): Add an informative
+       comment.
+
+2000-07-06  Kazu Hirata  <kazu@hxi.com>
+
+       * srec.c: Fix formatting.
+
+2000-06-05  DJ Delorie  <dj@redhat.com>
+
+       * MAINTAINERS: new
+
+2000-07-04  Alexandre Oliva  <aoliva@redhat.com>
+
+       * coff-arm.c (coff_arm_relocate_section): Do not ignore the symbol
+       value of PC-relative offsets.
+
+2000-07-03  Jim Wilson  <wilson@cygnus.com>
+
+       * elf64-alpha.c (alpha_elf_size_info): New.
+       (elf_backend_size_info): Define to alpha_elf_size_info.
+       * elfcode.h (elf_size_info): Change hash bucket size to 4.
+
+2000-07-03  Ulf Carlsson  <ulfc@engr.sgi.com>
+
+       * elf32-mips.c: Include elf32-target.h again for the traditional
+       MIPS targets.
+
+2000-07-03  Marek Michalkiewicz  <marekm@linux.org.pl>
+
+       * elf32-avr.c (bfd_elf32_bfd_reloc_type_lookup):
+       Add ATTRIBUTE_UNUSED to unused arguments to avoid warnings.
+       (avr_info_to_howto_rela): Likewise.
+       (elf32_avr_gc_mark_hook): Likewise.
+       (elf32_avr_gc_sweep_hook): Likewise.
+       (elf32_avr_relocate_section): Likewise.
+
+2000-07-03  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * cofflink.c (_bfd_coff_write_global_sym): Turn a weak symbol into
+       an external symbol for a non-shared, non-relocatable link.
+       
+2000-07-03  Nick Clifton  <nickc@redhat.com>
+
+       * cofflink.c (IS_EXTERNAL): New macro: Return true if the symbol
+       is an external symbol.
+       (IS_WEAK_EXTERNAL): New macro: Return true if the symbol is a weak
+       external symbol.
+       
+2000-07-03  Kazu Hirata  <kazu@hxi.com>
+
+       * reloc16.c: Fix formatting.
+
+2000-07-01  Koundinya K  <kk@ddeorg.soft.net>
+
+        * config.bfd: Change targ_defvec and targ_selvecs for mips*-*-sysv4*
+        to add a new target for traditional mips i.e
+        bfd_elf32_tradbigmips_vec and bfd_elf32_tradlittlemips_vec.
+        * configure.in: Likewise.
+        * configure: Rebuild.
+        * targets.c (bfd_elf32_tradbigmips_vec): Declare and put in
+       bfd_target_vector.
+       (bfd_elf32_tradlittlemips_vec): Likewise.
+        * elfxx-target.h: Add macro INCLUDED_TARGET_FILE which is more a test
+        to see that elfNN_bed does not get redefined even if the target file
+        is included twice for a chip. See elf32-mips.c.
+       
+2000-07-01  Alan Modra  <alan@linuxcare.com.au>
+
+       * Makefile.am (DEP): Fix 2000-06-22.  grep after running dep.sed
+       (CLEANFILES): Add DEPA.
+       * Makefile.in: Regenerate.
+
+2000-06-30  DJ Delorie  <dj@cygnus.com>
+       
+       * peicode.h (coff_swap_filehdr_in): can't use e_magic because we
+       can't assume the PE header is at 0x80.
+
+2000-06-29  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * syms.c (_bfd_stab_section_find_nearest_line): Use IS_ABSOLUTE_PATH.
+
+2000-06-28  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * go32stub.h: Update stub.
+
+2000-06-26  Marek Michalkiewicz  <marekm@linux.org.pl>
+
+       * archures.c (bfd_mach_avr5): Define.
+       * bfd-in2.h (bfd_mach_avr5): Define.
+       * cpu-avr.c (arch_info_struct): Rename bfd_mach_avr4 to
+       bfd_mach_avr5, add bfd_mach_avr4.  Update comments.
+       (compatible): Update comment.  Add missing test.
+       * elf32-avr.c (avr_final_link_relocate): Support 8K wrap
+       for avr2 and avr4.  Simplify 8K wrap code.
+       (bfd_elf_avr_final_write_processing): Recognize bfd_mach_avr5.
+       (elf32_avr_object_p): Recognize E_AVR_MACH_AVR5.
+
+2000-06-26  Kazu Hirata  <kazu@hxi.com>
+
+       * coff-h8300.c: Fix formatting.
+       * cpu-h8300.c: Likewise.
+
+2000-06-24  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-arm.h (elf32_arm_final_link_relocate): Print `(local)'
+       for local symbols whose names are unknown.
+
+2000-06-22  Alan Modra  <alan@linuxcare.com.au>
+
+       * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we
+       find one.
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2000-06-20  H.J. Lu  <hjl@gnu.org>
+
+       * Makefile.am: Rebuild dependency.
+       * Makefile.in: Rebuild.
+
+2000-06-20  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
+
+       * elf32-mips.c (_bfd_mips_elf_copy_indirect_symbol): New function.
+       (elf_backend_copy_indirect_symbol): Map to the new function.
+
+2000-06-20  Alan Modra  <alan@linuxcare.com.au>
+
+       * archive.c (normalize): Correct pointer comparison when checking
+       for backslashes.
+       (bfd_bsd_truncate_arname): Likewise.
+       (bfd_gnu_truncate_arname): Likewise.
+
+2000-06-20  Ulf Carlsson  <ulfc@engr.sgi.com>
+
+       * elf-bfd.h (struct elf_obj_tdata): Define per BFD Irix 5 virtual
+       sections elf_{text,data}_{section,symbol}.
+       * elf32-mips.c: mips_elf_{text,data}_{section,symbol}{,_ptr}: Remove.
+       (_bfd_mips_elf_hide_symbol): New function.
+       (elf_backend_hide_symbol): Map to the new function.
+       (_bfd_mips_elf_add_symbol_hook): Change to use new per BFD
+       definitions of mips_elf_{text,data}_{section,symbol}.
+       (mips_elf_local_relocation_p): Try to find the direct symbol
+       based on new check_forced argument.
+       (mips_elf_calculate_relocation): Use new version of
+       mips_elf_local_relocation_p.
+       (mips_elf_relocate_section): Likewise.
+       (_bfd_mips_elf_relocate_section): Likewise.
+       (mips_elf_sort_hash_table): Only assert that have enough GOT
+       space.
+       (mips_elf_got16_entry): Match all 32 bits to the existing GOT
+       entry if the relocation based on the new external argument.
+       (mips_elf_create_dynamic_relocation): Assert that we have a
+       section contents allocated where we can swap out the dynamic
+       relocations.
+       (mips_elf_calculate_relocation): Find the real hash-table entry
+       correctly by using h->root.root.type.  Only create a dynamic
+       relocation entry if the symbol is defined in a shared library.
+       Create an external GOT entry for the GOT16 relocation if the
+       symbol was forced local.
+       (_bfd_mips_elf_finish_dynamic_symbol): Don't assert there is a
+       dynamic index if the symbol was forced local.
+
+2000-06-20  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
+
+       * elf32-mips.c: Fix typos in comments.
+       
+2000-06-19  Mark Kettenis  <kettenis@gnu.org>
+
+       * rs6000-core.c: Wrap definition of `union VmInfo' within #ifdef
+       CORE_VERSION_1.
+
+2000-06-18  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * Makefile.in, bfd-in2.h, libbfd.h, configure: Rebuild.
+       * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES, BFD32_BACKENDS,
+       BFD32_BACKENDS_CFILES): Add 68hc12, 68hc11 files.
+       * configure.in (bfd_elf32_m68hc12_vec): Recognize.
+       (bfd_elf32_m68hc11_vec): Likewise.
+       * config.bfd (targ_cpu): Recognize 68hc12 and 68hc11. 
+       Supports 68hc11 & 68hc12  at the same time.
+       * targets.c (bfd_elf32_m68hc12_vec): Declare and put in
+       bfd_target_vector.
+       (bfd_elf32_m68hc11_vec): Likewise.
+       * elf.c (prep_headers): Recognize bfd_arch_m68hc12 and 68hc11.
+       * archures.c (bfd_m68hc12_arch): Define and register in global list
+       (bfd_m68hc11_arch): Likewise.
+       * reloc.c (BFD_RELOC_M68HC11_HI8, BFD_RELOC_M68HC11_LO8,
+       BFD_RELOC_M68HC11_3B): Define.
+       * cpu-m68hc12.c, elf32-m68hc12.c: New files for 68hc12 support.
+       * cpu-m68hc11.c, elf32-m68hc11.c: New files for 68hc11 support.
+
+2000-06-18  Ulf Carlsson  <ulfc@engr.sgi.com>
+
+       * elf_bfd.h (struct elf_backend_data): Add info argument to
+       elf_backend_hide_symbol.
+       (_bfd_elf_link_hash_hide_symbol): Likewise.
+       * elf.c (_bfd_elf_link_hash_hide_symbol): Likewise.
+       * elf64-ia64.c (elf64_ia64_hash_hide_symbol): Likewise.
+       * elflink.h (elf_link_add_object_symbols): Likewise.
+       (elf_link_assign_sym_version): Likewise.
+       
+2000-06-18  H.J. Lu  <hjl@gnu.org>
+
+       * coff-i386.c (coff_i386_reloc): Don't return in case of
+       output_bfd == (bfd *) NULL if COFF_WITH_PE is defined.
+       Compensate PE relocations when linking with non-PE object
+       files to generate a non-PE executable.
+
+2000-06-17  Ulf Carlsson  <ulfc@engr.sgi.com>
+
+       * elf32-mips.c (mips_elf_calculate_relocation): Explicitly write
+       GOT entries if we're doing a static link or -Bsymbolic link.
+
+2000-06-15  Ulf Carlsson  <ulfc@engr.sgi.com>
+
+       * elflink.h (elf_link_adjust_relocs): Check for and call backend
+       specifific swap_reloc_{in,out} and swap_reloca_{in,out} if
+       available.
+       (elf_link_output_relocs): Likewise.
+       (elf_reloc_link_order): Likewise.
+       
+2000-06-16  Nicholas Duffek  <nsd@redhat.com>
+
+       * archures.c (enum bfd_architecture): #define constants for
+       PowerPc and RS6000 machine numbers.
+       * bfd-in2.h: Regenerate.
+       * coffcode.h (coff_set_arch_mach_hook): #ifdef XCOFF64, set arch
+       to bfd_arch_powerpc instead of bfd_arch_rs6000.  Refer to PowerPc
+       and RS6000 machine numbers using #defined constants from
+       archures.c.
+       * cpu-powerpc.c (arch_info_struct): Refer to PowerPc and RS6000
+       machine numbers using #defined constants from archures.c.  Add
+       entries for EC603e, 630, A35, RS64II, RS64III, 7400.  Specify
+       64-bit words in 620 entry.
+       * cpu-rs6000.c (arch_info_struct): Create with entries for RS1,
+       RSC, and RS2.
+       (bfd_rs6000_arch): Change default machine to 0 (bfd_mach_rs6k).
+
+2000-06-16  Nicholas Duffek  <nsd@cygnus.com>
+
+       * coffcode.h (coff_mkobject_hook): Set xcoff_tdata.xcoff64.
+       * libcoff-in.h (struct xcoff_tdata): Define xcoff64 field.
+       * libcoff.h (struct xcoff_tdata): Define xcoff64 field.
+
+2000-06-16  Nicholas Duffek  <nsd@redhat.com>
+
+       * bfd-in.h (bfd_family_coff): Define.
+       * bfd-in2.h: Regenerate.
+       * coffgen.c (coff_count_linenumbers, coff_symbol_from,
+       coff_find_nearest_line): Check COFFness using bfd_family_coff()
+       instead of bfd_target_coff_flavour.
+       * cofflink.c (_bfd_coff_final_link): Likewise.
+       * cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to
+       exclude XCOFF files.
+       * reloc.c (bfd_perform_relocation, bfd_install_relocation):
+       Likewise.
+       * targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour.
+       * xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour.
+       * xcofflink.c (XCOFF_XVECP): Delete.
+       (bfd_xcoff_link_record_set, bfd_xcoff_import_symbol,
+       bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc,
+       bfd_xcoff_record_link_assignment,
+       bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with
+       check for bfd_target_xcoff_flavour.
+
+2000-06-16  Nicholas Duffek  <nsd@redhat.com>
+
+       * rs6000-core.c: Support 64-bit core files, support pre-4.3 core
+       files on AIX 4.3.
+       (read_hdr): New function.
+       (rs6000coff_core_p): Store mstsave or __context64 struct instead
+       of trying to extract individual registers.  Set abfd->arch_info
+       to match the architecture that created the core file.
+       (rs6000coff_get_section_contents): Delete.
+       * xcoff-target.h (rs6000coff_get_section_contents): Delete.
+
+2000-06-14  H.J. Lu  <hjl@gnu.org>
+
+       * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_rec)
+       is NULL.
+
+2000-06-13  H.J. Lu  <hjl@gnu.org>
+
+       * configure: Regenerate.
+
+Tue Jun 13 01:28:57 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * peicode.h (pe_ILF_object_p): Use TARGET_LITTLE_SYM instead of
+       armpei_little_vec.
+
+2000-06-08  David O'Brien  <obrien@FreeBSD.org>
+
+       * configure.in (VERSION): Update to show this is the CVS mainline.
+
+2000-06-07  Alan Modra  <alan@linuxcare.com.au>
+
+       * elf32-d10v.c: Include elf/d10v.h
+       (enum reloc_type): Delete.
+       * elf32-d30v.c: Include elf/d30v.h
+       (enum reloc_type): Delete.
+
+       * Makefile.am: Run "make dep-am" to regenerate dependencies.
+       * Makefile.in: Regenerate.
+
+       * elf32-i386.c (elf_howto_table): Remove EMPTY_HOWTOs.
+       (elf32_i386_vtinherit_howto, elf32_i386_vtentry_howto): Delete and
+       move HOWTOs into elf_howto_table.
+       (R_386_standard, R_386_ext_offset): Define.
+       (R_386_ext, R_386_vt_offset, R_386_vt): Define.
+       (elf_i386_reloc_type_lookup): Modify calculation of index into
+       elf_howto_table since we've removed the padding.
+       (elf_i386_info_to_howto_rel): Likewise.
+       (elf_i386_relocate_section): Likewise.
+
+2000-06-06  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * elf.c (elf_grok_pr_status): Eliminate reference to prgregset_t.
+
+2000-06-05  H.J. Lu  <hjl@gnu.org>
+
+       * elflink.c (_bfd_elf_link_record_dynamic_symbol): Don't flag
+       an error when seeing an undefined symbol with hidden/internal
+       attribute. It is handled in *_relocate_section ().
+
+2000-06-05  H.J. Lu  <hjl@gnu.org>
+
+       * elflink.h (elf_fix_symbol_flags): Follow the link for the
+       indirect symbol for the ELF_LINK_NON_ELF bit.
+       (elf_link_output_extsym): Don't output the indirect symbol even
+       if the ELF_LINK_NON_ELF bit is set.
+
+2000-06-01  J.T. Conklin  <jtc@redback.com>
+
+       * config.bfd (i[3456]86-*-netbsdelf*): New target.
+       (i[3456]86-*-netbsdaout*): New target.
+       (i[3456]86-*-netbsd*): Add bfd_elf32_i386_vec to targ_selvecs.
+       (i[3456]86-*-openbsd*): Likewise.
+
+Tue May 30 15:39:04 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * trad-core.c: From hpux-core.c, include <dirent.h> or
+       <sys/ndir.h> when possible.
+
+2000-05-31  Nick Clifton  <nickc@cygnus.com>
+
+       * opintl.h (_(String)): Explain why dgettext is used instead
+       of gettext. 
+
+2000-05-31  Ulrich Drepper  <drepper@redhat.com>
+
+       * elf.c (_bfd_elf_slurp_version_tables): Correct reading of version
+       definitions.  We must not assume they are sorted in the file
+       according to their index numbers.
+
+2000-05-31  Alan Modra  <alan@linuxcare.com.au>
+
+       * elf-hppa.h: (elf_hppa_final_link_relocate): Use e_rsel field
+        selector for R_PARISC_PCREL17R.  R_PARISC_DIR17R and
+        R_PARISC_DIR17F are for absolute branches; Handle them as such.
+
+2000-05-30  Nick Clifton  <nickc@cygnus.com>
+
+       * cpu-i960.c (scan_960_mach): Accept 80960KA, 80960KB,
+       80960CA, 80960MC as valid machine names.
+
 2000-05-30  H.J. Lu  <hjl@gnu.org>
 
        * elflink.c (_bfd_elf_link_record_dynamic_symbol): Clear the
 
        * elf.c (_bfd_elf_link_hash_table_init): Initialize dynlocal.
 
+2000-05-26  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * elf.c (elfcore_grok_prstatus, elfcore_grok_pstatus, 
+       elfcore_grok_psinfo): Add code to allow debugging a 32-bit
+       corefile on a 64-bit (Sparc Solaris) host.  Also clean up
+       a few old comments.
+
 2000-05-26  Alan Modra  <alan@linuxcare.com.au>
 
        * Makefile.am: Update dependencies with "make dep-am"
@@ -1499,7 +2199,7 @@ Thu Feb 10 20:07:50 GMT 2000  Toshiyasu Morita (toshi.morita@sega.com)
 
        * coff-mcore.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Change from
        3 to 2.  This allows 4 byte sized sections, which is necessary for
-       dlltool to build funcitoning DLLs.
+       dlltool to build functioning DLLs.
 
 2000-01-10  Philip Blundell  <pb@futuretv.com>
 
This page took 0.031808 seconds and 4 git commands to generate.