* peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index a142dc7fad67a60725051f83daa0a514bf043257..346d02218944975868dcdef540824d01c7186c99 100644 (file)
@@ -1,3 +1,429 @@
+2001-02-13  David Mosberger  <davidm@hpl.hp.com>
+
+       * peicode.h (coff_swap_filehdr_out) [COFF_IMAGE_WITH_PE]: Define
+       as _bfd_XXi_only_swap_filehdr_out.
+       (pe_mkobject) [PEI_FORCE_MINIMUM_ALIGNMENT]: Set
+       pe->force_minimum_alignment to TRUE.
+       (pe_mkobject) [PEI_TARGET_SUBSYSTEM]: Set pe->target_subsystem to
+       PEI_TARGET_SUBSYSTEM.
+       (pe_print_private_bfd_data): Call
+       _bfd_XX_print_private_bfd_data_common() instead of
+       _bfd_pe_print_private_bfd_data_common().
+       (pe_bfd_copy_private_bfd_data): Call
+       _bfd_XX_bfd_copy_private_bfd_data_common() instead of
+       _bfd_pe_bfd_copy_private_bfd_data_common().
+       (coff_bfd_copy_private_section_data): Define as
+       _bfd_XX_bfd_copy_private_section_data instead of
+       _bfd_pe_bfd_copy_private_section_data.
+       (coff_get_symbol_info): Define as _bfd_XX_get_symbol_info instead
+       of a _bfd_pe_get_symbol_info.
+
+       * peigen.c: Delete.
+
+       * peXXigen.c: Renamed from peigen.c.
+       (COFF_WITH_XX): Define this macro (will get expanded into
+       COFF_WITH_pep or COFF_WITH_pe, depending on whether this is being
+       compiled as peigen.c or pepigen.c.
+       [COFF_WITH_pep]: Include "coff/ia64.h" instead of "coff/i386.h" to
+       define the canonical PEP structures and definitions.
+       (_bfd_XXi_swap_aouthdr_out): If pe->force_minimum_alignment is in
+       effect, enforce minimum file and section alignments.  If
+       extra->Subsystem is IMAGE_SUBSYSTEM_UNKNOWN, set it to
+       pe->target_subsystem (this defaults to IMAGE_SUBSYSTEM_UNKNOWN,
+       so, by default, this is a no-op).
+
+       * libpei.h: Rename COFF_WITH_PEP to COFF_WITH_pep.
+       (_bfd_XX_bfd_copy_private_bfd_data_common): Add macros to map
+       _bfd_XXfoo to _bfd_pepfoo if COFF_WIT_PEP is defined and to
+       _bfd_pefoo if it's not defined.  Use these macros to define
+       coff swap macros.
+
+       * libcoff.h (pe_tdata): Add members target_subsystem and
+       force_minimum_alignment.
+
+       * efi-app-ia64.c (COFF_WITH_pep): Rename COFF_WITH_PEP to
+       COFF_WITH_pep.
+       (PEI_TARGET_SUBSYSTEM): Rename from PEI_DEFAULT_TARGET_SUBSYSTEM.
+
+       * configure.in (bfd_efi_app_ia64_vec): Use pepigen.lo instead of
+       peigen.lo.
+
+       * coff-ia64.c: Rename COFF_WITH_PEP to COFF_WITH_pep.
+       (AOUTSZ): Rename PEP64AOUTSZ and PEP64AOUTHDR to PEPAOUTSZ and
+       PEPAOUTHDR.
+
+       * Makefile.in (BFD64_BACKENDS): Mention pepigen.lo.
+       (BFD64_BACKENDS_CFILES): Mention pepigen.c
+       (peigen.c): Add rule to generate from peXXigen.c.
+       (pepigen.c): Ditto.
+       (pepigen.lo): List dependencies for pepigen.lo.
+
+2001-02-13  Alan Modra  <alan@linuxcare.com.au>
+
+       * elf32-hppa.c (elf32_hppa_set_gp): Handle weak $global$.  If
+       $global$ referenced but not defined, set its value here.
+
+2001-02-09  Bo Thorsen  <bo@suse.de>
+
+       * elf64-x86-64.c (elf64_x86_64_check_relocs): Set .rela.got section
+       alignment to 3.
+       (elf64_x86_64_check_relocs): Write R_X86_64_GOTPCREL GOT entry
+       and relocation.
+       (elf64_x86_64_relocate_section): Fix formatting.
+       (elf64_x86_64_relocate_section): Fix addend for relocation of
+       R_X86_64_(8|16|32|PC8|PC16|PC32).
+
+Mon Feb 12 17:46:24 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * elf64-x86-64.c (x86_64_elf_howto): Fix name of R_X86_64_GOTPCREL.
+
+2001-02-11  H.J. Lu  <hjl@gnu.org>
+
+       * elflink.h (elf_bfd_final_link): Use file_align for STMTAB
+       alignment.
+
+2001-02-11  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
+
+       * elf32-mips.c (mips_elf_create_dynamic_relocation): Undo patch
+       from 2000-10-13.  Do not add the symbol's value for R_MIPS_REL32
+       relocations against dynsym symbols.
+
+       * elf32-mips.c (elf_mips_howto_table): Fix the comment on
+       the R_MIPS_26 relocation.
+       (mips_elf_calculate_relocation): Use (p + 4) instead of p for
+       the R_MIPS_26 relocation.
+       (mips_elf_perform_relocation): Fix the comment on the R_MIPS16_26
+       relocation.
+       * elf64-mips.c (mips_elf64_howto_table_rel): Fix the comment on
+       the R_MIPS_26 relocation.
+       (mips_elf64_howto_table_rela): Likewise.
+
+       * elf32-mips.c (struct mips_elf_link_hash_entry): Added no_fn_stub
+       member to mark symbols that have non-CALL relocations against
+       them.
+       (mips_elf_link_hash_newfunc): Initialize no_fn_stub.
+       (mips_elf_calculate_relocation): Handle R_MIPS_CALL16 like
+       R_MIPS_GOT16.
+       (_bfd_mips_elf_check_relocs): Set no_fn_stub for a symbol if a
+       non-CALL relocation against it is encountered.
+       (_bfd_mips_elf_copy_indirect_symbol): Merge no_fn_stub as well.
+       (_bfd_mips_elf_adjust_dynamic_symbol): Only create a stub if
+       no_fn_stub is not set.
+
+       * elf32-mips.c (mips_elf_output_extsym): Get the output section
+       information from the real symbol for indirect ones.
+       Check no_fn_stub to find out if a symbol has a function stub
+       indeed.
+
+2001-02-11  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * Makefile.am (stamp-lib): ranlib the libbfd.a in the build directory.
+       * Makefile.in: Regenerate.
+
+2001-02-09  David Mosberger  <davidm@hpl.hp.com>
+
+       * elfxx-ia64.c (is_unwind_section_name): New function.  Returns
+       true if section name is an unwind table section name.
+       (elfNN_ia64_additional_program_headers): Count each unwind section
+       separately.
+       (elfNN_ia64_modify_segment_map): Install one unwind program header
+       for each unwind separate section.  Note: normally the linker
+       script merges the unwind sections that go into a single segment,
+       so this still generates at most one unwind program header per
+       segment.
+
+       * elfxx-ia64.c (elfNN_ia64_section_from_shdr): Accept any section
+       name for SHT_IA_64_UNWIND, not just .IA_64.unwind.
+       (elfNN_ia64_fake_sections): Mark sections with names that start
+       with .IA_64.unwind but not with .IA_64.unwind_info as an IA-64
+       unwind section.
+
+       * elfxx-ia64.c (elfNN_ia64_final_write_processing): New function.
+       Use it to make sh_info in unwind section point to the text section
+       it applies to.
+
+2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * Makefile.am: Add linux target for S/390.
+       * archures.c: Likewise.
+       * bfd-in2.h: Likewise.
+       * config.bfd: Likewise.
+       * configure.in: Likewise.
+       * elf.c: Likewise.
+       * libbfd.h: Likewise.
+       * targets.c: Likewise.
+       * cpu-s390.c: New file.
+       * elf32-s390.c: New file.
+       * elf64-s390.c: New file.
+
+2001-02-09  Nick Clifton  <nickc@redhat.com>
+
+       * peigen.c (_bfd_pe_get_symbol_info): Suppress addition of
+       ImageBase.  This has already been done by coff_swap_hdr_in.
+
+2001-02-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf64-sparc.c (sparc64_elf_copy_private_bfd_data): New function.
+
+2001-02-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf64-sparc.c (sparc64_elf_check_relocs): Don't trust reloc_count.
+       (sparc64_elf_relocate_section): Likewise.
+
+2001-02-09  Mark Kettenis  <kettenis@gnu.org>
+
+       * elf32-sparc.c (_bfd_sparc_elf_howto_table): Treat R_SPARC_UA32
+       similar to R_SPARC_32.
+       * elf64-sparc.c (sparc64_elf_howto_table): Likewise.
+
+2001-02-08  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-i386.c (elf_i386_check_relocs): Reserve R_386_PC32
+       relocation entries for weak definitions when building DSO with
+       -Bsymbolic.
+
+2001-02-08  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Respect weakness
+       before visibility.  Locally defined protected symbols are not
+       dynamic.
+
+2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
+
+       * config.bfd: Enable coff64 for rs6000-*.  Patch from
+       <hzoli@austin.ibm.com>.
+
+2001-02-07  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * coffgen.c (coff_find_nearest_line): If stabs info is successfully
+       found, do not attempt to find dwarf2 info before returning.
+
+2001-02-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * elflink.h (is_global_symbol_definition): Rename to
+       is_global_data_symbol_definition and have it reject function
+       symbols.
+       (elf_link_is_defined_archive_symbol): Use renamed function.
+
+2001-02-07  Todd Vierling  <tv@wasabisystems.com>
+
+       * libbfd-in.h (bfd_target_vector): Change extern array to pointer.
+       * libbfd.h (bfd_target_vector): Likewise.
+       * targets.c (bfd_target_vector): Rename to _bfd_target_vector and
+       make static; create pointer reference named bfd_target_vector.
+       (_bfd_target_vector_entries): Calculate this based on the array
+       typed _bfd_target_vector.
+
+2001-02-06  H.J. Lu  <hjl@gnu.org>
+
+       * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and
+       internal symbols are not dynamic.
+       * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.
+
+2001-02-06  Nick Clifton  <nickc@redhat.com>
+
+       * Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-ia64.c, so
+       that it will not be pulled into the list of files that make up
+       po/POTFILES.in.
+       * Makefile.in: Regenerate.
+       * po/bfd.pot:  Regenerate.
+
+2001-02-06  H.J. Lu  <hjl@gnu.org>
+
+       * bfd/peicode.h (coff_swap_filehdr_in): Remove the e_magic
+       checking.
+       (pe_bfd_object_p): Rewrite with external_PEI_DOS_hdr and
+       external_PEI_IMAGE_hdr.
+
+2001-02-06  Kazu Hirata  <kazu@hxi.com>
+
+       * elf-m10200.c: Fix formatting.
+
+2001-02-04  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-v850.c (v850_elf_reloc): Do not convert reloc addend to PC
+       rel, it will be handled later on.
+
+2001-02-02  Fred Fish  <fnf@ninemoons.com>
+
+       * Makefile.in: Fix typo.
+
+2001-02-01  Kazu Hirata  <kazu@hxi.com>
+
+       * elf-m10300.c: Fix formatting.
+
+2001-01-30  Alan Modra  <alan@linuxcare.com.au>
+
+       * elf64-hppa.c (elf64_hppa_elf_get_symbol_type): New function.
+       (elf_backend_get_symbol_type): Define.
+       (elf64_hppa_object_p): Set architecture and machine from elf
+       header flags.
+
+2001-01-30  Curtis L. Janssen  <cljanss@ca.sandia.gov>
+
+       * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2
+       before mdebug.
+
+2001-01-26  Richard Henderson  <rth@redhat.com>
+
+       * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false
+       for non-default visibility.
+       * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but
+       delete ugly macro and replace with pretty function.
+
+2001-01-25  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * coff-go32.c: Update copyright.
+       * coff-stgo32.c: Likewise.
+       * coff-go32.c (COFF_LONG_FILENAMES): Define.
+       * coff-stgo32.c (COFF_LONG_FILENAMES): Likewise.
+       * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Remove .bss entry.
+       * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise.
+
+2001-01-25  Kazu Hirata  <kazu@hxi.com>
+
+       * bfd-in2.h: Rebuild.
+       * libbfd.h: Likewise.
+
+2001-01-23  H.J. Lu  <hjl@gnu.org>
+
+       * bfd-in2.h: Rebuild.
+
+2001-01-23  H.J. Lu  <hjl@gnu.org>
+
+       * vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf)
+       is NULL or PRIV(vms_rec) is outside of the buffer.
+
+2001-01-23  Kazu Hirata  <kazu@hxi.com>
+
+       * coff64-rs6000.c: Fix formatting.
+       * coff-arm.c: Likewise.
+       * coffgen.c: Likewise.
+       * cofflink.c: Likewise.
+       * coff-mcore.c: Likewise.
+       * coff-mips.c: Likewise.
+       * coff-pmac.c: Likewise.
+       * coff-ppc.c: Likewise.
+       * coff-rs6000.c: Likewise.
+       * elf32.c: Likewise.
+       * elf32-fr30.c: Likewise.
+       * elf32-i370.c: Likewise.
+       * elf32-i860.c: Likewise.
+       * elf32-m32r.c: Likewise.
+       * elf32-m68k.c: Likewise.
+       * elf32-mcore.c: Likewise.
+       * elf32-ppc.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf32-v850.c: Likewise.
+       * elf64-alpha.c: Likewise.
+       * elf64-sparc.c: Likewise.
+       * elflink.c: Likewise.
+       * elflink.h: Likewise.
+       * elf-m10200.c: Likewise.
+       * elf-m10300.c: Likewise.
+       * elfxx-ia64.c: Likewise.
+
+       * aoutx.h: Fix formatting.
+       * bfd.c: Likewise.
+       * bfd-in2.h: Likewise.
+       * bfd-in.h: Likewise.
+       * cpu-i386.c: Likewise.
+       * cpu-m68hc11.c: Likewise.
+       * dwarf2.c: Likewise.
+       * elf64-x86-64.c: Likewise.
+       * format.c: Likewise.
+       * freebsd.h: Likewise.
+       * hash.c: Likewise.
+       * hp300hpux.c: Likewise.
+       * hppabsd-core.c: Likewise.
+       * hpux-core.c: Likewise.
+
+2001-01-22  Bo Thorsen  <bo@suse.de>
+
+       * elf64-x86-64.c: Added PIC support for X86-64.
+       (elf64_x86_64_link_hash_newfunc): Function added.
+       (elf64_x86_64_link_hash_table_create): Likewise.
+       (elf64_x86_64_check_relocs): Likewise.
+       (elf64_x86_64_gc_mark_hook): Likewise.
+       (elf64_x86_64_gc_sweep_hook): Likewise.
+       (elf64_x86_64_adjust_dynamic_symbol): Likewise.
+       (elf64_x86_64_size_dynamic_sections): Likewise.
+       (elf64_x86_64_discard_copies): Likewise.
+       (elf64_x86_64_finish_dynamic_symbol): Likewise.
+       (elf64_x86_64_finish_dynamic_sections): Likewise.
+       (elf64_x86_64_relocate_section): Add relocation of PIC sections.
+
+2001-01-21  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
+
+       * Makefile.am (install-data-local): Make use of $(DESTDIR).
+       * Makefile.in: Regenerate.
+
+2001-01-21  Kazu Hirata  <kazu@hxi.com>
+
+       * coff-a29k.c: Fix formatting.
+
+2001-01-19  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-i386.c (elf_i386_check_relocs): Report files with bad
+       relocation section names.
+       (elf_i386_relocate_section): Report files with bad relocation
+       section names and return false.
+
+2001-01-17  Bo Thorsen  <bo@suse.de>
+
+       * targets.c: Alphabetize list of xvecs.
+
+2001-01-14  Alan Modra  <alan@linuxcare.com.au>
+
+       * config.bfd: Add linux target variant for elfxx-hppa.
+       * configure.in: Recognize bfd_elf32_hppa_linux_vec and
+       bfd_elf64_hppa_linux_vec.
+       * configure: Regenerate.
+       * elf64-hppa.c: Include elf64-target.h again to support linux
+       target variant.
+       (elf64_hppa_post_process_headers): Set ELFOSABI_LINUX for linux.
+       * elf32-hppa.c: Include elf32-target.h again to support linux
+       target variant.
+       (elf32_hppa_post_process_headers): New function.
+       (elf_backend_post_process_headers): Define.
+       * targets.c (bfd_target_vector): Add bfd_elf64_hppa_linux_vec and
+       bfd_elf32_hppa_linux_vec.
+
+       * elf32-hppa.c (elf32_hppa_link_hash_table): Add text_segment_base,
+       and data_segment_base fields.
+       (elf32_hppa_link_hash_table_create ): Init them.
+       (elf32_hppa_check_relocs): Update comments.
+       (hppa_record_segment_addr): New function.
+       (elf32_hppa_relocate_section): Call it.
+       (final_link_relocate): Handle R_PARISC_SEGREL32.
+       (elf32_hppa_final_link): New function.
+       (bfd_elf32_bfd_final_link): Define to call it.
+       (hppa_unwind_entry_compare): New function.
+       * cache.c (bfd_open_file): Create files in write+read mode.
+
+       * elf-hppa.h (elf_hppa_howto_table): Set bitsize value for
+       SEGREL32 and numerous other relocs.  Change duplicate
+       R_PARISC_NONE relocs to R_PARISC_UNIMPLEMENTED.
+
+       * opncls.c (bfd_fdopenr): Add parens like the comment says around
+       O_ACCMODE.
+
+       * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Don't create
+       .plt entries for DT_INIT and DT_FINI.
+       (elf32_hppa_finish_dynamic_sections): Remove special handling of
+       DT_INIT and DT_FINI.
+
+       * elf64-hppa.c (elf64_hppa_finish_dynamic_symbol): Use 16-bit
+       offsets for stub .plt access if wide mode.  Check offset in range.
+
+2001-01-13  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-fr30.c (fr30_elf_howto_table): Remove spurious blank
+       line.
+
+       * coffcode.h (coff_canonicalize_reloc): Remove spurious blank
+       line.
+
 2001-01-12  Alan Modra  <alan@linuxcare.com.au>
 
        * configure.in ([bfd_elf64_x86_64_vec]): Set target64.
 
 2000-12-10  Fred Fish  <fnf@be.com>
 
