OSDN Git Service

Add XCOFF64 support.
[pf3gnuchains/pf3gnuchains3x.git] / bfd / ChangeLog
index 063dbce..4190359 100644 (file)
+Mon Apr 24 15:20:35 2000  Clinton Popetz  <cpopetz@cygnus.com>
+
+       * Makefile.am (coff64-rs6000.lo): New rule.
+       * Makefile.in: Regenerate.
+       * coff-rs6000.c (xcoff_mkobject, xcoff_copy_private_bfd_data,
+       xcoff_is_local_label_name, xcoff_rtype2howto,
+       xcoff_reloc_type_lookup, xcoff_slurp_armap, xcoff_archive_p,
+       xcoff_read_ar_hdr, xcoff_openr_next_archived_file, xcoff_write_armap,
+       xcoff_write_archive_contents): No longer static, and prefix with _bfd_.
+       (NO_COFF_SYMBOLS): Define.
+       (xcoff64_swap_sym_in, xcoff64_swap_sym_out, xcoff64_swap_aux_in,
+       xcoff64_swap_aux_out): New functions; handle xcoff symbol tables
+       internally.
+       (MINUS_ONE): New macro.
+       (xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS 
+       relocation.
+       (coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in, 
+       coff_SWAP_aux_out): Map to the new functions.
+       * coff64-rs6000.c: New file.
+       * libcoff.h (bfd_coff_backend_data): Add new fields 
+       _bfd_coff_force_symnames_in_strings and 
+       _bfd_coff_debug_string_prefix_length.
+       (bfd_coff_force_symnames_in_strings, 
+       bfd_coff_debug_string_prefix_length): New macros for above fields.
+       * coffcode.h (coff_set_arch_mach_hook): Handle XCOFF64 magic.
+       Set machine to 620 for XCOFF64.  Use bfd_coff_swap_sym_in instead 
+       of using coff_swap_sym_in directly.
+       (FORCE_SYMNAMES_IN_STRINGS): New macro, defined for XCOFF64.
+       (coff_set_flags) Set magic for XCOFF64. 
+       (coff_compute_section_file_positions): Add symbol name length to
+       string section length if bfd_coff_debug_string_prefix_length is
+       true.
+       (coff_write_object_contents): Don't do reloc overflow for XCOFF64.
+       (coff_slurp_line_table): Use bfd_coff_swap_lineno_in instead of
+       using coff_swap_lineno_in directly.
+       (bfd_coff_backend_data): Add _bfd_coff_force_symnames_in_strings
+       and _bfd_coff_debug_string_prefix_length fields.
+       * coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force 
+       symbol names into strings table when 
+       bfd_coff_force_symnames_in_strings is true.
+       * coffswap.h (MAX_SCNHDR_NRELOC, MAX_SCNHDR_NLNNO, GET_RELOC_VADDR,
+       SET_RELOC_VADDR): New macros.
+       (coff_swap_reloc_in, coff_swap_reloc_out): Use above macros.    
+       (coff_swap_aux_in, coff_swap_aux_out): Remove RS6000COFF_C
+       code.
+       (coff_swap_aouthdr_in, coff_swap_aouthdr_out): Handle XCOFF64
+       changes within RS6000COFF_C specific code.
+       (coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC, 
+       MAX_SCNHDR_NRELOC, and MAX_SCNHDR_NLNNO.
+       * reloc.c (bfd_perform_relocation, bfd_install_relocation):
+       Extend existing hack on target name.
+       * xcofflink.c (XCOFF_XVECP): Extend existing hack on
+       target name.
+       * coff-tic54x.c (ticof): Keep up to date with new fields
+       in bfd_coff_backend_data.
+       * config.bfd: Add bfd_powerpc_64_arch to targ_arch and define
+       targ_selvecs to include rs6000coff64_vec for rs6000.
+       * configure.in: Add rs6000coff64_vec case.
+       * cpu-powerpc.c: New bfd_arch_info_type.
+
+Mon Apr 24 02:17:31 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * config.bfd: Only disable elf32-hppa vectors, not all of the
+       BSD and OSF configuration support.  Provide (disabled) clauses
+       for PA64 support.
+       * configure.in: Add clause for PA64 support.
+       * configure: Rebuilt.
+
+       * targets.c (bfd_target_vector): Add bfd_elf64_hppa_vec.
+       (bfd_elf64_hppa_vec): Declare.
+
+       * Makefile.am (BFD64_BACKENDS): Add elf64-hppa.lo
+       (BFD64_BACKENDS_CFILES): Add elf64-hppa.c
+       (elf64-hppa.lo): Add dependencies.
+       * Makefile.in: Rebuilt.
+
+       * elf64-hppa.c, elf64-hppa.h: New files with PA64 support.
+
+Mon Apr 24 02:14:29 2000  Jason Eckhardt  <jle@cygnus.com>
+
+       * libhppa.h (dis_assemble_16): New function.
+       (pa_arch): Added pa20w element.
+
+Mon Apr 24 01:49:03 2000  Ulrich Drepper  <drepper@cygnus.com>
+
+       * elf-bfd.h: Add prototypes for bfd_elf32_write_relocs,
+       bfd_elf32_slurp_reloc_table, bfd_elf64_write_relocs, and
+       bfd_elf64_slurp_reloc_table.
+
+       * elfcode.h (elf_write_relocs, elf_slurp_reloc_table): New
+       definitions to get external names.
+       (elf_write_relocs): Renamed from write_relocs and make global.
+       (elf_slurp_reloc_table): Make global.
+       (_bfd_elf,size_info): Use elf_write_relocs instead of write_relocs.
+
+       * archive.c (hpux_uid_gid_encode): New function.
+       (bfd_ar_hdr_from_filesystem): Use it if HPUX_LARGE_AR_IDS is
+       defined and the ID is greater than 99999.
+       (bfd_generic_stat_arch_elt): If HPUX_LARGE_AR_IDS is defined decode
+       special uid/gid fields into 32 bit values.
+
+2000-04-21  Matthew Green  <mrg@cygnus.com>
+
+       * config.bfd: Add NetBSD/sparc64 support.
+
+Fri Apr 21 13:20:53 2000  Richard Henderson  <rth@cygnus.com>
+                         David Mosberger  <davidm@hpl.hp.com>
+                         Timothy Wall <twall@cygnus.com>
+                         Jim Wilson  <wilson@cygnus.com>
+       
+       * Makefile.am (ALL_MACHINES): Add cpu-ia64.lo.
+       (ALL_MACHINES_CFILES): Add cpu-ia64.c.
+       (BFD64_BACKENDS): Add elf64-ia64.lo.
+       (BFD64_BACKENDS_CFILES): Add elf64-ia64.c.
+       (cpu-ia64.lo, elf64-ia64.lo): New rules.
+       * Makefile.in: Rebuild.
+       * archures.c (enum bfd_architecture): Add bfd_arch_ia64.
+       (bfd_ia64_arch): Declare.
+       (bfd_archures_list): Add bfd_ia64_arch.
+       * bfd-in2.h: Rebuild.
+       * config.bfd: (ia64*-*-linux-gnu*, ia64*-*-elf*): New targets.
+       * configure: Rebuild.
+       * configure.host: (ia64-*-linux*): New host.
+       * configure.in (bfd_elf64_ia64_little_vec, bfd_elf64_ia64_big_vec,
+       bfd_efi_app_ia64_vec, bfd_efi_app_ia64_vec): New vectors.
+       * elf.c (prep_headers): Add bfd_arch_ia64.
+       * libbfd.h: Rebuild.
+       * reloc.c: Add IA-64 relocations.
+       * targets.c (bfd_elf64_ia64_little_vec, bfd_elf64_ia64_big_vec):
+       Declare.
+       (bfd_target_vect): Add bfd_elf64_ia64_little_vec.
+       * cpu-ia64-opc.c, cpu-ia64.c, elf64-ia64.c: New files.
+       
+2000-04-21  Richard Henderson  <rth@cygnus.com>
+
+       * elf32-d30v.c (bfd_elf_d30v_reloc): Don't modify section
+       contents when performing a partial link.
+       (bfd_elf_d30v_reloc_21): Likewise.
+
+2000-04-20  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-i386.c (elf_i386_relocate_section): Restrict 1998-12-10
+       patch to symbols defined by a shared object.
+       * elf32-ppc.c (ppc_elf_relocate_section): Similarly.
+
+2000-04-19  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       K&R compiler fixes.
+       * dwarf2.c (concat_filename): Avoid string literal concatenation.
+       * ieee.c (ieee_get_symtab): Don't initialise union in struct.
+
+Mon Apr 17 19:14:36 2000  David Mosberger  <davidm@hpl.hp.com>
+
+       * Makefile.am (BFD64_BACKENDS): Mention coff-ia64.lo.
+       (BFD64_BACKENDS_CFILES): Mention coff-ia64.c
+       (coff-ia64.lo): Add dependency.
+       * Makefile.in: Regenerate.
+       * coff-ia64.c: New file.
+       * efi-app-ia32.c: Ditto.
+       * efi-app-ia64.c: Ditto.
+       * coffcode.h (coff_set_arch_mach_hook): Handle IA64MAGIC.
+       (coff_set_flags): Ditto.
+       (coff_write_object_contents) [IA64]: Set magic number to ZMAGIC.
+       * config.bfd (i[3456]86-*-linux-gnu*): Mention bfd_efi_app_ia32_vec.
+       * configure.in (elf): Handle bfd_efi_app_ia32 and bfd_efi_app_ia64_vec.
+       * configure: Regenerate.
+       * libpei.h (GET_OPTHDR_IMAGE_BASE): New macro.
+       (PUT_OPTHDR_IMAGE_BASE): Ditto.
+       (GET_OPTHDR_SIZE_OF_STACK_RESERVE): Ditto.
+       (PUT_OPTHDR_SIZE_OF_STACK_RESERVE): Ditto.
+       (GET_OPTHDR_SIZE_OF_STACK_COMMIT): Ditto.
+       (PUT_OPTHDR_SIZE_OF_STACK_COMMIT): Ditto.
+       (GET_OPTHDR_SIZE_OF_HEAP_RESERVE): Ditto.
+       (PUT_OPTHDR_SIZE_OF_HEAP_RESERVE): Ditto.
+       (GET_OPTHDR_SIZE_OF_HEAP_COMMIT): Ditto.
+       (PUT_OPTHDR_SIZE_OF_HEAP_COMMIT): Ditto.
+       (GET_PDATA_ENTRY): Ditto.
+       * peigen.c (_bfd_pei_swap_aouthdr_in) [COFF_WITH_PEP64]: Don't read
+       data_start.  Use above macros to read fields that are 64 bit wide for
+       COFF_WITH_PEP64.  Don't truncate entry and text_start to 32 bits.
+       (_bfd_pei_swap_aouthdr_out) [PEI_FORCE_MINIMUM_ALIGNMENT]: Force
+       FileAlignment and SectionAlignment to minimum alignment if they
+       are zero.
+       (_bfd_pei_swap_aouthdr_out) [PEI_DEFAULT_TARGET_SUBSYSTEM]: Set
+       Subsystem to default PEI_DEFAULT_TARGET_SUBSYSTEM.
+       (_bfd_pei_swap_aouthdr_out) [COFF_WITH_PEP64]: Don't set data_start.
+       Use above macros to write fields that are 64 bit wide for
+       COFF_WITH_PEP64.
+       (pe_print_pdata): Set PDATA_ROW_SIZE to 3*8 for COFF_WITH_PEP64,
+       5*4 otherwise.  This should be right for IA-32 and IA-64, but may
+       be wrong for platforms.  Use PDATA_ROW_SIZE instead of hardcoded
+       value of 20 bytes.  Modify printing for COFF_WITH_PEP64 to print
+       begin address, end address, and unwind info address only.  Use
+       GET_PDATA_ENTRY() to read .pdata entries.  Use fprintf_vma() to
+       print addresses.
+       (tbl): Add SECTION, REL32, RESERVED1, MIPS_JMPADDR16, DIR64, and
+       HIGH3ADJ relocation names.
+       (_bfd_pe_print_private_bfd_data): Print Subsystem name in legible form.
+       * targets.c: Declare bfd_efi_app_ia32_vec and
+       bfd_efi_app_ia64_vec.
+       (bfd_target_vector): Mention bfd_efi_app_ia32_vec and
+       bfd_efi_app_ia64_vec.
+       
+2000-04-17  Timothy Wall  <twall@cygnus.com>
+
+       * bfd-in2.h: Add prototypes for tic54x load page access.
+       * bfd-in.h: Regenerate.
+       * coff-tic54x.c: Add load page functions; allow bfd_arch_unknown
+       in customized _set_arch_mach function.
+       * coffcode.h (coff_set_alignment_hook): Set section load page if
+       the appropriate macro is defined. 
+       (write_object_contents): Read section load page.
+       
+2000-04-13  Alan Modra  <alan@linuxcare.com.au>
+
+       * elf32-hppa.h: Update copyright date.
+
+       * elf32-fr30.c (fr30_elf_i20_reloc): Don't use U suffix.
+       * elf32-mips.c (_bfd_mips_elf_relocate_section): And here.
+
+       * elf32-d30v.c (MAX32): Don't use LL suffix.
+       (MIN32): Define in terms of MAX32.
+       (bfd_elf_d30v_reloc): Make relocation a bfd_signed_vma.
+
+       * coff-a29k.c (SIGN_EXTEND_HWORD): Replace with more concise
+       expression.
+
+       * peicode.h (pe_ILF_build_a_bfd): Remove UL from hex constants.
+
+2000-04-12  Alan Modra  <alan@linuxcare.com.au>
+
+       * dep-in.sed: Match space before file name, not after.
+
+       * Makefile.am: Regenerate dependencies.
+       * Makefile.in: Regenerate.
+
+       * reloc.c (_bfd_relocate_contents): In complain_overflow_bitfield
+       case, allow address wrap-around stupidly removed 2000-03-17.  Sign
+       extend without an if statement.
+
+2000-04-11  Alan Modra  <alan@linuxcare.com.au>
+
+       * coff-mips.c (mips_gprel_reloc): Test for 16 bit range using
+       signed quantites.
+       * elf32-mips.c (gprel16_with_gp): Likewise.
+       * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Test range
+       here using -0x40000, not (int)0xfffc0000.
+       (elf32_hppa_size_of_stub): Likewise.
+
+2000-04-11  Timothy Wall  <twall@cygnus.com>
+
+       * coff-tic54x.c: Now builds with all targets.
+       * Makefile.am: Add coff/tic54x.h to coff-tic54x.o dependencies.
+       * Makefile.in: Regenerate.
+       * coffcode.h (coff_set_arch_mach_hook): Eliminate warning on
+       unitialized variable.
+       
+Fri Apr  7 15:56:57 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+       * configure.in (WARN_CFLAGS): Set to -W -Wall by default.  Add
+       --enable-build-warnings option.
+       * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions.
+       * Makefile.in, configure: Re-generate.
+
+2000-04-07  Nick Clifton  <nickc@cygnus.com>
+
+       * reloc.c: Add BFD_RELOC_ARM_PCREL_BLX and
+       BFD_RELOC_THUMB_PCREL_BLX.
+
+       * elf32-arm.h (elf32_arm_final_link_relocate): Handle
+       R_ARM_XPC25 and R_ARM_THM_PC22.
+
+       * elfarm-nabi.c (elf32_arm_howto_): Fix definitions of
+       R_ARM_XPC25 and R_ARM_THM_XPC22.
+       (elf32_arm_reloc_map): Make BFD_RELOC_{ARM|THUMB}_PCREL_BLX to
+       R_ARM_[XPC25|THM_XPC22].
+
+       * elfarm-oabi.c: Define OLD_ARM_ABI and change include from
+       elf/arm-oabi.h to elf/arm.h
+
+       * Makefile.am: Fix dependency for elfarm-oabi.c
+       * Makefile.in: Regenerate.
+       
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+2000-04-06  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * elfcore.h (elf_core_file_p): preserve value of tdata at entry,
+       and restore it on failure.  Release newly allocated tdata on
+       failure.
+       
+Fri Apr  7 11:33:47 2000  Jim Wilson  <wilson@cygnus.com>
+
+       * dwarf2.c (struct dwarf2_debug): New field dwarf_line_size.
+       (decode_line_info): Set it.  Report error if unit->line_offset is
+       equal to or larger than it.
+
+2000-04-07  Timothy Wall  <twall@cygnus.com>
+
+       * targets.c: Added vecs for tic54x.
+       * reloc.c: Added relocs for tic54x.
+       * libbfd.h: Regenerated.
+       * configure: Add TI COFF vecs for tic54x.
+       * configure.in: Ditto.
+       * config.bfd (targ_cpu): Recognize new tic54x target.
+       * coffcode.h (coff_slurp_symbol_table): Additions for TI COFF handling.
+       * bfd-in2.h: Add tic54x target and relocations.
+       * Makefile.am, Makefile.in: Add tic54x target.
+       * archures.c (bfd_archures_list): Add tic54x target.
+       * coff-tic54x.c: New.
+       * cpu-tic54x.c: New.
+       
+2000-04-06  Michael Snyder  <msnyder@seadog.cygnus.com>
+
+       * elfcore.h (elf_core_file_p): call backend_object_p which
+       thereby gets an opportunity to update the arch/machine type.
+
+2000-04-06  Timothy Wall  <twall@cygnus.com>
+
+       * coffcode.h (coff_slurp_symbol_table): Handle C_STATLAB storage
+       class.  Handle SEC_CLINK and SEC_BLOCK flags.
+       * section.c: Add SEC_CLINK and SEC_BLOCK flags.
+       * bfd-in2.h: Add SEC_CLINK and SEC_BLOCK flags.
+
+2000-04-06  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-arm.h (elf32_arm_set_private_flags): Only check for
+       EF_INTERWORK if this is an unknown EABI.
+       (elf32_arm_merge_private_bfd_data): Check EABI version
+       numbers.  Only check EF_xxx flags if the EABI version number
+       is unknown.
+       (elf32_arm_check_private_bfd_data): Only check EF_xxx flags
+       if the EABI version number is unknown.
+       (elf32_arm_print_private_bfd_data): Only decode EF_xxx flags
+       if the EABI version number is unknown.
+
+Wed Apr  5 22:04:20 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and
+       BFD_RELOC_SH_LOOP_END.
+       * elf32-sh.c (sh_elf_howto_tab): Change special_func to
+       sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore.
+       Add entries for R_SH_LOOP_START and R_SH_LOOP_END.
+       (sh_elf_reloc_loop): New function.
+       (sh_elf_reloc): No need to test for always-to-be-ignored relocs
+       any more.
+       (sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}.
+       (sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}.
+       * bfd-in2.h, libbfd.h: Regenerate.
+
+2000-04-04  Alan Modra  <alan@linuxcare.com.au>
+
+       * po/bfd.pot: Regenerate.
+
+       * Makefile.am: Remove extraneous mkdep comment.
+       (MKDEP): Use gcc -MM rather than mkdep.
+       (DEP): Quote when passing vars to sub-make.  Add warning
+       message to end.
+       (DEP1): Rewrite for "gcc -MM".
+       (CLEANFILES): Add DEP2.
+       Update dependencies.
+       * Makefile.in: Regenerate.
+
+2000-04-03  Kevin Buettner  <kevinb@redhat.com>
+
+        * configure.in: Added corefile support for AIX 4.3.  In particular,
+        AIX_CORE_DUMPX_CORE will be defined in addition to AIX_CORE when
+        compiling rs6000-core.c.
+        * configure: Regenerated.
+
+2000-04-03  H.J. Lu  <hjl@gnu.org>
+
+       * cache.c (bfd_open_file): Unlink the output file only if
+       it has non-zero size.
+
+2000-04-01  Ken Block USG  <block@zk3.dec.com>
+
+       * elf64-alpha.c (elf64_alpha_relocate_section): Don't emit
+       relative relocations for non-loaded sections in shared objects.
+       (elf64_alpha_check_relocs): Similarly.
+
+Mon Apr  3 13:37:15 2000  Hans-Peter Nilsson  <hp@axis.com>
+
+       * aoutx.h (NAME(aout,reloc_type_lookup)): Add BFD_RELOC_8 and
+       BFD_RELOC_16 to switch for extended relocs.
+       (MY_swap_ext_reloc_in): New.
+       (MY_swap_ext_reloc_out): New.
+       (NAME(aout,slurp_reloc_table)): Use MY_swap_ext_reloc_in rather
+       than NAME(aout,swap_ext_reloc_in) for extended relocs.
+       (NAME(aout,squirt_out_relocs)): Similarly use
+       MY_swap_ext_reloc_out.
+       (aout_link_reloc_link_order): Use MY_put_ext_reloc if defined.
+
+2000-04-03  Kazu Hirata  <kazu@hxi.com>
+
+       * coff-h8300.c (h8300_reloc16_extra_cases): Add bsr:16 -> bsr:8 to
+       the R_PCRWORD_B case.
+
+2000-03-31  Thomas de Lellis  <tdel@wrs.com>
+
+       * srec.c : Set CHUNK size to 16 bytes to prevent download failures
+       on some targets.
+       * ihex.c : Ditto.
+
+Wed Mar 30 15:28:00 2000  Donald Lindsay  <dlindsay@cygnus.com>
+
+       * elf32-m32r.c (m32r_elf_generic_reloc): new function.  All
+       HOWTO references to bfd_elf_generic_reloc, that have
+       partial_inplace == true, now use the new function.  The function
+       is based on the recent rewrite of m32r_elf_lo16_reloc(), and
+       extends its fixes to the R_M32R_{16,24,32} relocs.
+       The new logic in m32r_elf_lo16_reloc() has been removed, and
+       it instead calls the new routine to obtain that functionality.
+
+2000-03-27  Alan Modra  <alan@linuxcare.com.au>
+
+       * elf32-avr.c (elf32_avr_gc_mark_hook, elf32_avr_gc_sweep_hook,
+       elf32_avr_check_relocs, avr_final_link_relocate,
+       elf32_avr_relocate_section, bfd_elf_avr_final_write_processing,
+       elf32_avr_object_p): Add prototypes.
+       (elf32_avr_gc_mark_hook): Add default for h->root.type.
+       (bfd_elf_avr_final_write_processing): Make static.
+
+2000-03-27  Denis Chertykov  <denisc@overta.ru>
+
+       * cpu-avr.c: New file.  BFD support routines for AVR architecture.
+       * archures.c (bfd_architecture): Add AVR architecture.
+       (bfd_archures_list): Add reference to AVR architecture info.
+       * elf.c (prep_headers): Handle bfd_arch_avr.
+       * reloc.c: Add various AVR relocation enums.
+       * targets.c (bfd_elf32_avr_vec): Declare and add to target vector
+       list.
+       * Makefile.am: Add support for AVR elf.
+       * configure.in: Likewise.
+       * config.bfd: Likewise.
+       * Makefile.in: Regenerate.
+       * configure: This too.
+       * bfd-in2.h: And this.
+       * libbfd.h: And this.
+
+2000-03-24  H.J. Lu  <hjl@gnu.org>
+
+       * elf64-alpha.c (elf64_alpha_merge_ind_symbols): Add prototype.
+       (elf64_alpha_find_reloc_at_ofs): Likewise.
+
+2000-03-17  Alan Modra  <alan@linuxcare.com.au>
+
+       * reloc.c (bfd_check_overflow): In case complain_overflow_bitfield,
+       flag an overflow if the bitfield is outside -2**n to 2**n-1.  The
+       allowable range used to be -2**(n-1) to 2**n-1.
+       * reloc.c (_bfd_relocate_contents): Same here.  Also replace
+       "boolean overflow" with "bfd_reloc_status_type flag".
+
+2000-03-14  Doug Evans  <dje@casey.transmeta.com>
+        * elf32-m32r.c (m32r_elf_lo16_reloc): Rewrite.
+2000-03-14  Kazu Hirata  <kazu@hxi.com>
+
+       * reloc16.c (bfd_coff_reloc16_relax_section): Count the total number
+       of shrinks properly, including the last reloc.
+
+2000-03-13  Kazu Hirata  <kazu@hxi.com>
+
+       * coff-h8300.c (h8300_reloc16_extra_cases): Fix the sanity
+       check for R_MOVL2.
+
+2000-03-11  Alan Modra  <alan@linuxcare.com.au>
+
+       * ieee.c (ieee_archive_p): Return bfd_error_wrong_format on 
+       a format mismatch rather than an "error" from bfd_read such as
+       bfd_error_file_truncated.
+
+2000-03-10  Geoff Keating  <geoffk@cygnus.com>
+
+       * elf32-mips.c (_bfd_mips_elf_relocate_section): Do proper
+       sign-extension and big-endian compensation for
+       R_MIPS_64 even in ld -r.
+
+2000-03-10  Geoffrey Keating  <geoffk@cygnus.com>
+
+       * elf32-mips.c (mips_elf_next_relocation): Rename from
+       mips_elf_next_lo16_relocation, and generalize to look
+       for any relocation type.
+       (elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset.
+       (elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16.
+       (elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16.
+       (elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2.
+       (elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64.
+       (elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32.
+       (bfd_elf32_bfd_reloc_type_lookup): Add new relocs.
+       (mips_rtype_to_howto): Likewise.
+       (mips_elf_calculate_relocation): Handle new relocs.
+       (_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs
+       are paired.  The addend for R_MIPS_GNU_REL16_S2
+       is shifted right two bits.
+
+2000-03-10  Alan Modra  <alan@linuxcare.com.au>
+
+       * reloc.c (bfd_perform_relocation): Undo emacs formatting of
+       comment, and ensure it doesn't happen again.
+       (bfd_install_relocation): Same here.
+       (_bfd_relocate_contents): Don't bother assigning unused signmask
+       shift result.  Fix typos in comments.
+       Remove trailing whitespace throughout file.
+
+2000-03-07  Doug Evans  <dje@casey.transmeta.com>
+
+       * reloc.c (reloc_howto_struct): Fix partial_inplace comment.
+       * bfd-in2.h: Rebuild.
+
+2000-03-06  Nick Clifton  <nickc@cygnus.com>
+
+       * peicode.h (struct pe_ILF_vars): Add sym_ptr_table and
+       sym_ptr_ptr fields.
+       (SIZEOF_ILF_SYM_PTR_TABLE): Define.
+       (SIZEOF_ILF_STRINGS): Redefine.
+       (pe_ILF_make_a_symbol-reloc): New function.  Creates a symbol
+       relative reloc, as opposed to a section relative reloc.
+       (pe_ILF_make_a_symbol): Set the class of local symbols to C_STAT
+       not C_LABEL.
+       Add length of symbol's prefix to string pointer.
+       Store a pointer to the symbol in the symbol pointer table.
+       (pe_ILF_build_a_bfd): Do not build .idata$2 or .idata$7.
+       Initialise the symbol pointer table.
+       Store the hint in the Hint/Name table.
+       Make the jump reloc be symbol realtive, not section relative.
+       Create an import symbol for imported code.
+
+2000-03-06  Catherine Moore  <clm@cygnus.com>
+
+       * elf.c (swap_out_syms):  Check for null type_ptr.
+
+2000-03-01  Hans-Peter Nilsson  <hp@axis.com>
+
+       * aout-target.h (MY(write_object_contents)): Remove unused
+       and unusable "#if CHOOSE_RELOC_SIZE".
+       * pc532-mach.c (MY(write_object_contents)): Ditto.
+       * netbsd.h (MY(write_object_contents)): Ditto.
+       * hp300hpux.c (MY(write_object_contents)): Ditto.
+       * freebsd.h (MY(write_object_contents)): Ditto.
+       * aout-tic30.c (tic30_aout_write_object_contents): Ditto.
+
+2000-02-29  H.J. Lu  <hjl@gnu.org>
+
+       * peicode.h (jtab): Make it static.
+
+       * coff-sh.c (sh_align_load_span): Declared if COFF_WITH_PE is
+       defined and COFF_IMAGE_WITH_PE is not defined.
+       (_bfd_sh_align_load_span): Defined as sh_align_load_span if
+       COFF_WITH_PE is defined and COFF_IMAGE_WITH_PE is not defined.
+
+2000-03-01  Nick Clifton  <nickc@cygnus.com>
+
+       * coff-arm.c (bfd_arm_process_before_allocation): Make
+       'symndx' signed to prevent compile time warning.
+
+       * coff-mcore.c: Remove unused prototype for pe_object_p.
+
+       * coff-sh.c: Add "#ifndef COFF_IMAGE_WITH_PE" around static
+       functions that are not used when COFF_IMAGE_WITH_PE is
+       defined.
+       (struct sh_opcode): Change type of 'flags' field to unsigned
+       long so that it can hold the USESAS flag.
+
+       * coffcode.h (styp_to_sec_flags): Initialise 'target_name'.
+
+       * elf-m10300.c (mn10300_elf_relax_section): Initialise
+        'sym_sec'.
+
+       * elf32-i370.c: Add ATTRIBUTE_UNUSED to unused function
+       parameters.
+       Remove unusued variables and code.
+       (elf_backend_add_symbol_hook): Fix prototype.
+
+       * elf32-m68k.c (elf_m68k_gc_sweep_hook): Initialise 'sgot' and
+       'srelgot'.
+
+       * elf32-mcore.c (mcore_elf_relocate_section): Initialise
+       'oldinst'. 
+
+       * elf32-mips.c: Add ATTRIBUTE_UNUSED to unused function
+       parameters.
+       Remove unusued variables and code.
+       (elf_backend_add_symbol_hook): Fix prototype.
+
+       * elf32-sh.c (sh_elf_set_mach_from_flags): Use 'flags'.
+
+       * elflink.h (elf_bfd_link_add_symbols): Add ATTRIBUTE_UNUSED
+       to unused function parameter.
+       
+       * pe-mips.c: Add ATTRIBUTE_UNUSED to unused function
+       parameters.
+       Use EMPTY_HOWTO to initialise empty howto slots.
+       Remove unused variables.
+
+       * peicode.h (pe_ILF_build_a_bfd): Initialise id6.       
+
+2000-03-01  H.J. Lu  <hjl@gnu.org>
+
+       * aoutx.h (aout_link_input_section_std): Pass "true" to
+       the undefined_symbol callback.
+       (aout_link_input_section_ext): Likewise.
+       * bout.c (get_value): Likewise.
+       * coff-a29k.c (coff_a29k_relocate_section): Likewise.
+       * coff-alpha.c (alpha_ecoff_get_relocated_section_conten):
+       Likewise.
+       (alpha_relocate_section): Likewise.
+       * coff-arm.c (coff_arm_relocate_section): Likewise.
+       * coff-i960.c (coff_i960_relocate_section): Likewise.
+       * coff-mcore.c (coff_mcore_relocate_section): Likewise.
+       * coff-mips.c (mips_relocate_section): Likewise.
+       * coff-ppc.c (coff_ppc_relocate_section): Likewise.
+       * coff-sh.c (sh_relocate_section): Likewise.
+       * coff-tic80.c (coff_tic80_relocate_section): Likewise.
+       * cofflink.c (_bfd_coff_generic_relocate_section): Likewise.
+       * elf-m10200.c (mn10200_elf_relocate_section): Likewise.
+       * elf-m10300.c (mn10300_elf_relocate_section): Likewise.
+       * elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
+       * elf32-fr30.c (fr30_elf_relocate_section): Likewise.
+       * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
+       * elf32-i370.c (i370_elf_relocate_section): Likewise.
+       * elf32-m32r.c (m32r_elf_relocate_section): Likewise.
+       * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
+       * elf32-sh.c (sh_elf_relocate_section): Likewise.
+       * elf32-v850.c (v850_elf_relocate_section): Likewise.
+       * elflink.c (_bfd_elf_link_record_dynamic_symbol): Likewise.
+       * elflink.h (elf_link_output_extsym): Likewise.
+       * pe-mips.c (coff_pe_mips_relocate_section): Likewise.
+       * reloc.c (bfd_generic_get_relocated_section_conten): Likewise.
+       * reloc16.c (_bfd_ppc_xcoff_relocate_section): Likewise.
+
+       * elf-hppa.h (elf_hppa_relocate_section): Pass "false" to the
+       undefined_symbol callback when building shared library with
+       -Bsymbolic and undefined symbols are allowed. Otherwise, pass
+       "true".
+       * elf32-arm.h (elf32_arm_relocate_section): Likewise.
+       * elf32-i386.c (elf_i386_relocate_section): Likewise.
+       * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+       * elf32-mips.c (mips_elf_calculate_relocation): Likewise.
+       (elf32_mips_get_relocated_section_content): Likewise.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+       * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
+       * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
+
+2000-02-28  Nick Clifton  <nickc@cygnus.com>
+
+       * Makefile.am: Add rules to build pe[i]-{sh|mips}.lo objects.
+       * Makefile.in: Regenerate.
+
+       * configure.in: Add support for mips and sh pe vectors.
+       * configure: regenerate.
+
+       * config.bfd: Add support for arm-wince, mips-pe and sh-pe
+       targets. 
+
+       * targets.c: Add mips and sh pe vectors.
+
+       * libpei.h (coff_final_link_postscript): Only define if not
+       already defined.
+
+       * coffcode.h: Add support for WinCE magic numbers.
+
+       * peigen.c (pe_print_reloc): Update comment and rearrange
+       appending of newline character.
+
+       * peicode.h: Add support for Image Library Format.
+       (pe_ILF_vars): Structure containing data used by ILF code.
+       (pe_ILF_make_a_section): New function.  Create a section based
+       on ILF data.
+       (pe_ILF_make_a_reloc): New function.  Create a reloc based on
+       ILF data.
+       (pe_ILF_make_a_symbol): New function.  Create a symbol based
+       on ILF data.
+       (pe_ILF_save_relocs): New function.  Store the relocs created
+       by pe_ILF_make_a_reloc in a section.
+       (pe_ILF_build_a_bfd): New function.  Create a BFD describing
+       an ILF object.
+       (pe_ILF_object_p): New function.  Return a bfd_target pointer
+       for an ILF object.
+       (pe_bfd_object_p): If an ILF object is detected call
+       pe_ILF_object_p on it.
+
+       * coff-arm.c: Add support for WinCE relocs which are different
+       from normal ARM COFF relocs.
+       * pe-arm.c: Unset TARGET_UNDERSCORE for a WinCE target.
+
+       * coff-sh.c: Add support for sh-pe target.
+       * pe-sh.c: New file.  Support code for sh-pe target.
+       * pei-sh.c: New file.  Support code for sh-pe target.
+
+       * pe-mips.c: New file.  Support code for mips-pe target.
+       * pei-mips.c: New file.  Support code for mips-pe target.
+
+2000-02-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Don't bump
+       architecture if the object causing the bump is dynamic.
+       * elf64-sparc.c (sparc64_elf_merge_private_bfd_data): Likewise,
+       and also don't it for memory ordering.
+       (sparc64_elf_write_relocs): Take src_rela out of the loop.
+
+2000-02-27  Ian Lance Taylor  <ian@zembu.com>
+
+       * dwarf2.c (read_abbrevs): Use _raw_size directly rather than
+       calling bfd_get_section_size_before_reloc.
+       (decode_line_info): Likewise.
+       (_bfd_dwarf2_find_nearest_line): Likewise.
+
+2000-02-27  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the
+       name of the libtool directory.
+       * Makefile.in: Rebuild.
+
+Fri Feb 25 18:39:26 2000  Rodney Brown (RodneyBrown@pmsc.com)
+
+       * som.c (SOM_HOWTO): Define.
+       (som_hppa_howto_table): Use it.
+
+2000-02-25  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
+
+       * config.bfd: Enable 64 bit support for GNU/Linux/sparc.
+
+       * config.bfd: Enable 64 bit support for Solaris7+/sparc.
+
+2000-02-24  Catherine Moore  <clm@cygnus.com>
+
+       * som.c (som_misc_symbol_info):  Add field
+       secondary_def. 
+       (som_bfd_derive_misc_symbol_info):  Initialize
+       secondary_def.
+       (som_build_and_write_symbol_table): Keep track
+       of secondary_def field.
+       (som_slurp_symbol_table): Set BSF_WEAK symbol flag
+       if secondary_def field is set.
+       (som_bfd_ar_write_symbol_stuff): Initialize
+       secondary_def.
+
+2000-02-23  Stephane Carrez  <stcarrez@worldnet.fr>
+
+       * dwarf2.c (read_address): Read 16-bits addresses.
+       (parse_comp_unit): Accept addr_size == 2.
+       
+2000-02-23  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * bfd-in.h: Update copyright date.
+
+2000-02-23  Linas Vepstas <linas@linas.org>
+
+       * cpu-i370.c: New file.
+       * elf32-i370.c:  New file.
+       * archures.c (enum bfd_architecture): Add bfd_arch_i370.
+       (bfd_i370_arch): New.
+       (bfd_archures_list): Add bfd_i370_arch.
+       * elf.c (prep_headers): Add bfd_arch_i370.
+       * Makefile.am: Add support for IBM 370 elf.
+       * config.bfd: Likewise.
+       * configure.in: Likewise.
+       * libbfd.h (bfd_reloc_code_real_names): Likewise.
+       * reloc.c (bfd_reloc_code_type): Likewise.
+       * targets.c: Likewise.
+
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2000-02-22  Ian Lance Taylor  <ian@zembu.com>
+
+       * elf32-i386.c (elf_i386_info_to_howto_rel): Give a warning for
+       invalid relocation types, and change them to R_386_NONE.
+
+2000-02-22  H.J. Lu  <hjl@gnu.org>
+
+       * elflink.h (elf_link_add_object_symbols): If a version symbol is
+       not defined, don't add a second ELF_VER_CHR.
+
+        * elflink.h (elf_bfd_final_link): Call output_extsym for global
+       symbols converted to local symbols even when stripping all
+       symbols.
+        (elf_link_output_extsym): Process global symbols converted to
+       local symbols even if they are being stripped.
+
+2000-02-21  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * archures.c (bfd_octets_per_byte): Return unsigned int.
+       (bfd_arch_mach_octets_per_byte): Ditto.
+       * libbfd.c (bfd_read, bfd_seek): Quell signed vs. unsigned
+       comparison warning.
+       * section.c (bfd_get_section_size_before_reloc): Quell signed
+       vs. unsigned comparison warning.
+       (bfd_get_section_size_after_reloc): Same here.  Fix parentheses too.
+       * trad-core.c (trad_unix_core_file_p): Correct 2000-01-27
+       change.  What was I thinking?
+       * bfd-in2.h: Regenerate.
+
+       * elflink.h (elf_gc_sweep): Skip non-elf input bfds.
+       (elf_gc_sections): Same here.
+       (elf_gc_common_finalize_got_offsets): And here.
+
+2000-02-21  Ian Lance Taylor  <ian@zembu.com>
+
+       ELF HPPA doesn't work at present; remove it until it does.
+       * config.bfd: Comment out setting targ_defvec to
+       bfd_elf32_hppa_vec.
+       * Makefile.am: Rebuild dependencies.
+       (BFD32_BACKENDS): Remove elf32-hppa.lo.
+       (BFD32_BACKENDS_CFILES): Remove elf32-hppa.c.
+       (SOURCE_HFILES): Remove elf32-hppa.h and hppa_stubs.h.
+       * Makefile.in: Rebuild.
+       * targets.c (bfd_target_vector): Comment out bfd_elf32_hppa_vec.
+
+2000-02-18  Geoff Keating  <geoffk@cygnus.com>
+
+       * coffcode.h (coff_set_arch_mach_hook): Use free(), because there
+       is no bfd_free().  Revert bfd_free part of previous change.
+
+2000-02-18  Geoff Keating  <geoffk@cygnus.com>
+
+       * coffcode.h (coff_set_arch_mach_hook): Don't use variable-size
+       arrays.
+       (coff_compute_section_file_positions): Use bfd_free to pair
+       bfd_malloc.
+       (coff_write_object_contents): Likewise.
+
+       * coff-rs6000.c (xcoff_howto_table_16): New variable.
+       (xcoff_rtype2howto): Handle 16-bit variants of 32-bit relocs.
+
+2000-02-18  Ulrich Drepper  <drepper@cygnus.com>
+
+       * coff-rs6000.c (XCOFFARMAGBIG): New macro.
+       (xcoff_ar_file_hdr_big): New structure.
+       (SIZEOF_AR_FILE_HDR_BIG): New macro.
+       (xcoff_ar_hdr_big): New structure.
+       (SIZEOF_AR_HDR_BIG): New macro.
+       (xcoff_big_format_p): New macro.
+       (xcoff_ardata_big): New macro.
+       (arch_xhdr_big): New macro.
+       (xcoff_slurp_armap): Handle large archives.
+       (xcoff_archive_p): Detect large archives.
+       (xcoff_read_ar_hdr): Handle large archives.
+       (xcoff_openr_next_archived_file): Handle large archives.
+       (xcoff_generic_stat_arch_elt): Handle large archives.
+       (xcoff_write_armap_old): Rename from xcoff_write_armap.
+       (xcoff_write_armap_big): New function.
+       (xcoff_write_armap): New function, dispatch to _old or _big.
+       (xcoff_write_archive_contents_old): Rename from
+       xcoff_write_archive_contents.
+       (xcoff_write_archive_contents_big): New function.
+       (xcoff_write_archive_contents): New function, dispatch to _old or
+       _big.
+
+2000-02-18  Richard Henderson  <rth@cygnus.com>
+
+       * elf-bfd.h (struct elf_link_hash_table): Remove copy_indirect
+       and hide_symbol members.
+       (elf_link_hash_copy_indirect): Remove.
+       (elf_link_hash_hide_symbol): Remove.
+       (struct elf_backend_data): Add elf_backend_copy_indirect_symbol
+       and elf_backend_hide_symbol.
+       (_bfd_elf_link_hash_copy_indirect): Declare.
+       (_bfd_elf_link_hash_hide_symbol): Declare.
+       * elf.c (_bfd_elf_link_hash_copy_indirect): Remove table argument.
+       (_bfd_elf_link_hash_hide_symbol): Likewise.
+       (_bfd_elf_link_hash_table_init): Don't init killed members.
+       * elflink.h (elf_link_add_object_symbols): Use the bed function
+       pointers not elf_link_hash_{copy_indirect,hide_symbol}.
+       (elf_link_assign_sym_version): Likewise.
+       * elfxx-target.h (elf_backend_copy_indirect_symbol): Default.
+       (elf_backend_hide_symbol): Likewise.
+       (elfNN_bed): Update for new members.
+
+2000-02-17  Kevin Buettner  <kevinb@redhat.com>
+
+       * rs6000-core.c (CORE_DATA_SIZE_FIELD, CORE_COMM_FIELD, SAVE_FIELD,
+       STACK_END_ADDR): Define for new core file format.
+       (LOADER_OFFSET_FIELD, LOADER_REGION_SIZE, CORE_DUMP): New defines
+       for handling the vagaries of the various core file structures used
+       by AIX over the years.
+       (rs6000coff_core_p, rs6000coff_core_file_matches_executable,
+       Rs6kCorData): Use above defines to adapt code to use AIX 4.3's
+       core_dumpx structure.
+
+Thu Feb 17 00:04:48 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * archures.c (bfd_mach_sh2, bfd_mach_sh_dsp): New macros.
+       (bfd_mach_sh3_dsp): Likewise.
+       (bfd_mach_sh4): Reinstate.
+       (bfd_default_scan): Recognize 7410, 7708, 7729 and 7750.
+       * bfd-in2.h: Regenerate.
+       * coff-sh.c (struct sh_opcode): flags is no longer short.
+       (USESAS, USESAS_REG, USESR8, SETSAS, SETSAS_REG): New macros.
+       (sh_opcode41, sh_opcode42): Integrate as sh_opcode41.
+       (sh_opcode01, sh_opcode02, sh_opcode40): Add sh-dsp opcodes.
+       (sh_opcode41, sh_opcode4, sh_opcode80): Likewise.
+       (sh_opcodes): No longer const.
+       (sh_dsp_opcodef0, sh_dsp_opcodef): New arrays.
+       (sh_insn_uses_reg): Check for USESAS and USESR8.
+       (sh_insn_sets_reg, sh_insns_conflict): Check for SETSAS.
+       (_bfd_sh_align_load_span): Return early for SH4.
+       Modify sh_opcodes lookup table for sh-dsp / sh3-dsp.
+       Take into account that field b of a parallel processing insn
+       could be mistaken for a separate insn.
+       * cpu-sh.c (arch_info_struct): New array elements for
+       sh2, sh-dsp and sh3-dsp.
+       Reinstate element for sh4.
+       (SH2_NEXT, SH_DSP_NEXT, SH3_DSP_NEXT): New macros.
+       (SH4_NEXT): Reinstate.
+       (SH3_NEXT, SH3E_NEXT): Adjust.
+       * elf-bfd.h (_sh_elf_set_mach_from_flags): Declare.
+       * elf32-sh.c (sh_elf_set_private_flags): New function.
+       (sh_elf_copy_private_data, sh_elf_set_mach_from_flags): Likewise.
+       (sh_elf_merge_private_data): New function.
+       (elf_backend_object_p, bfd_elf32_bfd_set_private_bfd_flags): Define.
+       (bfd_elf32_bfd_copy_private_bfd_data): Define.
+       (bfd_elf32_bfd_merge_private_bfd_data): Change to
+       sh_elf_merge_private_data.
+
+2000-02-13  Richard Henderson  <rth@cygnus.com>
+
+       * elf-bfd.h (struct elf_link_hash_table): Add copy_indirect and
+       hide_symbol members.
+       (elf_link_hash_copy_indirect): New.
+       (elf_link_hash_hide_symbol): New.
+       * elflink.h (elf_link_add_object_symbols): Break out copy from 
+       indirect new new symbol to elf.c.
+       (elf_link_assign_sym_version): Break out privatization of
+       non-exported symbol to elf.c.
+       * elf.c (_bfd_elf_link_hash_copy_indirect): New.
+       (_bfd_elf_link_hash_hide_symbol): New.
+       (_bfd_elf_link_hash_table_init): Init copy_indirect and hide_symbol.
+
+2000-02-13  Ian Lance Taylor  <ian@zembu.com>
+
+       * section.c (_bfd_strip_section_from_output): Add info parameter.
+       If it passed as non-NULL, use it to check whether any input BFD
+       has an input section which uses this output section.  Change all
+       callers.
+       * bfd-in2.h: Rebuild.
+
+       * bfd-in.h: Move declarations of bfd_get_elf_phdr_upper_bound and
+       bfd_get_elf_phdrs in from bfd-in2.h, correcting patch of
+       1999-11-29.
+       * bfd-in2.h: Rebuild.
+
+2000-02-10  Timothy Wall  <twall@cygnus.com>
+
+       * coffswap.h (coff_swap_sym_in): Add hook SWAP_SYM_IN_POST to
+       allow final modifications of swapped-in symbol.
+       (coff_swap_sym_out): Ditto with SWAP_SYM_OUT_POST.
+       * coffcode.h (coff_write_relocs): Use macro
+       SECTION_RELATIVE_ABSOLUTE_SYMBOL_P if defined to determine whether
+       symbol index should be set to -1.
+
+Thu Feb 10 20:07:50 GMT 2000  Toshiyasu Morita (toshi.morita@sega.com)
+
+       * coff-sh.c (USES1_REG, USES2_REG, SETS1_REG, SETS2_REG,
+       USESF1_REG, USESF2_REG, SETSF1_REG, SETSF2_REG): New macros.
+       * (sh_insn_sets_reg, sh_insn_sets_freg): New prototypes.
+       * (sh_insn_sets_reg, sh_insn_uses_or_sets_reg, sh_insns_sets_freg,
+       sh_insns_uses_or_sets_freg): New functions.
+       * (sh_insn_uses_reg, sh_insn_uses_freg): Use new macros.
+       * (sh_insns_conflict): Use new functions and new macros to 
+       detect conflicts when two instructions both set same integer registers,
+       both set same fp register, and both set special register.
+
+2000-02-09  Timothy Wall  <twall@cygnus.com>
+
+       * coffgen.c (coff_real_object_p): Set arch/mach info prior to
+       swapping in sections, so that the swapping routines have access to
+       the arch/mach info.
+
+2000-02-08 Mark Elbrecht <snowball3@bigfoot.com>
+       
+       * coff-go32.c: Update comment. Update copyright.
+2000-01-27  Thomas de Lellis  <tdel@windriver.com>
+
+        * syms.c (bfd_decode_symclass)
+        Two new class characters were added - 'V' and 'v'.  The
+        meaning of 'W' is now restricted to just weak non-object
+        symbols.  This allows differentiation between, for example,
+        weak functions vs weak objects.  nm for example now dumps:
+        'W' = weak global
+        'w' = weak unresolved
+        'V' = weak global object
+        'v' = weak unresolved object
+
+       (bfd_is_undefined_symclass): New function.  Return true if the
+       given symbol class represents and undefined/unresolved symbol.
+       
+        (bfd_symbol_info): Use bfd_is_undefined_symclass to check for
+       unresolved symbols.
+
+       * bfd-in2.h: Add prototype for bfd_is_undefined_symbol().
+       
+        * elf32-arm.h (elf32_arm_get_symbol_type): If a symbol has the
+       STT_ARM_16BIT flag set, but it is not attached to a data object
+       return STT_ARM_16BIT so that it will be treated as code by the
+       disassembler.
+
+2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * coff-i386.c (i3coff_object_p): Remove prototype.
+       Update copyright.
+
+       * elflink.c (_bfd_elf_link_record_dynamic_symbol): Add const
+       to name.  Update copyright.
+
+       * trad-core.c (trad_unix_core_file_p): Cast core_regsec
+       assignment to avoid warning.  Update copyright.
+
+2000-01-24  Robert Lipe  (robertl@sco.com)
+
+        * coffcode.h (coff_write_object_contents): Get buff via bfd_malloc
+       instead of using GNU C extension.
+
+2000-01-21  Nick Clifton  <nickc@cygnus.com>
+
+       * libbfd.c (bfd_read): Do not attempt to get a negativly sized
+       amount from a bfd_in_memory structure.
+       (bfd_seek): Do not allow seeks past the end of a bfd_in_memory
+       structure.
+
+2000-01-14  Nick Clifton  <nickc@cygnus.com>
+
+       * linker.c (default_indirect_link_order): oops - fix incorrectly
+       applied patch from Tim Wall.
+
+2000-01-13  Timothy Wall (twall@tiac.net>
+
+       * coffcode.h: Use bfd_coff_xxx instead of the macro XXX (where xxx
+       = scnhsz, filhsz, relsz, aoutsz, etc)
+
+        * coffswap.h: Ditto.
+       
+2000-01-13  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-arm.h (elf32_thumb_to_arm_stub): Fix offset in branch to
+       interwork thumb to arm stub.
+
+2000-01-13  Timothy Wall (twall@tiac.net>
+
+       * archures.c (bfd_octets_per_byte): New function: Return
+       target byte size.
+       (bfd_arch_mach_octets_per_byte): New function: Return target
+       byte size.
+
+       * section.c: Distinguish between octets and bytes for usage of
+       _cooked_size,  _raw_size, and output_offset.  Clarify
+       description of bfd_set_section_contents.
+
+       * bfd-in2.h: Regenerate.
+
+       * coffgen.c: Indicate that the offset parameter is in bytes, not
+       octets.
+       
+       * cofflink.c (bfd_coff_link_input_bfd): Use bfd_octets_per_byte
+       where appropriate to get the octet offset when calling
+       bfd_set_section_contents.
+       (bfd_coff_reloc_link_order): Ditto.
+       
+       * linker.c (bfd_generic_reloc_link_order): Ditto.
+       (_bfd_default_link_order): Ditto.
+       
+       * reloc.c (bfd_perform_relocation):  Distinguish between octets
+       and bytes.  Use octets when indexing into octet data; use bytes
+       when calculating target addresses.
+       (bfd_install_relocation): Ditto.
+       
+       * srec.c (srec_write_section): Ditto.
+       
+2000-01-13  Nick Clifton  <nickc@cygnus.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.
+
+2000-01-10  Philip Blundell  <pb@futuretv.com>
+
+       * config.bfd (arm*-*-linux-gnu*): Match instead of arm*-*-linux-gnu.
+       (arm*-*-conix*): New target.
+
+2000-01-10  Egor Duda  <deo@logos-m.ru>
+
+       * config.bfd: Include elf32_i386 vector to target list for cygwin 
+       and mingw.
+       
+       * config.in: Undefine HAVE_WIN32_PSTATUS_T.
+       * configure.in: Test for structure win32_pstatus_t in
+       <sys/procfs.h>
+       * configure: Regenerate.
+       
+       * elf.c (elfcore_grok_win32pstatus): New function: process
+       win32_pstatus_t notes in elf core file.
+       (elfcore_grok_note): Detect win32_pstatus notes.
+
 2000-01-03  Martin v. Loewis  <loewis@informatik.hu-berlin.de>
 
        * elflink.c (_bfd_elf_link_record_dynamic_symbol): Process symbol
@@ -5255,7 +6354,7 @@ Mon Feb 23 19:31:19 1998  Ian Lance Taylor  <ian@cygnus.com>
 1998-02-23 15:53  Richard Henderson  <rth@cygnus.com>
 
        * elf32-i386.c (elf_i386_relocate_section): A pc-relative
-       relocation against a now-local symbol should not have a dynamic
+       relocation against a non-local symbol should not have a dynamic
        relocation.
 
 Mon Feb 23 16:17:08 1998  Ian Lance Taylor  <ian@cygnus.com>