Add MSP430 variants
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index a5b33c884cabaadcbc4c6ae0cb067da635a26a10..f3070c79763f914440111e05f512fd9a6b70138c 100644 (file)
@@ -1,3 +1,339 @@
+2003-08-08 Dmitry Diky <diwil@mail.ru>
+
+       * archures.c: Add xW42 and xE42 parts. Sort MPU list according to gcc order.
+       * cpu-msp430.c: Likewise.
+       * elf32-msp430.c: Likewise.
+       * bfd-in2.h: Regenerate.
+
+2003-08-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * elfxx-target.h: Remove PTR cast.
+       * targets.c (bfd_target): Make backend_data const void *.
+       * elf-bfd.h: Constify all occurrences of struct elf_backend_data.
+       * elf-m10300.c: Likewise.
+       * elf.c: Likewise.
+       * elf32-hppa.c: Likewise.
+       * elf32-i386.c: Likewise.
+       * elf32-m68hc1x.c: Likewise.
+       * elf32-ppc.c: Likewise.
+       * elf32-s390.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf32-sh64.c: Likewise.
+       * elf32-sparc.c: Likewise.
+       * elf32-xtensa.c: Likewise.
+       * elf64-mips.c: Likewise.
+       * elf64-ppc.c: Likewise.
+       * elf64-s390.c: Likewise.
+       * elf64-sh64.c: Likewise.
+       * elf64-sparc.c: Likewise.
+       * elf64-x86-64.c: Likewise.
+       * elfcode.h: Likewise.
+       * elfcore.h: Likewise.
+       * elflink.c: Likewise.
+       * elflink.h: Likewise.
+       * elfxx-ia64.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       * elfxx-mips.h: Likewise.
+       * elf.c (prep_headers): Remove useless check for null backend_data.
+       * bfd-in2.h: Regenerate.
+
+       * elf-bfd.h: Remove PARAMS macro.  Replace PTR with void *.
+       (NAME): Use ## rather than CONCAT4 macro.
+       * elfcode.h: Remove one remaining PARAMS macro.
+       * elf-eh-frame.c: Convert to C90, remove unneeded casts and prototypes.
+       * elf-strtab.c: Likewise.
+       * elf-hppa.h: Likewise.
+       * elf32-hppa.h: Likewise.
+       * elf32-hppa.c: Likewise.
+       (elf32_hppa_add_symbol_hook): Delete.
+       (elf_backend_add_symbol_hook): Don't define.
+       * libhppa.h: Convert to C90.  Replace INLINE with inline.
+
+2003-08-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc_stub_name): Tweak names for better readability.
+       (ppc64_elf_adjust_dynamic_symbol): Allow copy relocs against
+       function descriptors, but warn.
+       (ppc_build_one_stub): Remove a couple of vars.  Move code creating
+       stub syms so that we can avoid a stub sym if we already have a
+       plt sym.  Do not redefine an existing symbol.
+       (ppc64_elf_build_stubs): When --emit-stub-syms, print a symbol for
+       glink.
+
+2003-08-06  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2003-08-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with
+       SEC_LINKER_CREATED.
+
+2003-08-05  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elf32-arm.h (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
+       (elf32_arm_final_link_relocate, elf32_arm_relocate_section): Use it.
+
+2003-08-03  Jeff Muizelaar  <muizelaar@rogers.com>
+
+       * coffcode.h (coff_slurp_line_table): Return with a warning
+       message if the line number table could not be read.
+
+2003-08-04  Nick Clifton  <nickc@redhat.com>
+
+       * elflink.h (elf_link_add_object_symbols): Prepend "warning: "
+       to messages produced for .gnu.warning.SYMBOL sections.
+
+2003-08-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * elfcode.h: Convert to C90, remove unneeded casts and prototypes.
+       * elfcore.h: Likewise.
+       * elflink.c: Likewise.
+       * elflink.h: Likewise.
+       * elf.c (sym_is_global): Remove INLINE.
+       (align_file_position): Replace INLINE with inline.
+       * elfcode.h (elf_swap_dyn_in, elf_swap_dyn_out): Remove INLINE.
+       (elf_file_p): Replace INLINE with inline.
+
+2003-08-02  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here.
+
+2003-08-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (get_got): Align the .got section at 8 bytes.
+
+2003-08-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Use
+       ElfNN_External_Rela instead of Elf64_External_Rela.
+
+2003-08-01  Nick Clifton  <nickc@redhat.com>
+
+       * config.bfd: Add code to catch obsolete configurations and warn
+       about them unless --enable-obsolete is used.  Use this to mark
+       vax-vms port as obsolete.
+
+2003-07-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_install_value): Tidy.
+       (ppc_elf_relax_section): Remove dead code.  Remove unnecessary casts.
+       Formatting.
+       * elfxx-target.h: Remove PARAMS macro.  Formatting.
+
+2003-07-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF.
+       * elf64-ppc.c (get_fdh): New function, split out from
+       ppc64_elf_edit_opd.
+       (ppc64_elf_check_relocs): Use get_fdh.
+       (func_desc_adjust): Likewise.  Tidy.
+       (ppc64_elf_edit_opd): Tighten reloc checks.  Free local_syms on error
+       exit.  Use get_fdh.  Account for superfluous dynamic relocs.
+       (ppc64_elf_relocate_section): Warning fix.
+
+2003-07-30  Jason Eckhardt  <jle@rice.edu>
+
+       * coff-i860.c: Convert to ISO C90.  Remove superflous prototypes.
+
+2003-07-30  Jason Eckhardt  <jle@rice.edu>
+
+       * elf32-i860.c: Convert to ISO C90.  Remove superflous prototypes.
+
+2003-07-30  Randolph Chung  <tausq@debian.org>
+
+       * elf-hppa.h (elf_hppa_relocate_section): Look up dyn_h for undefweak.
+       * elf64-hppa.c (elf64_hppa_finalize_dlt): Check h->root.type.
+
+2003-07-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c: Convert to C90, remove unnecessary prototypes and casts.
+       Replace PTR with void *.  Formatting.
+       (_bfd_elf_assign_file_position_for_section): Remove INLINE.
+       (make_mapping): Likewise.
+
+2003-07-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (func_desc_adjust): Give linker created function
+       descriptor symbols a size and type.
+       (ppc64_elf_relocate_section): Correct lq insn test.
+
+2003-07-28  Eric Christopher  <echristo@redhat.com>
+
+       * elf32-ppc.c (R_PPC_RELAX32): New relocation.
+       (ppc_elf_install_value): New function.
+       (ppc_elf_sort_rela): Remove.
+       (ppc_elf_relax_section): Rewrite. Remove old relaxation
+       and replace with out of range branch stubs.
+       (ppc_elf_relocate_section): Handle R_PPC_RELAX32.
+
+2003-07-29  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table
+       from input_bfd.
+
+2003-07-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (special_sections): Set attributes for .got and .plt.
+
+2003-07-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Ensure no copy relocs
+       on function descriptors.
+       (ELIMINATE_COPY_RELOCS): Expand comment.
+       (ppc64_elf_special_sections): Move.  Don't include non-ppc64 sections.
+       Do include ".toc1".
+
+2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (_bfd_elf_new_section_hook): Set the default section
+       type to SHT_NULL.
+       (elf_fake_sections): Set the section type based on asect->flags
+       if it is SHT_NULL. Don't abort on processor specific section
+       types.
+
+2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd-in2.h: Regenerated.
+
+2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-bfd.h (bfd_elf_special_section): New.
+       (elf_backend_data): Add special_sections, a pointer to
+       bfd_elf_special_section.
+       (elf_section_type). New.
+       (elf_section_flags): New.
+       (_bfd_elf_get_sec_type_attr): New.
+
+       * elf.c (_bfd_elf_make_section_from_shdr): Always use the
+       real section type/flags.
+       (special_sections): New.
+       (get_special_section): New.
+       (_bfd_elf_get_sec_type_attr): New.
+       (_bfd_elf_new_section_hook): Check special_section to set
+       elf_section_type and elf_section_flags.
+       (elf_fake_sections): Don't use section name to set ELF section
+       data.
+
+       * elf32-m32r.c (m32r_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-m68hc11.c (elf32_m68hc11_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-mcore.c (mcore_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-ppc.c (ppc_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-sh64.c (sh64_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-v850.c (v850_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-xtensa.c (elf_xtensa_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf64-alpha.c (elf64_alpha_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf64-hppa.c (elf64_hppa_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf64-ppc.c (ppc64_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf64-sh64.c (sh64_elf64_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elfxx-ia64.c (elfNN_ia64_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elfxx-mips.c (_bfd_mips_elf_special_sections): New.
+
+       * elfxx-mips.h (_bfd_mips_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elfxx-target.h (elf_backend_special_sections): New. Default
+       to NULL.
+       (elfNN_bed): Initialize special_sections.
+
+       * section.c (bfd_abs_section): Remove const.
+       (bfd_und_section): Likewise.
+       (bfd_com_section): Likewise.
+       (bfd_ind_section): Likewise.
+
+2003-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * coff-arm.c (EXTRA_S_FLAGS): Include SEC_CODE so that code
+       sections are assigned the LOAD attribute.
+
+2003-07-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c: Convert to C90.  Replace PTR with void *.
+       * elf32-sh64-com.c: Likewise.
+       * elf32-sh64.c: Likewise.
+       * elf32-sh64.h: Likewise.
+       * elf64-sh64.c: Likewise.
+
+2003-07-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
+       (allocate_dynrelocs): Likewise.
+       (sh_elf_relocate_section): Likewise. Use SYMBOL_REFERENCES_LOCAL.
+       (sh_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
+
+2003-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2003-07-23  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and move
+       near the beginning of the file.  Swap order of arguments.  Call
+       _bfd_elf_dynamic_symbol_p with "ignore_protected" set to 0.
+       (elf_xtensa_fix_refcounts): Adjust xtensa_elf_dynamic_symbol_p call.
+       (elf_xtensa_relocate_section): Likewise.
+       (shrink_dynamic_reloc_sections): Likewise.
+
+2003-07-23  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (plt_reloc_count): Fix typo in comment.
+       (elf_xtensa_size_dynamic_sections): Use elf_discarded_section.
+       (elf_xtensa_combine_prop_entries): Avoid returning non-zero without
+       first printing an error message.
+       (elf_xtensa_finish_dynamic_sections): Likewise.
+       (elf_xtensa_discard_info_for_section): Adjust size of .got.loc when
+       discarding literal table entries.
+       (elf_xtensa_merge_private_bfd_data): Remove newline from error message.
+       (elf_xtensa_do_asm_simplify): Likewise.
+
+2003-07-23  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Avoid crash when
+       we have a local symbol in common section.
+
+2003-07-22  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elflink.c (_bfd_elf_dynamic_symbol_p): Don't return TRUE for
+       weak symbols.
+
+2003-07-22  Nick Clifton  <nickc@redhat.com>
+
+       * coffcode.h (coff_slurp_symbol_table): Add C_TCSYM and C_ECOML to
+       expected RS6000 storage classes.
+
+2003-07-21  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Mark
+       output_bfd unused to silence gcc.
+
+2003-07-21  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+
 2003-07-21  Alan Modra  <amodra@bigpond.net.au>
 
        * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use..
This page took 0.027403 seconds and 4 git commands to generate.