-      * elflink.h (elf_link_output_extsym): Don't complain about undefined
-      symbols in shared objects if allow_shlib_undefined is true.
+       * elflink.h (elf_link_output_extsym): Don't complain about undefined
+       symbols in shared objects if allow_shlib_undefined is true.
 
 2000-12-12  Nick Clifton  <nickc@redhat.com>
 
        * configure: Regenerate.
        * libcoff-in.h (coff_tdata): Add pointer dwarf2_find_line_info.
        * libcoff.h: Regenerate.
-       * coffgen.c (coff_find_nearest_line): Call 
+       * coffgen.c (coff_find_nearest_line): Call
        _bfd_dwarf2_find_nearest_line.
        * dwarf2.c (_bfd_dwarf2_find_nearest_line): Add parameter. Update
        accordingly.
        to _bfd_find_nearest_line.
        * elf32-mips.c (_bfd_mips_elf_find_nearest_line): Add parameter to
        call to _bfd_find_nearest_line.
-         
+
 2000-12-08  Kazu Hirata  <kazu@hxi.com>
 
        * coffgen.c: Fix formatting.
 
 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
 
-        * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and
-        bfd_mach_mips32_4k.  Update FIXME comment.
-        * archures.c (bfd_mach_mips32): New constant.
-        (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
-        the latter, renumber it.
-        * bfd-in2.h (bfd_mach_mips32): New constant.
-        (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
-        the latter, renumber it.
-        * cpu-mips.c (I_mips32): New constant.
-        (I_mips4K, I_mips32_4k): Rename the former to the latter.
-        (arch_info_struct): Add bfd_mach_mips32 entry, replace
-        bfd_mach_mips4K entry with bfd_mach_mips32_4k entry.
-        * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case.
-        (elf_mips_mach): Likewise.  Also, replace E_MIPS_MACH_MIPS32
-        with E_MIPS_MACH_MIPS32_4K.
-        (_bfd_mips_elf_final_write_processing): Replace
-        bfd_mach_mips4K with bfd_mach_mips32_4k case, add
-        bfd_mach_mips32 case.
-        (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing
-        comparison with support for MIPS32.
-        (_bfd_mips_elf_print_private_bfd_data): Print ISA name for
-        MIPS32.
-
-        * aoutx.h (NAME(aout,machine_type)): Add cases for
-        bfd_mach_mips5 and bfd_mach_mips64.
-        * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants.
-        * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise.
-        * cpu_mips.c (I_mips5, I_mips64): New definitions.
-        (arch_info_struct): Add entries for bfd_mach_mips5 and
-        bfd_mach_mips64.
-        * elf32-mips.c (elf_mips_isa, elf_mips_mach,
-        _bfd_mips_elf_print_private_bfd_data): Add cases for
-        E_MIPS_ARCH_5 and E_MIPS_ARCH_64.
-        (_bfd_mips_elf_final_write_processing): Add cases for
-        bfd_mach_mips5 and bfd_mach_mips64.
-
-        * bfd/aoutx.h (NAME(aout,machine_type)): Add a
-        bfd_mach_mips_sb1 case.
-        * bfd/archures.c (bfd_mach_mips_sb1): New constant.
-        * bfd/bfd-in2.h (bfd_mach_mips_sb1): New constant.
-        * bfd/cpu-mips.c (I_sb1): New constant.
-        (arch_info_struct): Add entry for bfd_mach_mips_sb1.
-        * bfd/elf32-mips.c (elf_mips_mach): Add case for
-        E_MIPS_MACH_SB1.
-        (_bfd_mips_elf_final_write_processing): Add case for
-        bfd_mach_mips_sb1.
-
-2000-12-01      Joel Sherrill <joel@OARcorp.com>
+       * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mips32 and
+       bfd_mach_mips32_4k.  Update FIXME comment.
+       * archures.c (bfd_mach_mips32): New constant.
+       (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
+       the latter, renumber it.
+       * bfd-in2.h (bfd_mach_mips32): New constant.
+       (bfd_mach_mips4K, bfd_mach_mips32_4k) Rename the former to
+       the latter, renumber it.
+       * cpu-mips.c (I_mips32): New constant.
+       (I_mips4K, I_mips32_4k): Rename the former to the latter.
+       (arch_info_struct): Add bfd_mach_mips32 entry, replace
+       bfd_mach_mips4K entry with bfd_mach_mips32_4k entry.
+       * elf32-mips.c (elf_mips_isa): Add E_MIPS_ARCH_32 case.
+       (elf_mips_mach): Likewise.  Also, replace E_MIPS_MACH_MIPS32
+       with E_MIPS_MACH_MIPS32_4K.
+       (_bfd_mips_elf_final_write_processing): Replace
+       bfd_mach_mips4K with bfd_mach_mips32_4k case, add
+       bfd_mach_mips32 case.
+       (_bfd_mips_elf_merge_private_bfd_data): Generalize ISA mixing
+       comparison with support for MIPS32.
+       (_bfd_mips_elf_print_private_bfd_data): Print ISA name for
+       MIPS32.
+
+       * aoutx.h (NAME(aout,machine_type)): Add cases for
+       bfd_mach_mips5 and bfd_mach_mips64.
+       * archures.c (bfd_mach_mips5, bfd_mach_mips64): New constants.
+       * bfd-in2.h (bfd_mach_mips5, bfd_mach_mips64): Likewise.
+       * cpu_mips.c (I_mips5, I_mips64): New definitions.
+       (arch_info_struct): Add entries for bfd_mach_mips5 and
+       bfd_mach_mips64.
+       * elf32-mips.c (elf_mips_isa, elf_mips_mach,
+       _bfd_mips_elf_print_private_bfd_data): Add cases for
+       E_MIPS_ARCH_5 and E_MIPS_ARCH_64.
+       (_bfd_mips_elf_final_write_processing): Add cases for
+       bfd_mach_mips5 and bfd_mach_mips64.
+
+       * bfd/aoutx.h (NAME(aout,machine_type)): Add a
+       bfd_mach_mips_sb1 case.
+       * bfd/archures.c (bfd_mach_mips_sb1): New constant.
+       * bfd/bfd-in2.h (bfd_mach_mips_sb1): New constant.
+       * bfd/cpu-mips.c (I_sb1): New constant.
+       (arch_info_struct): Add entry for bfd_mach_mips_sb1.
+       * bfd/elf32-mips.c (elf_mips_mach): Add case for
+       E_MIPS_MACH_SB1.
+       (_bfd_mips_elf_final_write_processing): Add case for
+       bfd_mach_mips_sb1.
+
+2000-12-01  Joel Sherrill <joel@OARcorp.com>
 
        * config.bfd (arm-*-rtems*, a29k-*rtems*): New targets.
        (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
        (sparc*-*-rtems*): Switched from a.out to ELF.
 
 2000-11-30  Jan Hubicka  <jh@suse.cz>
-       
-        * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo
-        BFD64_BACKENDS_CFILES): Add elf64-x86-64.c
-        (elf64-x86-64.lo): Add dependencies.
-        * archures.c (DESCRIPTION): Add bfd_mach_x86_64,
-        bfd_mach_x86_64_intel_syntax.
-        * elf.c (prep_headers): Use EM_x86_64 for 64bit output.
-        * config.bfd (x86_64): Add.
-        * configure.in: Add support for bfd_elf64_x86_64_vec.
-        * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add.
-        (bfd_i386_arch, i8086_ar): Link in.
-        * elf64-x86-64.c: New file.
-        * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*.
-        * targets.c (bfd_elf64_x86_64_vec): Add.
-        (bfd_target_vect): Add bfd_elf64_x86_64_vec.
+
+       * Makefile.am (BFD64_BACKENDS): Add elf64-x86-64.lo
+       BFD64_BACKENDS_CFILES): Add elf64-x86-64.c
+       (elf64-x86-64.lo): Add dependencies.
+       * archures.c (DESCRIPTION): Add bfd_mach_x86_64,
+       bfd_mach_x86_64_intel_syntax.
+       * elf.c (prep_headers): Use EM_x86_64 for 64bit output.
+       * config.bfd (x86_64): Add.
+       * configure.in: Add support for bfd_elf64_x86_64_vec.
+       * cpu-i386.c (bfd_x86_64_arch_intel_syntax, bfd_x86_64_arch): Add.
+       (bfd_i386_arch, i8086_ar): Link in.
+       * elf64-x86-64.c: New file.
+       * reloc.c (ENUMDOC): Add BFD_RELOC_X86_64*.
+       * targets.c (bfd_elf64_x86_64_vec): Add.
+       (bfd_target_vect): Add bfd_elf64_x86_64_vec.
 
 2000-11-30  Kazu Hirata  <kazu@hxi.com>
 
 
 2000-11-22  Philip Blundell  <pb@futuretv.com>
 
-       * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to 
+       * cofflink.c (_bfd_coff_generic_relocate_section): Don't object to
        weak undefined symbols.
 
 2000-11-24  Nick Clifton  <nickc@redhat.com>
        (get_got): Delete unused local srel.
        (elfNN_ia64_check_relocs): Initialize dynrel_type when declared.
        (elfNN_ia64_relocate_section): Delete unused local dynindx.
-       
+
 2000-11-21  Kazu Hirata  <kazu@hxi.com>
 
        * coff-a29k.c: Fix formatting.
        * configure.in: Recognize alpha-*-freebsd*.
        * configure: Regenerate.
 
-2000-11-02  Luciano Gemme <ishitawa@yahoo.com> 
+2000-11-02  Luciano Gemme <ishitawa@yahoo.com>
 
        * srec.c (CHUNK): Rename to DEFAULT_CHUNK.
        (Chunk): New global variable set by a parameter in objcopy.c.
        * Makefile.in: Regenerate.
        * bfd-in2.h: Regenerate.
        * po/bfd.pot: Regenerate.
-       
+
 2000-10-31  Philip Blundell  <philb@gnu.org>
 
        * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
        * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse
        attempts to mix PIC code with non-PIC, just mark the output as
        being position dependent.
-       (elf32_arm_merge_private_bfd_data): Likewise.  Print an error 
-       message for EF_SOFT_FLOAT mismatches.  Display diagnostics for 
+       (elf32_arm_merge_private_bfd_data): Likewise.  Print an error
+       message for EF_SOFT_FLOAT mismatches.  Display diagnostics for
        all mismatches, not just the first one.
-       
+
 2000-10-25  Chris Demetriou  <cgd@sibyte.com>
 
        * ieee.c (ieee_archive_p): Plug one of many possible
        local_p.  Add symbol value only for non-R_MIPS_REL32 relocations
        against local symbols.
        (_bfd_mips_elf_finish_dynamic_sections): Undo patch from 2000-10-01.
-       
+
 2000-10-12  Alan Modra  <alan@linuxcare.com.au>
 
        * section.c (struct sec): Add kept_section.
        * bfd-in2.h: Regenerate.
 
        * elflink.h (elf_link_add_object_symbols): Remove unnecessary
-       zeroing of `flags'.  
+       zeroing of `flags'.
        (elf_link_input_bfd): Set all asection->symbol->value's here, and
        fudge values for discarded link-once section symbols.
 
 
 2000-10-10  Tom Rix <trix@redhat.com>
 
-       * section.c (bfd_make_section_anyway): Release newsect ptr when 
+       * section.c (bfd_make_section_anyway): Release newsect ptr when
        newsect->symbol fails to alloc.  Use bfd_release instead of free.
 
 2000-10-09  Richard Henderson  <rth@cygnus.com
        * elf.c (elf_fake_sections): Do not mark the section SHT_NOBITS if
        is has the SEC_HAS_CONTENTS flag set.
 
-2000-09-28  Örjan Friberg  <orjanf@axis.com>
+2000-09-28  Vrjan Friberg  <orjanf@axis.com>
            Hans-Peter Nilsson  <hp@axis.com>
 
        * aout-cris.c (N_TXTADDR): Define.
 2000-09-26  Hans-Peter Nilsson  <hp@axis.com>
 
        * elfcode.h (elf_object_p): Preserve and clear abfd section
-       information.  Restore at error.
+       information.  Restore at error.
 
 2000-09-26  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
 
 
 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
 
-       * cpu-mips.c (arch_info_struct): Add mips:4K
-       * bfd-in2.h (bfd_mach_mips4K): New define.
-       * archures.c: Add bfd_mach_mips4K to comment.
-       * elf32-mips.c (_bfd_mips_elf_final_write_processing): Return
+       * cpu-mips.c (arch_info_struct): Add mips:4K
+       * bfd-in2.h (bfd_mach_mips4K): New define.
+       * archures.c: Add bfd_mach_mips4K to comment.
+       * elf32-mips.c (_bfd_mips_elf_final_write_processing): Return
        E_MIPS_ARCH_2 for bfd_mach_mips4K.
 
 2000-09-13  Marco Franzen <marcof@thyron.com>
 
        * libhppa.h (HPPA_R_CONSTANT): Cast argument to bfd_signed_vma.
 
-2000-05-03  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
+2000-05-03  Martin v. Lvwis  <loewis@informatik.hu-berlin.de>
 
        * elflink.h (elf_link_add_object_symbols): Reset dynindx for
        hidden and internal symbols.
@@ -3966,7 +4392,7 @@ Thu Feb 10 20:07:50 GMT 2000  Toshiyasu Morita (toshi.morita@sega.com)
        * coffcode.h: Use bfd_coff_xxx instead of the macro XXX (where xxx
        = scnhsz, filhsz, relsz, aoutsz, etc)
 
-        * coffswap.h: Ditto.
+       * coffswap.h: Ditto.
 
 2000-01-13  Nick Clifton  <nickc@cygnus.com>
 
This page took 0.033389 seconds and 4 git commands to generate.