Add sequence id field to asection.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 21d25301bb2ddf75ad9bebfd285aa38be9c51979..ce058dc8be3bce6f995147fd03c481f1f330ce69 100644 (file)
@@ -1,3 +1,299 @@
+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.
@@ -1590,7 +1886,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.027825 seconds and 4 git commands to generate.