2009-09-16 Tristan Gingold <gingold@adacore.com>
[binutils-gdb.git] / bfd / ChangeLog
index e79185c040e395ac3060a0bbbd74a596e74aa9fb..6d91f05b08265db8fdcb0266bb22ad1eff28beb2 100644 (file)
@@ -1,5 +1,151 @@
+2009-09-16  Tristan Gingold  <gingold@adacore.com>
+       
+       * mach-o.h (bfd_mach_o_filetype): Add new constants from darwin10.
+       Reindent.
+       * mach-o.c (bfd_mach_o_cpu_name): Reindent.
+       (bfd_mach_o_filetype_name): Complete with new constants.  Reindent.
+       (bfd_mach_o_print_private_header): Use fputs instead of fprintf
+       when possible to avoid warnings.
+       (bfd_mach_o_print_section_map): Ditto.
+       (bfd_mach_o_section_get_entry_size): New function.
+       (bfd_mach_o_section_get_nbr_indirect): Simplify using the newly
+       added function.
+       (bfd_mach_o_print_dysymtab): Print address of indirect symbols.
+
+2009-09-14  Nick Clifton  <nickc@redhat.com>
+
+       * po/fi.po: Updated Finnish translation.
+
+2009-09-11  Nick Clifton  <nickc@redhat.com>
+
+       * po/bfd.pot: Updated by the Translation project.
+
+2009-09-11  Philippe De Muyter  <phdm@macqel.be>
+
+       * binary.c (binary_object_p): Remove bfd_external_binary_architecture
+       hack.  objcopy `-B' (`--binary-architecture') option is now handled
+       in a generic way.
+
+2009-09-11  Nick Clifton  <nickc@redhat.com>
+
+       * rs6000-core.c (read_hdr): Fix typo in recent C++ compatibility
+       changes.
+
+2009-09-11  Jie Zhang  <jie.zhang@analog.com>
+
+       * elf32-bfin.c (bfinfdpic_relocs_info_find): Just return
+       NULL if `ht' is NULL.
+
+2009-09-09  Martin Thuresson  <martin@mtme.org>
+
+       Update soruces to compile cleanly with -Wc++-compat:
+       * aoutx.h: Add casts.
+       * archive.c: Add casts.
+       * archive64.c: Add casts.
+       * archures.c: Add casts.
+       * bfd-in2.h: Regenerated.
+       * bfd.c: Add casts. (enum bfd_direction): Move out to top level.
+       * bfdio.c: Add casts.
+       * binary.c: Add casts.
+       * cache.c (cache_bseek,cache_bread_1,cache_bwrite): Updated
+       parameter to use enum value instead of int.
+       * coffcode.h: Add casts.
+       * coffgen.c: Add casts.
+       * cofflink.c: Add casts.
+       * compress.c: Add casts.
+       * dwarf1.c: Add casts.
+       * dwarf2.c: Add casts. (struct dwarf2_debug): Rename member bfd to
+       bfd_ptr. Update code to use new name.
+       * elf-attrs.c: Add casts.
+       * elf-bfd.h (elf_link_virtual_table_entry): Gives name to
+       anonymous struct. (union gotplt_union, struct
+       elf_link_virtual_table_entry): Move to top level.
+       * elf-eh-frame.c: Add casts.
+       * elf-strtab.c: Add casts.
+       * elf.c: Add casts. (_bfd_elm_make_Section_from_phdr): Change
+       argument name from typename to type_name.
+       * elf32-i386.c: Add casts.
+       * elf64-x86-64.c: Add casts.
+       * elfcode.h: Add casts.
+       * elfcore.h: Add casts.
+       * elflink.c: Add casts.
+       * format.c: Add casts.
+       * hash.c: Add casts.
+       * ihex.c: Add casts.
+       * libaout.h (enum aout_subformat, enum aout_magic): Move to top
+       level.
+       * libbfd.c: Add casts.
+       * linker.c: Add casts.
+       * merge.c: Add casts.
+       * opncls.c: Add casts.
+       * peXXigen.c: Add casts.
+       * peicode.h: Add casts.
+       * reloc.c: Add casts.
+       * section.c: Add casts.
+       * simple.c: Add casts.
+       * srec.c: Add casts.
+       * stabs.c: Add casts.
+       * syms.c: Add casts.
+       * targets.c: Add casts.
+       * tekhex.c: Add casts.
+       * verilog.c: Add casts.
+
+2009-09-09  Paolo Bonzini  <bonzini@gnu.org>
+
+       * configure: Regenerate.
+
+2009-09-09  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Set sym_flags
+       for the mode of target PLT entries.
+       (allocate_dynrelocs): Only adjust symbol type if setting its
+       value.
+
+2009-09-09  Paolo Bonzini  <bonzini@gnu.org>
+
+       * configure: Regenerate.
+
+2009-09-09  Nick Clifton  <nickc@redhat.com>
+
+       PR 10478:
+       * elf.c (bfd_section_from_shdr): Do not reject sparc binaries with
+       section headers containing sh_link values of SHN_BEFORE or
+       SHN_AFTER.
+       * elfcode.h (elf_object_p): Likewise.
+
+2009-09-09  Tristan Gingold  <gingold@adacore.com>
+
+       Handle DYLD_INFO introduced by Darwin10.
+       * mach-o.h (bfd_mach_o_load_command_type): Add
+       BFD_MACH_O_LC_DYLD_INFO.
+       (bfd_mach_o_dyld_info_command): New type.
+       (bfd_mach_o_load_command): Add dyld_info field.
+       * mach-o.c (bfd_mach_o_scan_read_str): Reduce size of buf.
+       (bfd_mach_o_scan_read_dyld_info): New function.
+       (bfd_mach_o_scan_read_command): Handle BFD_MACH_O_LC_DYLD_INFO.
+       (bfd_mach_o_bfd_print_private_bfd_data): Ditto.
+       (bfd_mach_o_load_command_name): AddB FD_MACH_O_LC_DYLD_INFO.
+       (bfd_mach_o_print_dyld_info): New function.
+
+2009-09-09  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * elf32-cr16.c (elf32_cr16_relocate_section): Add code to discard the
+       linkonce or linker script discarded section.
+
+2009-09-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check.
+
+2009-09-07  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * elf32-m68k.c (rtype_to_howto): If the reloc index is out of
+       range call the bfd error hander and use R_68K_NONE instead.
+
 2009-09-07  Tristan Gingold  <gingold@adacore.com>
 
+       * po/SRC-POTFILES.in: Regenerate.
+       * po/bfd.pot: Regenerate.
+
        * bfd.m4 (BFD_HAVE_TIME_TYPE_MEMBER,
        BFD_HAVE_SYS_STAT_TYPE_MEMBER): Moved to gas/acinclude.m4
        * configure.in: Move tests for tm_gmtoff, st_mtim.tv_sec and