* objcopy.c (copy_usage, strip_usage): Fix spelling.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 60ba0929055f7c2c8bb9d152fb667a7dbd81bf8d..cb505e480e08ab93e176875a7c6c57ccae6d981f 100644 (file)
@@ -1,3 +1,83 @@
+2004-04-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-alpha.c (elf64_alpha_read_ecoff_info): Don't assign
+       structure field removed in 2004-04-24 patch.
+       * elf64-sparc.c (sparc64_elf_plt_sym_val): Warning fix.
+
+       * elf-bfd.h (struct elf_backend_data <elf_backend_section_flags>):
+       Constify hdr arg.
+       * elf32-arm.h (elf32_arm_section_flags): Likewise.
+       * elf64-alpha.c (elf64_alpha_section_flags): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_section_flags): Likewise.
+       * elf.c (_bfd_elf_make_section_from_shdr): Set the bfd_section
+       field before calling elf_backend_section_flags.
+
+2004-04-24  Chris Demetriou  <cgd@broadcom.com>
+
+       * elf32-mips.c (elf_mips_gnu_rel_hi16, elf_mips_gnu_rel_lo16)
+       (elf_mips_gnu_pcrel64, elf_mips_gnu_pcrel32): Remove.
+       (bfd_elf32_bfd_reloc_type_lookup): Remove cases for
+       BFD_RELOC_PCREL_HI16_S, BFD_RELOC_PCREL_LO16, BFD_RELOC_64_PCREL,
+       and BFD_RELOC_32_PCREL.
+       (mips_elf32_rtype_to_howto): Remove cases for R_MIPS_GNU_REL_HI16,
+       R_MIPS_GNU_REL_LO16, R_MIPS_PC64, R_MIPS_PC32.
+       * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
+       (_bfd_mips_elf_lo16_reloc): Remove handling for R_MIPS_GNU_REL_HI16.
+       (mips_elf_next_relocation): Move comment about matching HI/LO
+       relocations to...
+       (_bfd_mips_elf_relocate_section): Here.  Remove handling for
+       R_MIPS_GNU_REL_HI16.
+
+2004-04-23  Chris Demetriou  <cgd@broadcom.com>
+
+       * coff-mips.c (mips_relhi_reloc, mips_rello_reloc)
+       (mips_switch_reloc, mips_read_relocs, mips_relax_section)
+       (mips_relax_pcrel16, PCREL16_EXPANSION_ADJUSTMENT): Remove.
+       (mips_relocate_hi): Remove now-unused 'adjust' and 'pcrel' arguments,
+       and update comments to reflect current usage.
+       (mips_howto_table): Remove entries for MIPS_R_RELHI, MIPS_R_RELLO,
+       and MIPS_R_SWITCH, as well as several empty entries.  Update comment
+       for MIPS_R_PCREL16.
+       (mips_ecoff_swap_reloc_in, mips_ecoff_swap_reloc_out)
+       (mips_adjust_reloc_out, mips_bfd_reloc_type_lookup): Remove support
+       for MIPS_R_SWITCH, MIPS_R_RELLO, and MIPS_R_RELHI relocations.
+       (mips_adjust_reloc_in): Likewise, adjust maximum accepted relocation
+       type number to be MIPS_R_PCREL16.
+       (mips_relocate_section): Remove support for link-time relaxation
+       of branches used by embedded-PIC.  Remove support for MIPS_R_SWITCH,
+       MIPS_R_RELLO, and MIPS_R_RELHI relocations.
+       (_bfd_ecoff_bfd_relax_section): Redefine to bfd_generic_relax_section.
+       * ecoff.c (ecoff_indirect_link_order): Remove support for link-time
+       relaxation of branches used by embedded-PIC.
+       * ecofflink.c (bfd_ecoff_debug_accumulate): Likewise.
+       * libecoff.h (struct ecoff_section_tdata): Remove embedded-PIC
+       related members, update comment.
+       * pe-mips.c: Remove disabled (commented-out and #if 0'd)
+       code related to embedded-PIC.
+       * elfxx-mips.c (_bfd_mips_elf_read_ecoff_info): Remove
+       initialization of now-removed 'adjust' member of
+       'struct ecoff_debug_info'.
+
+2004-04-23  Chris Demetriou  <cgd@broadcom.com>
+
+       * elfxx-mips.c (mips_elf_get_global_gotsym_index): Remove.
+
+2004-04-21  Philip Blundell  <pb@nexus.co.uk>
+
+       * elf32-arm.h (elf32_arm_check_relocs): Don't output REL32
+       relocs for locally defined symbols during -shared final link.
+       (elf32_arm_final_link_relocate): Likewise.
+
+2004-04-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Copy also
+       ELF_LINK_POINTER_EQUALITY_NEEDED.
+       (elf64_x86_64_check_relocs): Set ELF_LINK_POINTER_EQUALITY_NEEDED
+       if r_type is not R_X86_64_PC32.
+       (elf64_x86_64_finish_dynamic_symbol): If
+       ELF_LINK_POINTER_EQUALITY_NEEDED is not set, clear st_value of
+       SHN_UNDEF symbols.
+
 2004-04-22  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
 
        * elf32-sh.c (sh_elf_plt_sym_val): New function.
This page took 0.02292 seconds and 4 git commands to generate.