Add MN10300 linker relaxation support for symbol differences
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index e7ab1d49ff177a482ef7b449c00750640cc9e034..55cfb10be257bd326b97ed2d3e5c3276aa50f631 100644 (file)
@@ -1,3 +1,117 @@
+2007-10-19  Nick Clifton  <nickc@redhat.com>
+
+       * config.bfd: Recognise am34-linux-gnu target.
+       * reloc.c: Add BFD_RELOC_MN10300_SYM_DIFF relocation.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+       * elf-m10300.c (elf_mn10300_howto): Add R_MN10300_SYM_DIFF.
+       (mn10300_reloc_map): Likewise.
+       (mn10300_elf_check_relocs): Do not create dynamic relocs for
+       symbol differences or relocations against absolute symbols.
+       (mn10300_elf_final_link_relocate): Likewise.
+       Handle R_MN10300_SYM_DIFF relocs. 
+       (mn10300_elf_relocate_section): Fix for creating local copys of
+       dynamic relocs.
+       (mn10300_elf_relax_delete_bytes): Adjust symbols at the end of the
+       region.  Adjust the size of function symbols.
+       (mn10300_elf_relax_section): Ignore symbols that are in discarded
+       sections.
+
+2007-10-19  Nick Clifton  <nickc@redhat.com>
+
+       * elf-m10300.c: Convert to ISO C.
+
+2007-10-18  H.J. Lu  <hongjiu.lu@intel.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       PR ld/4424
+       * config.bfd (targ_selvecs): Add bfd_elf64_alpha_vec for
+       alpha/FreeBSD.  Add bfd_elf64_sparc_vec for sparc64/FreeBSD.
+       Add bfd_elf32_i386_vec and bfd_efi_app_ia32_vec for i386/FreeBSD.
+       (targ64_selvecs): Set for i386/FreeBSD.
+       * elf-bfd.h (elf_backend_data): Add relocs_compatible.
+       (_bfd_elf_default_relocs_compatible): Declare.
+       (_bfd_elf_relocs_compatible): Declare.
+       * elfxx-target.h (elf_backend_relocs_compatible): Define.
+       (elfNN_bed): Init new relocs_compatible field.
+       * elflink.c (_bfd_elf_default_relocs_compatible): New function.
+       (_bfd_elf_relocs_compatible): New function.
+       (elf_link_add_object_symbols): Call bed->relocs_compatible.
+       * elf32-i386.c (elf_backend_relocs_compatible): Define.
+       * elf64-alpha.c: Likewise.
+       * elf64-sparc.c: Likewise.
+       * elf64-x86-64.c: Likewise.
+
+2007-10-16  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (relax_section): Check for a reference to a discarded
+       DWARF section and anticipate its replacement with the kept section.
+       
+2007-10-16  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (elf_xtensa_discard_info_for_section): Remove
+       unnecessary size variables.  Set sec->rawsize.
+       (relax_section, relax_property_section): Likewise.
+       
+2007-10-16  Bob Wilson  <bob.wilson@acm.org>
+
+       * section.c (struct bfd_section): Clarify comment for rawsize field.
+       * bfd-in2.h: Regenerate.
+       
+2007-10-16  Bob Wilson  <bob.wilson@acm.org>
+
+       * elflink.c (_bfd_elf_check_kept_section): Use the section rawsize
+       values if they are set.
+       
+2007-10-16  Nick Clifton  <nickc@redhat.com>
+
+       PR 5146
+       * configure.in (AC_CHECK_HEADERS): Add alloca.h
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * som.c: Replace alloca-conf.h inclusion with code recommended in
+       autoconf documentation.
+       * elf64-hppa.c: Likewise.
+
+2007-10-16  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in (--enable-elf-stt-common): New configure
+       option.  If enabled then the tools can generate symbols with
+       the ELF STT_COMMON type.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+       * elf.c (swap_out_syms): If USE_STT_COMMON is defined then set
+       the type of emitted common symbols to STT_COMMON.
+       * elfcode.h (elf_slurp_symbol_table): Accept STT_COMMON symbol
+       types.
+       
+2007-10-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * coff-arm.c (arm_emit_base_file_entry): Check fwrite return value.
+       Return status.  Adjust callers.
+       * coff-mcore.c (mcore_emit_base_file_entry): Likewise.
+       * coff-ppc.c (write_base_file_entry): New function.
+       (coff_ppc_relocate_section): Use it.
+       * elf32-arm.c (find_thumb_glue): Check asprintf return status.
+       (find_arm_glue): Likewise.
+       * vms-misc.c (_bfd_vms_output_flush): Check fwrite return value.
+
+2007-10-12  Nick Clifton  <nickc@redhat.com>
+
+       PR 5160
+       * elflink.c (eval_symbol): Remove bufsz variable and use
+       sizeof(symbuf) where necessary.
+
+2007-10-12  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * elf32-cr16.c (elf32_cr16_relax_section): Fix condition check typo.
+
+2007-10-12  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elfxx-mips.c (mips_elf_sort_hash_table_f): Handle forced
+       local symbols specially.
+       (mips_elf_set_global_got_offset): Skip forced local symbols.
+
 2007-10-12  Alan Modra  <amodra@bigpond.net.au>
 
        * elf.c (elfcore_grok_prxfpreg): Fix comment typo.
This page took 0.028387 seconds and 4 git commands to generate.