aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2007-08-10daily updateAlan Modra1-1/+1
2007-08-092007-08-09 Michael Snyder <msnyder@access-company.com>Michael Snyder2-1/+7
* aoutx.h (aout_get_external_symbols): Return if count is zero.
2007-08-092007-08-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+34
PR ld/4909 * elf.c (print_segment_map): New function. (assign_file_positions_for_load_sections): Call print_segment_map when a section can't be allocated in segment.
2007-08-09 * opncls.c (bfd_openr_iovec): Fix the OPEN parameter macro expansion.Jan Kratochvil2-1/+6
2007-08-09daily updateAlan Modra1-1/+1
2007-08-08daily updateAlan Modra1-1/+1
2007-08-07* po/bfd.pot: Updated template.Nick Clifton3-765/+788
* po/BLD-POTFILES.in: Regenerate.
2007-08-07daily updateAlan Modra1-1/+1
2007-08-06 * elf.c: (_bfd_elf_make_section_from_phdr): Properly handleAlan Modra2-30/+54
bss segments.
2007-08-06 * Makefile.am (BUILD_HFILES): Clean bfd_stdint.h.Daniel Jacobowitz3-2/+7
* Makefile.in: Regenerated.
2007-08-06 * configure.in: Update version to 2.18.50.Daniel Jacobowitz3-2/+7
* configure: Regenerated.
2007-08-062007-08-06 Paul Brook <paul@codesourcery.com>Daniel Jacobowitz2-87/+90
* elf32-arm.c (elf32_arm_link_hash_entry): Add plt_maybe_thumb_refcount. (elf32_arm_link_hash_newfunc): Set plt_maybe_thumb_refcount. (elf32_arm_copy_indirect_symbol): Ditto. (elf32_arm_adjust_dynamic_symbol): Ditto. (bfd_elf32_arm_process_before_allocation): Handle R_ARM_THM_JUMP24. (arm_add_to_rel): Ditto. (elf32_arm_final_link_relocate): Merge R_ARM_THM_JUMP24 with R_ARM_THM_CALL. Handle R_ARM_THM_JUMP19 against a PLT stub. (elf32_arm_gc_sweep_hook): Call check_use_blx. Update plt counts for R_ARM_THM_JUMP24 and R_ARM_THM_JUMP19. (elf32_arm_check_relocs): Update plt counts for R_ARM_THM_JUMP24 and R_ARM_THM_JUMP19. (allocate_dynrelocs): Use plt_maybe_thumb_refcount. (elf32_arm_finish_dynamic_symbol): Ditto. (elf32_arm_output_plt_map): Ditto.
2007-08-06 * elf.c (rewrite_elf_program_header): Handle sections not sortedDaniel Jacobowitz2-3/+12
by address. (copy_elf_program_header): Likewise.
2007-08-06daily updateAlan Modra1-1/+1
2007-08-05daily updateAlan Modra1-1/+1
2007-08-042007-08-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-4/+11
* elf-bfd.h (xvec_get_elf_backend_data): Add const. * elfcode.h (elf_object_p): Use xvec_get_elf_backend_data. * elfcore.h (elf_core_file_p): Likewise.
2007-08-04daily updateAlan Modra1-1/+1
2007-08-03daily updateAlan Modra1-1/+1
2007-08-02bfd/H.J. Lu2-20/+33
2007-08-02 H.J. Lu <hongjiu.lu@intel.com> * coffcode.h (ALIGN_SET): Removed. (ELIFALIGN_SET): Likewise. (coff_set_alignment_hook): Handle IMAGE_SCN_ALIGN_128BYTES, IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_512BYTES, IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES, IMAGE_SCN_ALIGN_4096BYTES and IMAGE_SCN_ALIGN_8192BYTES. include/coff/ 2007-08-02 H.J. Lu <hongjiu.lu@intel.com> * pe.h (IMAGE_SCN_ALIGN_POWER_BIT_POS): New. (IMAGE_SCN_ALIGN_POWER_BIT_MASK): Likewise. (IMAGE_SCN_ALIGN_POWER_NUM): Likewise. (IMAGE_SCN_ALIGN_POWER_CONST): Likewise. (IMAGE_SCN_ALIGN_128BYTES): Likewise. (IMAGE_SCN_ALIGN_256BYTES): Likewise. (IMAGE_SCN_ALIGN_512BYTES): Likewise. (IMAGE_SCN_ALIGN_1024BYTES): Likewise. (IMAGE_SCN_ALIGN_2048BYTES): Likewise. (IMAGE_SCN_ALIGN_4096BYTES): Likewise. (IMAGE_SCN_ALIGN_8192BYTES): Likewise. (IMAGE_SCN_ALIGN_1BYTES): Redefined with IMAGE_SCN_ALIGN_POWER_CONST. (IMAGE_SCN_ALIGN_2BYTES): Likewise. (IMAGE_SCN_ALIGN_4BYTES): Likewise. (IMAGE_SCN_ALIGN_8BYTES): Likewise. (IMAGE_SCN_ALIGN_16BYTES): Likewise. (IMAGE_SCN_ALIGN_32BYTES): Likewise. (IMAGE_SCN_ALIGN_64BYTES): Likewise.
2007-08-02daily updateAlan Modra1-1/+1
2007-08-012007-08-01 Michael Snyder <msnyder@access-company.com>Michael Snyder2-1/+3
* vms-tir.c (new_section): Fix cut and paste error.
2007-08-012007-08-01 Michael Snyder <msnyder@access-company.com>Michael Snyder2-1/+6
* aoutx.h (aout_link_add_symbols): Return if count is zero.
2007-08-012007-08-01 Michael Snyder <msnyder@access-company.com>Michael Snyder2-1/+6
* elf.c (bfd_elf_print_symbol): Macro dereferences pointer, so pointer must be non-null.
2007-08-01* coffcode.h (coff_sort_func_alent): New function.Nick Clifton2-45/+125
(coff_slurp_line_table): Sort line table if not already sorted.
2007-08-01 * elf.c (_bfd_elf_map_sections_to_segments): Work around buggyJakub Jelinek2-7/+15
GCC 3.4.x warning.
2007-08-01 * aoutx.h (swap_ext_reloc_in): Set howto to NULL for unknownAlan Modra2-7/+40
r_type. (swap_std_reloc_in): Likewise. (aout_link_input_section_std): Likewise. Return with an error on unexpected relocation type. (aout_link_input_section_ext): Likewise.
2007-08-01 PR4694Alan Modra2-10/+14
* aoutx.h (final_link): Write a zero in first word of stringtab if no symbols rather than corrupting last byte of text/data.
2007-08-01daily updateAlan Modra1-1/+1
2007-07-31 * elf.c (get_program_header_size): Adjacent loadable .note*Jakub Jelinek2-8/+46
sections need just one PT_NOTE segment. (_bfd_elf_map_sections_to_segments): Likewise.
2007-07-312007-07-30 Michael Snyder <msnyder@access-company.com>Michael Snyder2-13/+13
* coffgen.c (_bfd_coff_read_internal_relocs): Revert change of 2007-07-26. Buffer still in use, can't be freed.
2007-07-31daily updateAlan Modra1-1/+1
2007-07-30daily updateAlan Modra1-1/+1
2007-07-29daily updateAlan Modra1-1/+1
2007-07-28daily updateAlan Modra1-1/+1
2007-07-272007-07-27 Michael Snyder <msnyder@access-company.com>Michael Snyder2-3/+8
* cofflink.c (coff_link_add_symbols): Return if count is zero.
2007-07-272007-07-27 Michael Snyder <msnyder@access-company.com>Michael Snyder2-1/+3
* coff-i386.c (coff_i386_rtype_to_howto): Off by one error.
2007-07-272007-07-27 Michael Snyder <msnyder@access-company.com>Michael Snyder2-1/+6
* aoutx.h (slurp_symbol_table): Return if count == 0.
2007-07-272007-07-27 Michael Snyder <msnyder@access-company.com>Michael Snyder2-2/+7
* coffgen.c (_bfd_coff_read_internal_relocs): Return if count is zero.
2007-07-272007-07-27 Michael Snyder <msnyder@access-company.com>Michael Snyder2-3/+11
* elf32-i386.c (elf_i386_check_relocs): Check for null pointer.
2007-07-272007-07-27 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* config.bfd (x86_64-*-mingw*): Don't include x86_64coff_vec.
2007-07-272007-07-26 Michael Snyder <msnyder@access-company.com>Michael Snyder2-2/+5
* coff-i386.c (coff_i386_rtype_to_howto): Guard against null.
2007-07-272007-07-26 Michael Snyder <msnyder@svkmacdonelllnx>Michael Snyder5-7/+27
* linker.c (bfd_section_already_linked_table_insert): Change return type from void to boolean. Return FALSE on failure. (_bfd_generic_section_already_linked): Test return value of bfd_section_already_linked_table_insert, call fatal on error. * elflink.c (_bfd_elf_section_already_linked): Test return value of bfd_section_already_linked_table_insert, call fatal on error. * libbfd-in.h (bfd_section_already_linked_table_insert): Update return type to bfd_boolean. * libbfd.h: Regenerate.
2007-07-27 * archive.c (do_slurp_bsd_armap, do_slurp_coff_armap,Adam Nemet2-4/+11
bfd_slurp_armap): Improve function comment.
2007-07-27daily updateAlan Modra1-1/+1
2007-07-26Fix bollixed check-inMichael Snyder1-2/+2
2007-07-262007-07-26 Michael Snyder <msnyder@access-company.com>Michael Snyder2-0/+6
* linker.c (already_linked_newfunc): Check for NULL return from bfd_hash_allocate.
2007-07-262007-07-26 Michael Snyder <msnyder@access-company.com>Michael Snyder2-1/+5
* coffgen.c (fixup_symbol_value): Guard against null; bfd_is_com_section will dereference the section pointer.
2007-07-262007-07-26 Michael Snyder <msnyder@access-company.com>Michael Snyder2-1/+4
* syms.c (bfd_decode_symclass): Guard against NULL, since bfd_is_com_section dereferences the pointer.
2007-07-262007-07-26 Michael Snyder <msnyder@access-company.com>Michael Snyder2-0/+8
* srec.c (srec_scan): Check for EOF (critical because return value will be used as array index).
2007-07-262007-07-26 Michael Snyder <msnyder@access-company.com>Michael Snyder2-8/+16
* coffgen.c (_bfd_coff_read_internal_relocs): If internal_relocs are not to be cached, free the temporary buffer.