PR ld/13491
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index f9d28f329db70189f446d4c2aae033603598bd4b..15e217167fd2e3fa9f417c7236eb36d44ffea0a6 100644 (file)
@@ -1,3 +1,110 @@
+2012-01-16  Daniel Green  <venix1@gmail.com>
+
+       PR ld/13491
+       * coff-i386.c (coff_i386_rtype_to_howto <R_SECREL32>): Test
+       h->root.type not h->type.
+       * coff-x86_64.c (coff_amd64_rtype_to_howto <R_AMD64_SECREL>): Likewise.
+
+2012-01-13  Iain Sandoe  <idsandoe@googlemail.com>
+
+       * mach-o.c (bfd_mach_o_build_dysymtab_command): Handle absolute
+       indirect symbols.
+
+2012-01-13  Iain Sandoe  <idsandoe@googlemail.com>
+
+       * mach-o.c (bfd_mach_o_write_relocs): Move computation of relocs file
+       position from here... to (bfd_mach_o_build_seg_command): Here.
+
+2012-01-12  Iain Sandoe  <idsandoe@googlemail.com>
+
+       * mach-o.c (bfd_mach_o_count_indirect_symbols): New.
+       (bfd_mach_o_build_dysymtab_command): Populate indirect symbol table.
+       * mach-o.h (bfd_mach_o_asymbol): Move declaration to start of the
+       file. (bfd_mach_o_section): Add indirect_syms field.
+
+2012-01-11  Iain Sandoe  <idsandoe@googlemail.com>
+
+       * mach-o.c (bfd_mach_o_build_seg_command): Separate computation of
+       vmsize from filesize.  Don't compute offsets or file sizes for
+       zerofill sections.
+
+2012-01-11  Iain Sandoe  <idsandoe@googlemail.com>
+
+       * mach-o.c (bfd_mach_o_build_commands): Make the building of each
+       command type independent.
+
+2012-01-11  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c: Define more insns used in plt call stubs.
+       (ppc64_elf_brtaken_reloc): Assume isa version 2 or above.
+       (ppc64_elf_relocate_section): Likewise.
+       (enum ppc_stub_type): Add ppc_stub_plt_call_r2save.
+       (struct ppc_link_hash_table): Increase size of stub_count array.
+       Add plt_stub_align and plt_thread_safe.
+       (ALWAYS_USE_FAKE_DEP, ALWAYS_EMIT_R2SAVE): Define.
+       (plt_stub_size, plt_stub_pad): New functions.
+       (build_plt_stub): Emit barriers for power7 thread safety.  Don't
+       emit needless save of r2.
+       (build_tls_get_addr_stub): Adjust params.
+       (ppc_build_one_stub): Handle ppc_stub_plt_call_r2save and aligning
+       plt stubs.  Adjust build_*plt_stub calls.
+       (ppc_size_one_stub): Similarly.
+       (ppc64_elf_size_stubs): Accept plt_thread_safe and plt_stub_align
+       params.  Choose default for plt_thread_safe based on existence of
+       calls to thread creation functions.  Modify plt_call to
+       plt_call_r2save when no tocsave reloc found.  Align tail of stub
+       sections.
+       (ppc64_elf_build_stubs): Align tail of stub sections.  Adjust
+       output of stub statistics.
+       (ppc64_elf_relocate_section): Handle ppc_stub_plt_call_r2save.
+       * elf64-ppc.h (ppc64_elf_size_stubs): Update prototype.
+
+2012-01-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/13581
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Remove ABI_64_P
+       check on R_X86_64_PCXX.
+
+2012-01-10  Tristan Gingold  <gingold@adacore.com>
+
+       * mach-o.c (bfd_mach_o_build_commands): Avoid uninitialized false
+       warning.
+
+2012-01-10  Tristan Gingold  <gingold@adacore.com>
+
+       * bfdio.c (bfd_tell): Handle nested archives.
+       (bfd_seek): Ditto.
+       * cache.c (bfd_cache_lookup_worker): Ditto.
+       * archive.c (_bfd_get_elt_at_filepos): Remove code dealing with
+       nested archives.
+       (bfd_generic_openr_next_archived_file): Likewise.
+
+2012-01-09  Iain Sandoe  <idsandoe@googlemail.com>
+
+       * mach-o.c (bfd_mach_o_bfd_copy_private_symbol_data): Implement.
+       (bfd_mach_o_write_symtab): Remove handling for indirect syms.
+       (bfd_mach_o_primary_symbol_sort_key): Likewise.
+       (bfd_mach_o_cf_symbols): Likewise.
+       (bfd_mach_o_sort_symbol_table): Remove.
+       (bfd_mach_o_mangle_symbols): Adjust arguments, remove handling
+       for indirect and dysymtab counts.  Do the symbol sorting here.
+       (bfd_mach_o_build_dysymtab_command): Count the symbol types here.
+       Make the indirect symbols a TODO.
+       (bfd_mach_o_build_commands): Adjust call to bfd_mach_o_mangle_symbols.
+       (bfd_mach_o_make_empty_symbol): Specifically flag unset symbols with
+       a non-zero value.
+       (bfd_mach_o_read_symtab_symbol): Record the symbol index.
+       (bfd_mach_o_read_symtab_symbol): Adjust recording of global status.
+       * mach-o.h (mach_o_data_struct): Remove indirect and dysymtab entries.
+       (IS_MACHO_INDIRECT): Remove.
+       (SYM_MACHO_FIELDS_UNSET, SYM_MACHO_FIELDS_NOT_VALIDATED): New.
+
+2012-01-06  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/13121
+       * reloc.c (bfd_generic_lookup_section_flags): Rename 'finfo' to
+       'flaginfo' to avoid conflicts with AIX system headers.
+
 2012-01-06  Tristan Gingold  <gingold@adacore.com>
 
        * bfdio.c (bfd_bread): Use arelt_size macro.
This page took 0.02511 seconds and 4 git commands to generate.