* peicode.h (coff_swap_filehdr_in): can't use e_magic because we
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 0884d78e521244919e66b38e472cb85683796c29..cb7a27ade8c19e2e84cd5cbb1106e07484d608d4 100644 (file)
@@ -1,3 +1,304 @@
+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
+       visibility bits if the symbol is undefined. Correctly handle
+       weak undefined symbols with hidden and internal attributes.
+
+       * elflink.h (elf_link_add_object_symbols): Always turn the
+       symbol into local if it has the hidden or internal attribute.
+
 2000-05-29  Philip Blundell  <philb@gnu.org>
 
        * ppcboot.c:  Add packed attribute if compiling with GCC.
 
        * 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"
@@ -1490,7 +1798,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.027683 seconds and 4 git commands to generate.