* bfd-in.h (bfd_get_section_limit): Don't use rawsize with output
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 0fe565edf865a6b25ea6af92bce56e2178766657..3730ee7b945c3c6d057d8177e47cdac5f6408cab 100644 (file)
@@ -1,3 +1,166 @@
+2011-04-11  Alan Modra  <amodra@gmail.com>
+
+       * bfd-in.h (bfd_get_section_limit): Don't use rawsize with output
+       sections.
+       * libbfd.c (_bfd_generic_get_section_contents): Likewise.
+       (_bfd_generic_get_section_contents_in_window): Likewise.
+       * section.c (bfd_get_section_contents): Likewise.
+       * compress.c (bfd_get_full_section_contents): Likewise.
+       * elf32-rx.c (rx_final_link): Ignore rawsize.
+       * elf32-microblaze.c (microblaze_elf_relocate_section): Use correct
+       bfd with bfd_get_section_limit.
+       * elfxx-ia64.c (elfNN_ia64_choose_gp): Add "final" parameter.  Use
+       os->size during final link.  Update callers.
+       * bfd-in2.h: Regenerate.
+
+2011-04-10  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       PR ld/12637
+       * elfxx-mips.c (mips_elf_merge_got_with): Use arg->global_count
+       as the number of global entries when merging with the primary GOT.
+
+2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c: Update copyright year.
+       * elf64-x86-64.c: Likewise.
+
+2011-04-09  Kai Tietz  <ktietz@redhat.com>
+
+       * peXXigen.c (_bfd_XXi_final_link_postscripte): Sort pdata in temporary
+       buffer and use rawsize for sorting.
+       * coffcode.h (coff_compute_section_file_positions): Set rawsize
+       before doing alignment.
+
+2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_relocate_section): Return relocation
+       error on unsupported relocation.
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
+
+2011-04-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/12657
+       * hosts/x86-64linux.h (elf_prstatus32): Replace __pid_t with
+       pid_t.
+
+2011-04-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/12654
+       * elf32-i386.c (elf_i386_relocate_section): Check !executable
+       instead of shared for R_386_TLS_LDO_32.
+
+2011-04-08  Tristan Gingold  <gingold@adacore.com>
+
+       * Makefile.am (SOURCE_HFILES): Remove xcoff-target.h
+       * coff-pmac: Remove
+       * xcoff-target.h: Remove
+       * Makefile.in: Regenerate.
+
+2011-04-07  Cary Coutant  <ccoutant@google.com>
+
+       * dwarf2.c (scan_unit_for_symbols): Check for DW_AT_specification.
+
+2011-04-07  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-tic6x.c (elf32_tic6x_howto_table): R_C6000_PREL31 is
+       pc-relative.
+       (elf32_tic6x_howto_table_rel): Ditto.
+       (elf32_tic6x_relocate_section): Implement R_C6000_PREL31.
+       (elf32_tic6x_check_relocs): Ditto.
+
+2011-04-06  Joseph Myers  <joseph@codesourcery.com>
+
+       * config.bfd (thumb-*-oabi): Don't handle in list of obsolete
+       targets.
+       (strongarm*, thumb*, xscale*): Remove architectures.
+       (strongarm-*-kaos*, thumb-*-coff, thumb-*-elf, thumb-epoc-pe*,
+       thumb-*-pe*, strongarm-*-elf, strongarm-*-coff, xscale-*-elf,
+       xscale-*-coff): Remove targets.
+
+2011-04-01  Tristan Gingold  <gingold@adacore.com>
+
+       * elfxx-ia64.c: include bfd_stdint.h
+
+2011-03-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * elf32-tic6x.c (elf32_tic6x_relocate_section): Remove unused variable
+       dynobj and its initialization.
+
+2011-03-31  Tristan Gingold  <gingold@adacore.com>
+
+       * makefile.vms (DEFS): Add HAVE_bfd_elf64_ia64_vms_vec.
+       * configure.com: Set BFD_HOST_64BIT_LONG_LONG and
+       BFD_HOST_LONG_LONG to 1.
+
+2011-03-31  Tristan Gingold  <gingold@adacore.com>
+
+       * vms-alpha.c (vms_get_remaining_object_record): Fix dec-c warning.
+       (_bfd_vms_write_etir): Ditto.
+       (_bfd_vms_slurp_etir): Avoid to use intptr_t
+       * configure.com: Generate bfd_stdint.h
+
+2011-03-31  Bernd Schmidt  <bernds@codesourcery.com>
+
+       * elf32-tic6x.h (struct elf32_tic6x_params): New.
+       (elf32_tic6x_setup): Declare.
+       * elf32-tic6x.c: Include <limits.h>.
+       (ELF_DYNAMIC_LINKER, DEFAULT_STACK_SIZE, PLT_ENTRY_SIZE): Define.
+       (struct elf32_tic6x_link_hash_table, struct elf32_link_hash_entry):
+       New structures.
+       (elf32_tic6x_link_hash_table, is_tic6x_elf): New macros.
+       (tic6x_elf_scom_section, tic6x_elf_scom_symbol,
+       tic6x_elf_scom_symbol_ptr): New static variables.
+       (elf32_tic6x_howto_table, elf32_tic6x_howto_table_rel,
+       elf32_tic6x_reloc_map): Add R_C6000_JUMP_SLOT, R_C6000_EHTYPE,
+       R_C6000_PCR_H16 and R_C6000_PCR_L16.
+       (elf32_tic6x_link_hash_newfunc, elf32_tic6x_link_hash_table_create,
+       elf32_tic6x_link_hash_table_free, elf32_tic6x_setup,
+       elf32_tic6x_using_dsbt, elf32_tic6x_install_rela,
+       elf32_tic6x_create_dynamic_sections, elf32_tic6x_make_got_dynreloc,
+       elf32_tic6x_finish_dynamic_symbol, elf32_tic6x_gc_sweep_hook,
+       elf32_tic6x_adjust_dynamic_symbol): New static functions.
+       (elf32_tic6x_relocate_section): For R_C6000_PCR_S21, convert branches
+       to weak symbols as required by the ABI.
+       Handle GOT and DSBT_INDEX relocs, and copy relocs to the output file
+       as needed when generating DSBT output.
+       (elf32_tic6x_check_relocs, elf32_tic6x_add_symbol_hook,
+       elf32_tic6x_symbol_processing, elf32_tic6x_section_from_bfd_section,
+       elf32_tic6x_allocate_dynrelocs, elf32_tic6x_size_dynamic_sections,
+       elf32_tic6x_always_size_sections, elf32_tic6x_modify_program_headers,
+       elf32_tic6x_finish_dynamic_sections, elf32_tic6x_plt_sym_val,
+       elf32_tic6x_copy_private_data, elf32_tic6x_link_omit_section_dynsym):
+       New static functions.
+       (ELF_MAXPAGESIZE): Define to 0x1000.
+       (bfd_elf32_bfd_copy_private_bfd_data,
+       bfd_elf32_bfd_link_hash_table_create,
+       bfd_elf32_bfd_link_hash_table_free, elf_backend_can_refcount,
+       elf_backend_want_got_plt, elf_backend_want_dynbss,
+       elf_backend_plt_readonly, elf_backend_got_header_size,
+       elf_backend_gc_sweep_hook, elf_backend_modify_program_headers,
+       elf_backend_create_dynamic_sections, elf_backend_adjust_dynamic_symbol,
+       elf_backend_check_relocs, elf_backend_add_symbol_hook,
+       elf_backend_symbol_processing, elf_backend_link_output_symbol_hook,
+       elf_backend_section_from_bfd_section,
+       elf_backend_finish_dynamic_symbol, elf_backend_always_size_sections,
+       elf32_tic6x_size_dynamic_sections, elf_backend_finish_dynamic_sections,
+       elf_backend_omit_section_dynsym, elf_backend_plt_sym_val): Define.
+
+       * bfd/reloc.c (BFD_RELOC_C6000_JUMP_SLOT, BFD_RELOC_C6000_EHTYPE,
+       BFD_RELOC_C6000_PCR_H16, BFD_RELOC_C6000_PCR_S16): Add.
+       * bfd/bfd-in2.h: Regenerate.
+       * bfd/libbfd.h: Regenerate.
+       * config.bfd: Accept tic6x-*-* instead of tic6x-*-elf.
+
+2011-03-31  Tristan Gingold  <gingold@adacore.com>
+
+       * coffcode.h (coff_slurp_symbol_table): Silently discard C_NULL
+       entry on xcoff when value is C_NULL_VALUE.
+
+2011-03-31  Tristan Gingold  <gingold@adacore.com>
+
+       * libcoff-in.h (exec_hdr): Remove.
+       * libcoff.h: Regenerate.
+
 2011-03-30  Nick Clifton  <nickc@redhat.com>
 
        * po/da.po: Updated Danish translation.
This page took 0.027149 seconds and 4 git commands to generate.