+2008-07-30 Alan Modra <amodra@bigpond.net.au>
+
+ * coff-ppc.c, coffgen.c, ecoff.c, ecofflink.c, elf.c, elf32-frv.c,
+ elf32-iq2000.c, elf32-m32c.c, elf32-mep.c, elf32-mt.c,
+ elf32-sh-symbian.c, elf64-hppa.c, mach-o.c, peXXigen.c, pef.c,
+ ppcboot.c, vms-misc.c, xsym.c: Silence gcc warnings.
+
+2008-07-28 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * elfxx-mips.c (mips_elf_calculate_relocation): Avoid generating
+ relocations for undefined weak symbols with non-default visibility.
+ (_bfd_mips_elf_check_relocs): Use possibly_dynamic_relocs for
+ global symbols in shared libraries.
+ (allocate_dynrelocs): New function.
+ (_bfd_mips_elf_adjust_dynamic_symbol): Do not handle
+ possibly_dynamic_relocs here.
+ (_bfd_mips_elf_size_dynamic_sections): Call allocate_dynrelocs.
+
+2008-07-28 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf32-i386.c (struct elf_i386_link_hash_table): Added field
+ tls_module_base.
+ (elf_i386_link_hash_table_create): Initialize it.
+ (elf_i386_always_size_sections): Set it.
+ (set_tls_module_base): New.
+ (elf_i386_relocate_sections): Call it.
+ * elf64-x86-64.c (struct elf64_x86_64_link_hash_table): Added
+ field tls_module_base.
+ (elf64_x86_64_link_hash_table_create): Initialize it.
+ (elf64_x86_64_always_size_sections): Set it.
+ (set_tls_module_base): New.
+ (elf64_x86_64_relocate_sections): Call it.
+ Reported by Cary Coutant <ccoutant@google.com>
+
+2008-07-28 Ineiev <ineiev@yahoo.co.uk>
+
+ * elf32-arm.c (arm_map_one_stub): Declare variables at beginning
+ of block.
+ * elf32-avr.c (get_local_syms): Likewise.
+
+2008-07-28 Alan Modra <amodra@bigpond.net.au>
+
+ PR 6769
+ * bfd-in.h (BFD_VMA_FMT): Define.
+ (printf_vma, sprintf_vma): Use the above.
+ (_bfd_int64_low, _bfd_int64_high): Delete.
+ * bfd-in2.h: Regenerate.
+
+2008-07-27 Alan Modra <amodra@bigpond.net.au>
+
+ * elf.c (_bfd_elf_make_section_from_shdr): Ignore return from
+ elf_parse_notes. Use bfd_malloc_and_get_section.
+ (elf_parse_notes): Validate note namesz and descsz.
+
+2008-07-26 Michael Eager <eager@eagercon.com>
+
+ * elf32-ppc.c (ppc_elf_merge_obj_attributes): Check compatibility
+ between single-float, double-float, and soft-float.
+
+2008-07-24 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * elf32-mips.c (elf_backend_write_section): Define.
+
+2008-07-24 Nick Clifton <nickc@redhat.com>
+
+ * elf.c (_bfd_elf_map_sections_to_segments): Catch off by one
+ error assigning sections to segments.
+
+2008-07-22 Nick Clifton <nickc@redhat.com>
+
+ * elf.c (_bfd_elf_map_sections_to_segments): Allow sections in
+ adjoining pages to be included in the same segment.
+
+2008-07-22 Simon Baldwin <simonb@google.com>
+
+ * elflink.c (elf_link_output_extsym): Set st_size to zero for
+ symbols from dynamic libraries.
+
+2008-07-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/4424
+ * elflink.c (_bfd_elf_merge_symbol): Call bed->relocs_compatible
+ to check if 2 inputs are compatible.
+
+2008-07-21 Sterling Augustine <sterling@tensilica.com>
+
+ * elf.c (assign_file_positions_for_load_sections): Print vma in
+ error message about overlapping section vmas.
+
+2008-07-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/6747
+ * elf32-frv.c (elf32_frv_relocate_section): Revert the change
+ for PR ld/6446 checked in by accident on May 21, 2008.
+
+2008-07-21 Nick Clifton <nickc@redhat.com>
+
+ * coff-sh.c (bfd_pe_print_pdata): Define to NULL for non
+ COFF_WITH_PE based SH ports.
+ * libpei.h (_bfd_XX_print_ce_compressed_pdata): Prototype.
+ * arm-wince-pe.c (bfd_pe_print_pdata): Use
+ _bfd_pe_print_ce_compressed_pdata.
+ (slurp_symcache, cleanup_syms, pe_print_ce_compressed_pdata): Move
+ to...
+ * peXXigen.c: ... here and rename pe_print_ce_compressed_pdata to
+ _bfd_XX_print_ce_compressed_pdata.
+
+2008-07-21 Alan Modra <amodra@bigpond.net.au>
+
+ * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Drop
+ unwanted zero terminators.
+
+2008-07-21 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-spu.c (spu_elf_relocate_section): Expand
+ RELOC_FOR_GLOBAL_SYMBOL. Don't warn about undefined symbols for
+ R_SPU_PPU32 and R_SPU_PPU64 relocations.
+
+2008-07-21 Luis Machado <luisgpm@br.ibm.com>
+
+ * elf-bfd.h: Declare elfcore_write_ppc_vsx.
+ * elf.c (elfcore_grok_ppc_vsx): New function.
+ (elfcore_write_ppc_vsx): New function
+ (elfcore_grok_note): Handle VSX notes.
+ (elfcore_write_register_note): Handle VSX notes.
+
+2008-07-18 Joseph Myers <joseph@codesourcery.com>
+
+ * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add new parameter.
+ * bfd-in2.h: Regenerate.
+ * elf32-arm.c (struct elf_arm_obj_tdata): Add field
+ no_wchar_size_warning.
+ (bfd_elf32_arm_set_target_relocs): Add new parameter
+ no_wchar_warn.
+ (elf32_arm_merge_eabi_attributes): Give a warning, not an error,
+ for conflicting wchar_t attributes. Do not warn if
+ --no-wchar-size-warning. Make diagnostic text more specific.
+
+2008-07-18 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/6748
+ * elf32-arm.c (elf32_arm_link_hash_table_create): Initialize
+ new fields added for ARM long call support.
+
+2008-07-18 Danny Backx <dannybackx@users.sourceforge.net>
+
+ * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to
+ print compressed pdata structure as described on MSDN. This only
+ applies to a limited set of architectures (ARM, SH4).
+ (slurp_symtab, my_symbol_for_address): Define static helper
+ functions for pe_print_compressed_pdata.
+ * coffcode.h (bfd_coff_backend_data): Add _bfd_coff_print_pdata field.
+ (bfd_coff_have_print_pdata, bfd_coff_print_pdata): Define.
+ * bfd/peXXigen.c (_bfd_XX_print_private_bfd_data_common): Add check on
+ bfd_coff_backend_data, call the function if non-null.
+ * pei-mcore.c: Add target dependent initialisation for
+ bfd_coff_backend_data.
+ * coff-sh.c: Likewise.
+ * coff64-rs6000.c: Likewise.
+ * coff-rs6000.c: Likewise.
+ * libcoff-in.h: Likewise.
+ * cf-i386lynx.c: Likewise.
+ * coff-alpha.c: Likewise.
+ * coff-apollo.c: Likewise.
+ * coff-arm.c: Likewise.
+ * coff-aux.c: Likewise.
+ * coff-h8300.c: Likewise.
+ * coff-h8500.c: Likewise.
+ * coff-i386.c: Likewise.
+ * coff-i860.c: Likewise.
+ * coff-i960.c: Likewise.
+ * coff-ia64.c: Likewise.
+ * coff-m68k.c: Likewise.
+ * coff-m88k.c: Likewise.
+ * coff-maxq.c: Likewise.
+ * coff-mips.c: Likewise.
+ * coff-or32.c: Likewise.
+ * coff-sparc.c: Likewise.
+ * coff-tic30.c: Likewise.
+ * coff-tic4x.c: Likewise.
+ * coff-tic54x.c: Likewise.
+ * coff-tic80.c: Likewise.
+ * coff-w65.c: Likewise.
+ * coff-we32k.c: Likewise.
+ * coff-x86_64.c: Likewise.
+ * coff-z80.c: Likewise.
+ * coff-z8k.c: Likewise.
+ * pe-mcore.c: Likewise.
+ * pe-mips.c: Likewise.
+ * pe-ppc.c: Likewise.
+ * peXXigen.c: Likewise.
+ * pei-ppc.c: Likewise.
+ * libcoff.h: Regenerate.
+
+2008-07-16 Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * elf32-bfin.c (bfin_check_relocs, bfin_relocate_section,
+ bfin_final_link_relocate, bfin_gc_mark_hook, bfin_gc_sweep_hook,
+ ELF_DYNAMIC_INTERPRETER, DEFAULT_STACK_SIZE,
+ struct _bfinfdpic_dynamic_got_info): Moved around to keep FD-PIC code
+ separate from non-FD-PIC.
+
+2008-07-14 DJ Delorie <dj@redhat.com>
+
+ * elf-m10300.c (mn10300_elf_final_link_relocate): Correct overflow
+ checks for PCREL8, PCREL16, GOTPC16, GOTOFF16, PLT16, and GOT16
+ relocs.
+ (mn10300_elf_relax_section): Correct jump offset check when target
+ is in a different section.
+
+2008-07-15 Jie Zhang <jie.zhang@analog.com>
+
+ * elf32-bfin.c (elf32_bfin_special_sections[]): New.
+ (elf_backend_special_sections): Define.
+
+2008-07-13 Craig Silverstein <csilvers@google.com>
+
+ PR binutils/6743
+ * dwarf2.c (struct dwarf2_debug): New variable info_ptr_memory.
+ (find_line): Use info_ptr_memory instead of sec_info_ptr.
+ (_bfd_dwarf2_cleanup_debug_info): Likewise.
+
+2008-07-12 Jie Zhang <jie.zhang@analog.com>
+
+ Revert
+ 2008-07-12 Jie Zhang <jie.zhang@analog.com>
+ * elf.c (_bfd_elf_map_sections_to_segments): Don't put
+ executable sections into the same segment with other
+ read only sections if --sep-code.
+ * elf32-bfin.c (elf32_bfin_code_in_l1): New variable.
+ (elf32_bfin_data_in_l1): New variable.
+ (elf32_bfin_final_write_processing): New.
+ (elf32_bfin_special_sections[]): New.
+ (elf_backend_final_write_processing): Define.
+ (elf_backend_special_sections): Define.
+
+2008-07-12 Jie Zhang <jie.zhang@analog.com>
+
+ * elf.c (_bfd_elf_map_sections_to_segments): Don't put
+ executable sections into the same segment with other
+ read only sections if --sep-code.
+ * elf32-bfin.c (elf32_bfin_code_in_l1): New variable.
+ (elf32_bfin_data_in_l1): New variable.
+ (elf32_bfin_final_write_processing): New.
+ (elf32_bfin_special_sections[]): New.
+ (elf_backend_final_write_processing): Define.
+ (elf_backend_special_sections): Define.
+
+2008-07-11 Andreas Schwab <schwab@suse.de>
+
+ * dwarf2.c (read_section): Take pointer to bfd_size_type instead
+ of unsigned long as last parameter.
+ (struct dwarf2_debug): Define dwarf_abbrev_size, dwarf_line_size,
+ dwarf_str_size and dwarf_ranges_size as bfd_size_type instead of
+ unsigned long.
+
+2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * elfxx-mips.c (mips_elf_calculate_relocation): Calculate GP and GP0
+ for all relocation types. Allow any type of relocation to refer to
+ __gnu_local_gp.
+
+2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * elfxx-mips.c (mips_elf_check_mips16_stubs): Use ELF_ST_IS_MIPS16.
+ (mips_elf_calculate_relocation): Likewise.
+ (_bfd_mips_elf_add_symbol_hook): Likewise.
+ (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
+ (_bfd_mips_vxworks_finish_dynamic_symbol): Likewise.
+
+2008-07-10 Andreas Schwab <schwab@suse.de>
+
+ * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Add missing
+ paren.
+
+2008-07-09 Craig Silverstein <csilvers@google.com>
+
+ * Makefile.am (BFD32_LIBS): Add compress.lo.
+ (BFD32_LIBS_CFILES): Add compress.c.
+ (BFD_H_FILES): Likewise.
+ * Makefile.in: Regenerate.
+ * bfd-in2.h: Regenerate.
+ * config.in: Add HAVE_ZLIB_H
+ * configure.in: Add test for libz and zlib.h
+ * configure: Regenerate.
+ * dwarf2.c (read_section): New function.
+ (read_indirect_string): Call new function read_section.
+ (read_abbrevs): Likewise.
+ (decode_line_info): Likewise.
+ (read_debug_ranges): Likewise.
+ (find_line): Call new function read_section when just one
+ .zdebug_info section is found, otherwise read and compress
+ multiple sections.
+ (_bfd_dwarf2_cleanup_debug_info): Free sec_info_ptr.
+ * elf.c (_bfd_elf_make_section_from_shdr): Add zdebug prefix.
+ (special_sections_z): New struct.
+ (special_sections): Refer to special_sections_z.
+ * elfxx-mips.c (_bfd_mips_elf_section_from_shdr): Recognize
+ sections named .zdebug_*.
+ (_bfd_mips_elf_fake_sections): Likewise.
+ * compress.c: New file.
+ (bfd_uncompress_section_contents): New function.
+
+2008-07-07 Christophe Lyon <christophe.lyon@st.com>
+
+ * elf32-arm.c (arm_type_of_stub): Don't crash on local symbols in
+ the presence of a PLT.
+
+2008-07-07 Alan Modra <amodra@bigpond.net.au>
+
+ * bfd.c (bfd_demangle): Always trim off bfd_get_symbol_leading_char.
+
+2008-07-02 Alan Modra <amodra@bigpond.net.au>
+
+ * elf32-ppc.c (is_pic_glink_stub): New function.
+ (ppc_elf_get_synthetic_symtab): Don't generate symbols when
+ multiple shared/pie stubs per plt entry.
+
+2008-06-30 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * elf.c (_bfd_elf_get_synthetic_symtab): Increment p by
+ bed->s->int_rels_per_ext_rel.
+
+2008-06-30 Richard Sandiford <rdsandiford@googlemail.com>
+
+ * syms.c (BSF_SYNTHETIC): New flag.
+ * elf.c (_bfd_elf_get_synthetic_symtab): Set it.
+ * elf32-ppc.c (ppc_elf_get_synthetic_symtab): Likewise.
+ * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Likewise.
+ * bfd-in.h (bfd_asymbol_flavour): Return bfd_target_unknown_flavour
+ for synthetic symbols.
+ * bfd-in2.h: Regenerate.
+
2008-06-30 Daniel Jacobowitz <dan@codesourcery.com>
* elf32-arm.c (record_arm_to_thumb_glue, record_thumb_to_arm_glue):
2008-06-18 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
- * elf32-cr16.c (ELF_MACHINE_ALT1): Define to EM_CR16_OLD.
+ * elf32-cr16.c (ELF_MACHINE_ALT1): Define to EM_CR16_OLD.
2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
(arm_map_one_stub): Define.
(elf32_arm_output_arch_local_syms): Generate mapping symbols for
long calls stubs.
-
+
+2008-05-21 Nick Clifton <nickc@redhat.com>
+
+ * elf32-arm.c (group_sections): Reformat comments.
+
+ PR ld/6446
+ * elf32-frv.c (elf32_frv_relocate_section): Set EF_FRV_PIC by
+ default (for FDPIC). Clear it if any inter-segment relocations
+ are found.
+
+ * elf64-hppa.c (elf64_hppa_finalize_opd): Check NULL return
+ from elf_link_hash_lookup.
+
2008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com>
-
+
Add multi-GOT support for m68k.
* elf32-m68k.c (struct elf_m68k_link_hash_entry: got_entry_key,
glist): New fields.
struct elf_m68k_link_hash_table.
(elf_m68k_link_hash_table_free): New static function implementing hook.
(elf_m68k_init_got, elf_m68k_clear_got, elf_m68k_create_empty_got): New
- static functions for struct elf_m68k_got.
+ static functions for struct elf_m68k_got.
(elf_m68k_init_got_entry_key, elf_m68k_got_entry_hash,
elf_m68k_got_entry_eq): New static functions for
struct elf_m68k_got_entry.