2008-03-07 Paul Brook <paul@codesourcery.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 1b54ff76e84619fb66861f36f7e2ea35e1a1160b..73c6a77c3b2d19d59b56077dc6ba42f23b2d5d92 100644 (file)
@@ -1,3 +1,77 @@
+2008-03-07  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_howto_table_1): Fix bitmasks for MOVW and
+       MOVT relocations.
+       (elf32_arm_final_link_relocate): Fix off by one MOVW/MOVT sign
+       extension.
+       (elf32_arm_relocate_section): Handle MOVW and MOVT
+       relocations.  Improve safety check for other weird relocations.
+       (elf32_arm_check_relocs): Only set h->needs_plt for branch/call
+       relocations.
+
+2008-03-03  Bob Wilson  <bob.wilson@acm.org>
+       
+       * xtensa-isa.c (xtensa_isa_num_pipe_stages): Make max_stage static and
+       only compute its value once.
+       
+2008-03-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-spu.c (struct got_entry): Add "addend" field.
+       (count_stub, build_stub): Use a new stub if relocation addend
+       differs from existing stubs for this symbol.
+       (process_stubs): Deal with addends.
+       (spu_elf_relocate_section, spu_elf_output_symbol_hook): Likewise.
+
+2008-03-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/5789
+       * elflink.c (_bfd_elf_symbol_refs_local_p): Always return true
+       for hidden and local symbols.
+
+2008-03-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (allocate_dynrelocs): Discard relocs on
+       undefined symbols with internal or hidden visibility.
+       (ppc_elf_relocate_section): Likewise.  Use SYMBOL_CALLS_LOCAL
+       rather than SYMBOL_REFERENCES_LOCAL on branches.  Don't
+       return immediately on dynamic reloc error.
+
+2008-03-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (build_plt_stub): Add relocs on plt call stubs
+       if emitrelocations.
+       (get_relocs): New function, split out from..
+       (ppc_build_one_stub): ..here.  Add relocs on plt_branch stubs if
+       emitrelocations.  Remove indx temp.
+       (ppc_size_one_stub): Count new stub relocs.
+       (ppc64_elf_size_stubs): Count new glink reloc.
+       (ppc64_elf_build_stubs): Emit glink reloc if emitrelocations.
+       (ppc64_elf_finish_dynamic_sections): Output glink relocs.
+       * elf32-ppc.c (ppc_elf_finish_dynamic_sections): Describe non-pic
+       glink code.
+
+2008-02-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-spu.c (mark_functions_via_relocs): Don't assume that
+       the "->start" pointer reaches to function origin, so that we
+       can handle functions split over more than two sections.
+       (build_call_tree): Likewise.
+       (pasted_function): Don't attempt to set fun->start back to the
+       function origin, just go back one section.
+
+2008-02-27  Catherine Moore  <clm@codesourcery.com>
+
+       * elf.c ( _bfd_elf_print_private_bfd_data): Call
+       elf_backend_get_target_dtag if defined.
+       * elf32-mips.c (elf_backend_get_target_dtag): Define.
+       * elf64-mips.c: Likewise.
+       * elfn32-mips.c: Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_get_target_dtag): New.
+       * elfxx-mips.h (_bfd_mips_elf_get_target_dtag): Declare.
+       * elf-bfd.h (elf_backend_get_target_dtag): Add prototype.
+       * elfxx-target.h (elf_backend_get_target_dtag): Add default.
+       (elf_backend_data): Add elf_backend_get_target_dtag.
+
 2008-02-26  Alan Modra  <amodra@bigpond.net.au>
 
        * elf32-ppc.c (ppc_elf_check_relocs): Set pointer_equality_needed
This page took 0.033274 seconds and 4 git commands to generate.