2003-10-19 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 4a04e9dcfc22d5457ba8d716b7c258cea63955f3..6e2e09581b63b2f190bad05d0d2a6a0020a20142 100644 (file)
@@ -1,3 +1,302 @@
+2003-10-20  Andrew Cagney  <cagney@redhat.com>
+
+       * targets.c: Replace "struct sec" with "struct bfd_section"
+       * syms.c, sparclynx.c, section.c, opncls.c: Ditto.
+       * libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto.
+       * elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto.
+       * aout-tic30.c, aout-target.h:
+       * bfd-in2.h, libcoff.h, libbfd.h: Regenerate.
+       
+2003-10-18  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       Support linker relaxation of new R_MMIX_PUSHJ_STUBBABLE relocs.
+       * elf64-mmix.c (MAX_PUSHJ_STUB_SIZE): New macro.
+       (struct _mmix_elf_section_data): New member pjs.
+       (mmix_set_relaxable_size, mmix_elf_get_section_contents): New
+       functions.
+       (elf_mmix_howto_table): New entry for R_MMIX_PUSHJ_STUBBABLE.
+       (mmix_reloc_map): Ditto.
+       (mmix_elf_relocate_section): Handle R_MMIX_PUSHJ_STUBBABLE.
+       (mmix_final_link_relocate, mmix_elf_check_common_relocs): Ditto.
+       (mmix_elf_perform_relocation): Ditto.  Don't mark parameter addr
+       unused.
+       (mmix_elf_check_relocs): Move early return to after
+       mmix_elf_check_common_relocs call.
+       (mmix_elf_symbol_processing): Fix cut-and-pasto in head comment.
+       (_bfd_mmix_before_linker_allocation): Rename from
+       _bfd_mmix_prepare_linker_allocated_gregs.  All referers changed.
+       Arrange to set the initial relaxable size of sections.
+       (_bfd_mmix_after_linker_allocation): Rename from
+       _bfd_mmix_finalize_linker_allocated_gregs.
+       (mmix_elf_relax_section): Relax a R_MMIX_PUSHJ_STUBBABLE reloc.
+       (bfd_elf64_get_section_contents): Define.
+       * reloc.c: Add ENUMX for BFD_RELOC_MMIX_PUSHJ_STUBBABLE.
+       * libbfd.h, bfd-in2.h: Regenerate.
+
+       * reloc.c (bfd_generic_relax_section): Default-set
+       section->_cooked_size here.
+       (bfd_generic_get_relocated_section_contents): Don't set it here.
+       Explain why.
+
+2003-10-17  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * elf32-hppa.c (elf32_hppa_relocate_section): Skip relocation if
+       output section has been discarded.
+
+2003-10-17  Shrinivas Atre  <shrinivasa@KPITCummins.com>
+       
+       * coff-h8300.c (funcvec_hash_newfunc): Handle normal mode.
+       (h8300_reloc16_extra_cases): Likewise.
+       (h8300_bfd_link_add_symbols): Likewise.
+
+2003-10-17 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
+
+       * cpu-h8300.c (h8300sxn_info_struct): Correct address size.
+       (h8300sn_info_struct): Likewise.
+       (h8300hn_info_struct): Likewise.
+
+2003-10-16  Pavel Roskin  <proski@gnu.org>
+
+       * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't calculate image size
+       for sections which lack size info.
+
+2003-10-17  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * configure.host: Add __USE_MINGW_FSEEK to HDEFINES for
+        mingw32.
+
+2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn
+       undefined patterns with '*'.
+
+2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't
+       use the last CIE from a different section.
+       (_bfd_elf_write_section_eh_frame): Don't pad beyond the raw
+       size of the output section.
+
+2003-10-07  Roland McGrath  <roland@redhat.com>
+
+       * elf.c (_bfd_elf_make_section_from_phdr): Set alignment_power of
+       new section from p_align header field.
+
+2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-xtensa.c (xtensa_read_table_entries): The external size
+       of entry is 8 bytes.
+
+2003-10-15  Andrew Cagney  <cagney@redhat.com>
+
+       * targets.c (BFD_JUMP_TABLE_SYMBOLS): Replace NAME##_get_symtab
+       with NAME##_canonicalize_symtab.
+       * libcoff-in.h (coff_canonicalize_symtab): Update.
+       * xsym.h (bfd_sym_canonicalize_symtab): Update.
+       * elf-bfd.h (_bfd_elf_canonicalize_symtab): Update.
+       * coffgen.c (coff_canonicalize_symtab): Update.
+       * libbfd-in.h (_bfd_nosymbols_canonicalize_symtab): Update.
+       * libnlm.h (nlmNAME(canonicalize_symtab)): Update.
+       * ieee.c (ieee_vec): Update comment.
+       * libecoff.h (_bfd_ecoff_canonicalize_symtab): Update.
+       * mmo.c (mmo_canonicalize_symtab): Update.
+       * nlm-target.h (nlm_canonicalize_symtab): Update.
+       * nlmcode.h (nlm_canonicalize_symtab): Update.
+       * i386msdos.c (msdos_canonicalize_symtab): Update.
+       * hp300hpux.c (MY (canonicalize_symtab)): Update.
+       * oasys.c (oasys_canonicalize_symtab): Update.
+       * som.c (som_canonicalize_symtab): Update.
+       * pef.c (bfd_pef_canonicalize_symtab): Update.
+       * nlmcode.h (nlm_canonicalize_symtab): Update.
+       * xsym.c (bfd_sym_canonicalize_symtab): Update.
+       * vms.c (vms_canonicalize_symtab): Update.
+       * versados.c (versados_canonicalize_symtab): Update.
+       * mach-o.c (bfd_mach_o_canonicalize_symtab): Update.
+       * ieee.c (ieee_canonicalize_symtab): Update.
+       * pdp11.c (NAME(aout,canonicalize_symtab)): Update.
+       * reloc.c: Update comment.
+       * libaout.h (NAME(aout,canonicalize_symtab)): Update.
+       * coff64-rs6000.c (aix5coff64_vec): Update.
+       * coff64-rs6000.c (bfd_xcoff_aix5_backend_data): Update.
+       * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update.
+       * aoutx.h (NAME(aout,canonicalize_symtab)): Update.
+       * elfxx-target.h (bfd_elfNN_canonicalize_symtab): Update.
+       * hp300hpux.c (MY_canonicalize_symtab): Update.
+       * ecoff.c (_bfd_ecoff_canonicalize_symtab): Update.
+       * aout-tic30.c (MY_canonicalize_symtab): Update.
+       * aout-target.h (MY_canonicalize_symtab): Update.
+       * ppcboot.c (ppcboot_canonicalize_symtab): Update.
+       * elf.c (_bfd_elf_canonicalize_symtab): Update.
+       * elfcode.h (elf_canonicalize_symtab): Update.
+       * ihex.c (ihex_canonicalize_symtab): Update.
+       * tekhex.c (tekhex_canonicalize_symtab): Update.
+       * binary.c (binary_canonicalize_symtab): Update.
+       * srec.c (srec_canonicalize_symtab): Update.
+
+2003-10-15  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * elf32-h8300.c (elf_reloc_map): Fix a comment typo.
+
+2003-10-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c (sh_elf_relocate_section): Handle R_SH_IMM_*_PCREL
+       relocations.
+       (sh_elf_check_relocs): Likewise.
+
+       * elf32-sh64.c (elf_backend_merge_symbol_attribute): Define.
+       (sh64_elf_merge_symbol_attribute): New.
+       * elf64-sh64.c (elf_backend_merge_symbol_attribute): Define.
+       (sh64_elf64_merge_symbol_attribute): New.
+
+2003-10-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf-bfd.h (struct elf_backend_data): New function pointer member
+       elf_backend_merge_symbol_attribute.
+       * elflink.h (elf_link_add_object_symbols): Adjust call to
+       elf_backend_merge_symbol_attribute if the backend defined it.
+        * elfxx-target.h (elf_backend_merge_symbol_attribute): New macro.
+        (elfNN_bed): Add that to the initializer.
+
+2003-10-14  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (get_is_linkonce_section): Delete.
+       (xtensa_is_property_section, xtensa_is_littable_section): Use
+       XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros.  Do not recognize
+       linkonce sections containing ".xt.insn" and ".xt.lit" substrings.
+       (xtensa_get_property_section_name): Check section name instead of
+       calling get_is_linkonce_section.  Remove unused bfd parameter.  Use
+       XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros.  Never generate
+       linkonce section names by appending ".xt.insn" or ".xt.lit".
+       (xtensa_read_table_entries): Remove bfd argument in call to
+       xtensa_get_property_section_name.  Free section name when done.
+       (elf_xtensa_combine_prop_entries): Free leaking table.
+
+2003-10-13  Richard Sandiford  <rsandifo@redht.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add
+       DT_MIPS_LIBLIST or DT_MIPS_CONFLICT entries.
+       (_bfd_mips_elf_finish_dynamic_symbol): Don't handle them.  Don't
+       handle DT_MIPS_MSYM.  Set DT_RELSZ based on the number of relocations
+       that were needed.
+       (_bfd_mips_elf_modify_segment_map): Fix placement of PT_MIPS_OPTIONS.
+       (_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_UCODE.
+
+2003-10-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd-in.h (bfd_elf32_ia64_after_parse): New prototype.
+       (bfd_elf64_ia64_after_parse): Likewise.
+       * bfd-in2.h: Regenerated.
+
+       * elfxx-ia64.c (oor_ip): New.
+       (oor_branch_size): Likewise.
+       (bfd_elfNN_ia64_after_parse): Likewise.
+       (elfNN_ia64_relax_section): Use oor_ip if oor_branch_size
+       equals sizeof (oor_ip).
+
+2003-10-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the
+       renumbering of some relocation numbers.
+
+2003-10-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * coff-sh.c: Move definition of MAP and guard more code with
+       COFF_IMAGE_WITH_PE.
+
+       * section.c (bfd_get_section_size_before_reloc): Ignore reloc_done.
+       * bfd-in2.h: Regenerate.
+
+2003-10-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Likewise.
+
+2003-10-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * cofflink.c: Include "safe-ctype.h".
+       (coff_link_add_symbols): Use ISDIGIT instead of isdigit.
+
+2003-10-08  Dave Brolley  <brolley@redhat.com>
+       On behalf of Michael Snyder  <msnyder@redhat.com>
+
+       * archures.c: Add FRV fr550 machine.
+       * cpu-frv.c: Ditto.
+       * elf32-frv.c: Ditto.
+       * bfd-in2.h: Regenerate.
+
+2003-10-08  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * elfxx-mips.c (STUB_MOVE,STUB_LI16): Fix stub code
+       for non-SGI N64 ABI. Improve code consitency.
+
+2003-10-07  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16's
+       rightshift to 2.
+
+2003-10-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * libbfd-in.h (_bfd_link_section_stabs): Add string offset
+       parameter.
+       * cofflink.c (coff_link_add_symbols): Deal with split stab
+       sections.
+       * elflink.h (elf_link_add_object_symbols): Deal with split stab
+       sections.
+       * stabs.c (_bfd_link_section_stabs): Add string offset parameter.
+       * libbfd.h: Regenerated.
+
+       * coffcode.h (coff_set_alignment_hook): With PE_COFF reloc
+       overflow, set reloc start position to after the count
+       reloc. Subtract one from num relocs. Give error on 0xffff relocs
+       and no overflow.
+       * cofflink.c (_bfd_coff_final_link): Deal with PE_COFF reloc
+       overflow.
+       * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Do overflow if >=
+       0xffff.
+
+2003-10-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Pad the
+       last CIE/FDE if needed.
+
+2003-10-06  Nick Clifton  <nickc@redhat.com>
+
+       * targets.c (_bfd_target_vector): Include bfd_elf64_sparc_vec if
+       BFD64 is enabled.
+
+2003-10-06  Matt Thomas <matt@3am-software.com>
+
+       * config.bfd: Move the hppa*-*-netbsd* case to the hppa*-*-linux* case.
+
+2003-10-06  Robert Millan  <robertmh@gnu.org>
+
+       * configure.in: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
+       * config.bfd: Likewise.
+       * configure: Regenerate.
+
+2003-10-04  Christian Groessler  <chris@groessler.org>
+
+       * coff-z8k.c (extra_case): Fix displacement length check for R_JR
+       and R_CALLR.
+
+2003-10-04  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * elf32-m68hc1x.c: Update to ISO C90; replace PTR with void*.
+       * elf32-m68hc11.c: Likewise.
+       * elf32-m68hc12.c: Likewise.
+       * elf32-m68hc1x.h: Likewise.
+
+2003-10-04  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Fix merge
+       of flags between HC12 and HCS12.
+
+2003-10-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
+
+       * merge.c (_bfd_merge_sections): Set SEC_EXCLUDE flag on sections
+       which become empty after merging.
+
 2003-09-30  Jakub Jelinek  <jakub@redhat.com>
 
        * elfxx-ia64.c (ia64_howto_table): Fix size of R_IA64_TPREL64[LM]SB,
This page took 0.029399 seconds and 4 git commands to generate.