+2007-08-24 Pedro Alves <pedro_alves@portugalmail.pt>
+
+ * elf.c (elfcore_grok_win32pstatus): Remove HAVE_WIN32_PSTATUS_T
+ guard. Make it host independent.
+ (elfcore_grok_note): Remove HAVE_WIN32_PSTATUS_T guard around
+ NT_WIN32PSTATUS.
+
+2007-08-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * elf-bfd.h (struct elf_obj_tdata): New BUILD_ID_SIZE, BUILD_ID.
+ * elf.c (elfcore_read_notes): Split to ...
+ (elf_read_notes) ... here ...
+ (elf_parse_notes): ... and here. Check `bfd_get_format (abfd)' with
+ the former subfunctions called only for BFD_CORE.
+ Call ELFOBJ_GROK_GNU_NOTE for BFD_OBJECT files with the owner "GNU".
+ (_bfd_elf_make_section_from_shdr): Call ELF_PARSE_NOTES for SHT_NOTEs.
+ (bfd_section_from_phdr): Update the call for renamed ELFCORE_READ_NOTES.
+ (elfobj_grok_gnu_build_id, elfobj_grok_gnu_note): New functions.
+ Code advisory: Roland McGrath
+
+2007-08-24 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * elf64-mips.c (elf_backend_sign_extend_vma): Define.
+
+2007-08-24 Alan Modra <amodra@bigpond.net.au>
+
+ * elfxx-ia64.c (elfNN_ia64_add_symbol_hook): Warning fix.
+
+2007-08-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.am: Run "make dep-am".
+ * Makefile.in: Regenerated.
+
+2007-08-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-i386.c: Include "bfd_stdint.h".
+ (elf_i386_rtype_to_howto): New function.
+ (elf_i386_info_to_howto_rel): Use it.
+ (x86_64_opcode16): New union type.
+ (elf_i386_check_tls_transition): New function.
+ (elf_i386_tls_transition): Updated to check transition and
+ issue an error if a transition isn't supported.
+ (elf_i386_check_relocs): Return FALSE if
+ elf_i386_tls_transition returns FALSE.
+ (elf_i386_gc_sweep_hook): Likewise.
+ (elf_i386_relocate_section): Likewise. Remove BFD_ASSERT
+ on TLS transitions.
+
+ * elf64-x86-64.c: Include "bfd_stdint.h".
+ (x86_64_opcode16): New union type.
+ (x86_64_opcode32): Likewise.
+ (elf64_x86_64_check_tls_transition): New function.
+ (elf64_x86_64_tls_transition): Updated to check transition and
+ issue an error if a transition isn't supported.
+ (elf64_x86_64_check_relocs): Return FALSE if
+ elf64_x86_64_tls_transition returns FALSE.
+ (elf64_x86_64_gc_sweep_hook): Likewise.
+ (elf64_x86_64_relocate_section): Likewise. Remove BFD_ASSERT
+ on TLS transitions.
+
+2007-08-22 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elfxx-ia64.c: Convert to ISO C90 prototypes.
+ (elfNN_hpux_backend_section_from_bfd_section): Make it static.
+
+2007-08-22 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf64-x86-64.c: Remove trailing whitespace.
+ * elfxx-ia64.c: Likewise.
+
+2007-08-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-i386.c (elf_i386_tls_transition): Accept a pointer
+ to ELF hash entry instead of an integer for local test.
+ (elf_i386_check_relocs): Updated.
+ (elf_i386_gc_sweep_hook): Likewise.
+ (elf_i386_relocate_section): Likewise.
+
+ * elf64-x86-64.c (elf64_x86_64_tls_transition): Accept a
+ pointer to ELF hash entry instead of an integer for local
+ test.
+ (elf64_x86_64_check_relocs): Updated.
+ (elf64_x86_64_gc_sweep_hook): Likewise.
+ (elf64_x86_64_relocate_section): Likewise.
+
+2007-08-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-i386.c (elf_i386_tls_transition): Break long line.
+ * elf64-x86-64.c (elf64_x86_64_tls_transition): Likewise.
+
+2007-08-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * elfxx-target.h [ELF_COMMONPAGESIZE && ELF_MAXPAGESIZE]
+ (ELF_MINPAGESIZE): Fixed its size guess. Sanity checked its size.
+ (ELF_COMMONPAGESIZE, ELF_MAXPAGESIZE): Sanity checked their size.
+
+2007-08-20 Nick Clifton <nickc@redhat.com>
+
+ * elflink.c (elf_fixup_link_order): Rewrite conversion of
+ s->alignment_power into an offset mask in order to avoid a gcc
+ error message.
+
+2007-08-17 Jakub Jelinek <jakub@redhat.com>
+
+ * config.bfd: Handle sparcv*-*-linux-* the same as sparc-*-linux-*.
+ Change sparc64-*-linux-* to sparc64*-*-linux-*.
+
+2007-08-17 Alan Modra <amodra@bigpond.net.au>
+
+ * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
+
+2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf.c: Revert last change.
+
+2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR.
+ (bfd_section_from_phdr): Likewise.
+ (get_program_header_size): Likewise. Add a PT_GNU_ATTR segment
+ if there is an attribute section.
+ (_bfd_elf_map_sections_to_segments): Likewise.
+ (IS_SECTION_IN_INPUT_SEGMENT): Likewise.
+
+2007-08-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/4918
+ * elf32-i386.c (elf_i386_relocate_section): Allow R_386_PC32
+ on ___tls_get_addr for GD->LE/LD->LE transitions when not
+ building shared library.
+
+ * elf64-x86-64.c (elf64_x86_64_relocate_section): Allow
+ R_X86_64_PC32 on __tls_get_addr for GD->LE/LD->LE transitions
+ when not building shared library.
+
+2007-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): LOADBASE is now
+ initialized only on the first PT_LOAD. New variable LOADBASE_SET.
+ Removed PF_R checking for IA-64 vDSOs as redundant now.
+ Code advisory: Roland McGrath
+
+2007-08-13 Richard Sandiford <richard@codesourcery.com>
+
+ * elfxx-mips.c (mips_elf_link_hash_table): Add computed_got_sizes.
+ (mips_elf_record_global_got_symbol): Increment local_gotno for
+ each forced-local symbol.
+ (_bfd_mips_elf_check_relocs): Pass forced-local call symbols to
+ mips_elf_record_global_got_symbol for VxWorks too.
+ (_bfd_mips_elf_always_size_sections): Set computed_got_sizes
+ to true after computing the GOT size.
+ (_bfd_mips_elf_hide_symbol): Increase local_gotno whenever
+ got.offset == 1. Only adjust global_gotno if computed_got_sizes.
+ For VxWorks, add a local entry when hiding a symbol that needs a
+ plt but has not been marked as needing a global got entry.
+ (_bfd_mips_elf_link_hash_table_create): Set computed_got_sizes to
+ false.
+
+2007-08-12 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * coffgen.c (coff_get_normalized_symtab): Correct cast.
+
+2007-08-13 Alan Modra <amodra@bigpond.net.au>
+
+ * elf.c (elf_modify_segment_map): Add remove_empty_load param.
+ Don't remove empty PT_LOAD header if false.
+ (_bfd_elf_map_sections_to_segments): If user phdrs, pass false
+ to elf_modify_segment_map.
+ (assign_file_positions_for_load_sections): Pass false to
+ elf_modify_segment_map.
+
+2007-08-13 Alan Modra <amodra@bigpond.net.au>
+
+ * elf64-ppc.c (ADDI_R12_R12, LD_R11_0R2, LD_R2_0R2): Define.
+ Update stub comments.
+ (build_plt_stub): Build two variants, one without "addis".
+ (ppc_build_one_stub): Build stubs without "addis" if possible.
+ (ppc_size_one_stub): Size new stubs.
+
2007-08-11 Richard Sandiford <richard@codesourcery.com>
* config.bfd (sh-*-vxworks): Define targ_underscore to "yes".