]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/ChangeLog
/bfd/ChangeLog
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
index d0e63e2d87bdf90b8ed073774fb8d23a5615eb56..93546b2b1ec82102bd9e7671d476af6c2e2101c9 100644 (file)
@@ -1,3 +1,243 @@
+2001-09-14  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config.bfd: Change machine triplets from mips*el*-* to mips*el-*.
+       Add support for mips64.
+
+2001-09-13  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-openrisc.c (ELF_MACHINE_ALT1): Define as EM_OPENRISC_OLD.
+
+2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf.c (prep_headers): Get the machine code from the elf
+       backend data.
+       * elf-m10200.c (ELF_MACHINE_CODE): Redefine to EM_MN10200.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10200.
+       * elf-m10300.c (ELF_MACHINE_CODE): Redefine to EM_MN10300.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300.
+       * elf-arc.c (arc_elf_final_write_processing): Don't override
+       e_machine, it's now properly set in prep_headers.
+       * elf32-avr.c (elf32_avr_object_p): Accept both EM_AVR and
+       EM_AVR_OLD.
+       (ELF_MACHINE_ALT1): Define to EM_AVR_OLD.
+       * elf-d10v.c (ELF_MACHINE_CODE): Redefine to EM_D10V.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D10V.
+       * elf-d30v.c (ELF_MACHINE_CODE): Redefine to EM_D30V.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D30V.
+       * elf-fr30.c (ELF_MACHINE_CODE): Redefine to EM_FR30.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_FR30.
+       * elf-m32r.c (ELF_MACHINE_CODE): Redefine to EM_M32R.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_M32R.
+       * elf32-pj.c (ELF_MACHINE_ALT1): DEfine to EM_PJ_OLD.
+       * elf-v850.c (ELF_MACHINE_CODE): Redefine to EM_V850.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_V850.
+
+2001-09-11  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_section_flags): New.
+       (elf64_alpha_fake_sections): Map SEC_SMALL_DATA to SHF_ALPHA_GPREL.
+
+2001-09-11  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_relocate_section): Do not
+       apply HINT relocations against dynamic symbols.
+
+2001-09-11  H.J. Lu  <hjl@gnu.org>
+
+       * linker.c (link_action): Change COMMON_ROW\defw from CREF to COM.
+
+2001-09-09  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c: Delete all unused ERIC_neverdef and rth_notdef code.
+
+       * elf64-alpha.c (elf64_alpha_relax_with_lituse): Nop out gpdisp
+       following a call to a near function.
+
+2001-09-08  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_relocate_section): Soft fail
+       relocation errors.  Fail gp-relative relocations against
+       dynamic symbols.
+
+2001-09-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-i386.c (elf_i386_relocate_section): Check !DEF_REGULAR
+       as well as DEF_DYNAMIC in test for avoided copy relocs.
+       (allocate_plt_and_got_and_discard_relocs): Likewise.
+       * elf32-hppa.c (elf_i386_relocate_section): Likewise.
+       (allocate_plt_and_got_and_discard_relocs): Likewise.
+
+2001-09-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * elf32-mips.c (mips_elf_calculate_relocation): Fix overflow handling
+       of R_MIPS_PC16.
+
+2001-09-06  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * elf64-mips.c (mips_elf64_howto_table_rel): Fix relocation HOWTO
+       definitions.
+       (mips_elf64_howto_table_rel): Likewise.
+
+2001-09-05  Tom Rix <trix@redhat.com>
+
+       * xcofflink.c (bfd_xcoff_import_symbol): Handle import file XMC_XO
+       and syscall symbols.
+       (write_global_symbol) : Same.
+       (bfd_xcoff_export_symbol): Remove unused syscall param.
+       * libxcoff.h: Change prototype of bfd_xcoff_export symbol and
+       bfd_xcoff_import_symbol.
+       * bfd-in.h: Same.
+       * bfd-in2.h : Regenerate.
+
+2001-09-04  Richard Henderson  <rth@redhat.com>
+
+       * elf64-alpha.c (SKIP_HOWTO): New.
+       (elf64_alpha_howto_table): Use it to remove dead ECOFF relocs.
+       Fix sizes of 16-bit mem format relocs.
+       (elf64_alpha_reloc_map): Update to match.
+       (elf64_alpha_relax_with_lituse): Use GPREL16 as appropriate.
+       (elf64_alpha_relax_without_lituse): Likewise.
+       (elf64_alpha_check_relocs): Handle GPREL16.
+       (elf64_alpha_relocate_section): Likewise.
+       * reloc.c (BFD_RELOC_ALPHA_USER_*): Remove.
+       (BFD_RELOC_ALPHA_GPREL_HI16, BFD_RELOC_ALPHA_GPREL_LO16): New.
+       * bfd-in2.h, libbfd.h: Rebuild.
+
+2001-09-04  Jeff Law <law@redhat.com>
+
+       * elf32-h8300.c (elf32_h8_relax_section): New function.
+       (elf32_h8_relax_delete_bytes): Likewise.
+       (elf32_h8_symbol_address_p): Likewise.
+       (elf32_h8_get_relocated_section_contents): Likewise.
+       (bfd_elf32_bfd_relax_section): Define.
+       (bfd_elf32_bfd_get_relocated_section_contents): Likewise.
+
+       * elf32-h8300.c (special): New function.
+       (h8_elf_howto_table): Use it for SPECIAL_FUNCTION field in
+       all relocations.
+       (elf32_h8_final_link_relocate): Treat R_H8_DIR24A8 like 32bit
+       relocations.  Fix problems with the true 24bit reloc R_H8_DIR24R8.
+       Fix minor problems with 8bit and 16bit PC relative relocations.
+
+2001-09-01  Andreas Jaeger  <aj@suse.de>
+
+       * vms-tir.c: Add missing prototypes.
+       * vms-hdr.c: Likewise.
+       * vms-gsd.c: Likewise.
+       * vms-misc.c: Likewise.
+
+2001-08-31  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-mips.c (_bfd_mips_elf_check_relocs): Report filename
+       with bad relocation.
+
+2001-08-31  Eric Christopher  <echristo@redhat.com>
+           Jason Eckhardt  <jle@redhat.com>
+
+       * bfd/archures.c: Add mipsisa32 and mipsisa64. Remove mips32,
+       mips32_4k and mips64.
+       * bfd/aoutx.h: Remove bfd_mach_mips32, bfd_mach_mips32_4k,
+       bfd_mach_mips64.  Add bfd_mach_mipsisa32, bfd_mach_mipsisa64.
+       * bfd/cpu-mips.c: Ditto.
+       * bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing): Ditto.
+       * bfd/bfd-in2.h: Regenerate.
+
+2001-08-31  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf64-alpha.c (elf64_alpha_relocate_section): Duplicate memory
+       value into R_ALPHA_RELATIVE's addend.
+       (elf64_alpha_finish_dynamic_symbol): Likewise.
+
+2001-08-31  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * elf32-arm.h (elf32_arm_relocate_section): Do not rightshift
+       recomputed addend during relocatable link if not USE_REL.
+
+       * elflink.h (elf_gc_propagate_vtable_entries_used): Fix off-by-one
+       error.
+
+2001-08-30  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-mips.c (mips_elf_calculate_relocation): Revert the last
+       2 changes.
+       (_bfd_mips_elf_adjust_dynamic_symbol): Allocate dynamic
+       relocations for weak definitions.
+
+2001-08-30  H.J. Lu  <hjl@gnu.org>
+
+       * Makefile.am (BFD32_BACKENDS): Add elf32-h8300.lo.
+       (BFD32_BACKENDS_CFILES): Add elf32-h8300.c.
+       * Makefile.in: Rebuild.
+
+2001-08-30  H.J. Lu  <hjl@gnu.org>
+
+       * elf32-mips.c (mips_elf_calculate_relocation): Don't create
+       dynamic relocation for undefined weak symbols when creating
+       executables. Check h->root.root.type, instead of h->root.type.
+
+2001-08-29  Joel Sherrill <joel@OARcorp.com>
+
+       * config.bfd (i[3456]86-*-rtems*, m68*-*-rtems*): Change
+       default from coff to elf.
+
+2001-08-29  Jeff Law <law@redhat.com>
+
+       * elf32-h8300.c (h8_elf_howto_table): Add new PC relative
+       relocations.
+       (h8_reloc_map): Similarly.
+       (elf32_h8_final_link_relocate): Remove incorrect overflow tests.
+       Add support for PC relative relocations.
+
+       * elf32-h8300.c: Put all prototypes together.
+       (elf32_h8_info_to_howto): Parameter elf_reloc is used.
+       (elf32_h8_final_link_relocate): New function for linker.
+       (elf32_h8_relocate_section): Similarly.
+       (elf_backend_relocate_section): Define.
+
+       * cpu-h8300.c (h8300_scan, compatible): Prototype.
+       (h8300_scan): Handle architecture:machine encodings typically
+       found in linker scripts.
+       * elf.c (prep_headers): Do not try to do H8 machine recognition
+       here.
+       * elf32-h8300.c:  Add some missing prototypes.
+       (elf32_h8_mach, elf32_h8_final_write_processing): New functions.
+       (elf32_h8_object_p): Similarly.
+
+2001-08-29  Tom Rix <trix@redhat.com>
+
+       * xcofflink.c (xcoff_link_add_symbols):  Fix XTY_LD symbol that
+       does not follow a XTY_SD.
+
+2001-08-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * targmatch.sed: Delete case statements.
+       * config.bfd <powerpc-*-aix* entry>: Select 64 bit xcoff for
+       aix4.3 and above.
+
+Wed Aug 29 02:27:36 2001  J"orn Rennecke <amylaar@redhat.com>
+
+       * Makefile.am (elf32-h8300.lo): New target.
+       * config.bfd (h8300*-*-elf): New case.
+       * configure.in (bfd_elf32_h8300_vec): New case.
+       * elf.c (prep_headers): Add case for bfd_arch_h8300.
+       * reloc.c (BFD_RELOC_H8_DIR16A8): New relocation.
+       (BFD_RELOC_H8_DIR16R8, BFD_RELOC_H8_DIR24A8): Likewise.
+       (BFD_RELOC_H8_DIR24R8, BFD_RELOC_H8_DIR32A16): Likewise.
+       * targets.c (bfd_target bfd_elf32_h8300_vec): New extern declaration.
+       * elf32-h8300.c: New file.
+       * Makefile.in, bfd-in2.h, libbfd.h, configure: Regenerated.
+
+2001-08-28  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * sparclynx.c: Add missing prototypes.
+       * coff-mcore.c: Add missing prototypes.
+       * elf32-pj.c: Add missing prototypes.
+       * nlm32-sparc.c: Add missing prototypes.
+       * oasys.c: Add missing prototypes.
+       * pdp11.c: Add missing prototypes.
+       * pe-mips.c: Add missing prototypes.
+       * riscix.c: Add missing prototypes.
+
 2001-08-27  Daniel Jacobowitz  <drow@mvista.com>
 
        * elf32-i386.c: Add missing prototypes.