aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2012-12-10Add copyright noticesNick Clifton17-29/+131
2012-12-09daily updateAlan Modra1-1/+1
2012-12-09Properly check indicies bigger than 4GbH.J. Lu2-4/+9
PR binutils/14933 * archive.c (bsd_write_armap): Properly check indicies bigger than 4Gb.
2012-12-08daily updateAlan Modra1-1/+1
2012-12-07daily updateAlan Modra1-1/+1
2012-12-07 PR ld/14926Alan Modra2-0/+7
* elf.c (_bfd_elf_map_sections_to_segments): Include elf header size when determining phdr_in_segment.
2012-12-06daily updateAlan Modra1-1/+1
2012-12-06bfd/Yufeng Zhang2-0/+41
2012-12-06 Yufeng Zhang <yufeng.zhang@arm.com> * elf64-aarch64.c (elf64_aarch64_grok_prstatus): New function. (elf_backend_grok_prstatus): Define to elf64_aarch64_grok_prstatus.
2012-12-06 * elfxx-mips.c (allocate_dynrelocs): Correct test for symbolAlan Modra2-1/+6
defined in a regular file to include common symbols.
2012-12-05daily updateAlan Modra1-1/+1
2012-12-05Add x86_64-*-rdos.Alan Modra2-0/+9
2012-12-05 * elf64-ppc.c (build_plt_stub): Fix off by one error in branchAlan Modra2-2/+7
to glink.
2012-12-04daily updateAlan Modra1-1/+1
2012-12-03daily updateAlan Modra1-1/+1
2012-12-03 PR ld/10629Maciej W. Rozycki2-3/+11
* elfxx-mips.c (mips_elf_link_hash_table): Update comment for use_rld_obj_head. (_bfd_mips_elf_create_dynamic_sections): Always create a .rld_map section if no __rld_obj_head symbol has been seen.
2012-12-03 * elf32-mips.c (mips_elf32_object_p): Return right away when theMaciej W. Rozycki3-8/+12
ABI is not compatible. * elfn32-mips.c (mips_elf_n32_object_p): Likewise.
2012-12-03 * elf32-tilepro.c (tilepro_elf_mkobject): New function.Maciej W. Rozycki2-0/+17
(bfd_elf32_mkobject): New macro.
2012-12-03 bfd/Maciej W. Rozycki6-37/+141
* elf32-mips.c (bfd_elf32_mkobject): New macro. * elf64-mips.c (bfd_elf64_mkobject): Likewise. * elfn32-mips.c (bfd_elf32_mkobject): Likewise. * elfxx-mips.h (_bfd_mips_elf_mkobject): New prototype. * elfxx-mips.c (mips_elf_obj_tdata): New struct. (mips_elf_tdata): New macro. (_bfd_mips_elf_mkobject): New function. (mips_elf_merge_obj_attributes): Report the originating input BFD on attribute conflicts. ld/testsuite/ * ld-mips-elf/attr-gnu-4-12.d: Update the warning message. * ld-mips-elf/attr-gnu-4-13.d: Likewise. * ld-mips-elf/attr-gnu-4-14.d: Likewise. * ld-mips-elf/attr-gnu-4-15.d: Likewise. * ld-mips-elf/attr-gnu-4-21.d: Likewise. * ld-mips-elf/attr-gnu-4-23.d: Likewise. * ld-mips-elf/attr-gnu-4-24.d: Likewise. * ld-mips-elf/attr-gnu-4-25.d: Likewise. * ld-mips-elf/attr-gnu-4-31.d: Likewise. * ld-mips-elf/attr-gnu-4-32.d: Likewise. * ld-mips-elf/attr-gnu-4-34.d: Likewise. * ld-mips-elf/attr-gnu-4-35.d: Likewise. * ld-mips-elf/attr-gnu-4-41.d: Likewise. * ld-mips-elf/attr-gnu-4-42.d: Likewise. * ld-mips-elf/attr-gnu-4-43.d: Likewise. * ld-mips-elf/attr-gnu-4-45.d: Likewise. * ld-mips-elf/attr-gnu-4-51.d: Likewise.
2012-12-03 bfd/Maciej W. Rozycki2-10/+17
* elfxx-mips.c (mips_elf_merge_obj_attributes): Correct messages for the -mdouble-float and -msingle-float cases throughout; make all the messages report the output file consistently on the left-hand side. ld/testsuite/ * ld-mips-elf/attr-gnu-4-12.d: Adjust the warning expected according to changes to BFD. * ld-mips-elf/attr-gnu-4-14.d: Likewise. * ld-mips-elf/attr-gnu-4-31.d: Likewise. * ld-mips-elf/attr-gnu-4-32.d: Likewise. * ld-mips-elf/attr-gnu-4-34.d: Likewise. * ld-mips-elf/attr-gnu-4-41.d: Likewise.
2012-12-02daily updateAlan Modra1-1/+1
2012-12-01daily updateAlan Modra1-1/+1
2012-11-30daily updateAlan Modra1-1/+1
2012-11-29daily updateAlan Modra1-1/+1
2012-11-29bfd/Roland McGrath2-4/+8
* elf-nacl.c (segment_eligible_for_headers): Disallow writable segments.
2012-11-29Fix attribution for old patch:Hans-Peter Nilsson1-1/+2
2009-10-19 Edgar E. Iglesias <edgar@axis.com> Hans-Peter Nilsson <hp@axis.com> * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_DTPREL>: Don't subtract the size of the TLS block for non-shared objects from the relocation.
2012-11-28daily updateAlan Modra1-1/+1
2012-11-27daily updateAlan Modra1-1/+1
2012-11-26daily updateAlan Modra1-1/+1
2012-11-26bfd/Roland McGrath2-3/+6
* elf-nacl.c (nacl_modify_segment_map): Don't crash when INFO is null.
2012-11-25daily updateAlan Modra1-1/+1
2012-11-24daily updateAlan Modra1-1/+1
2012-11-23daily updateAlan Modra1-1/+1
2012-11-22daily updateAlan Modra1-1/+1
2012-11-21daily updateAlan Modra1-1/+1
2012-11-21Set output maxpagesize when rewriting program headerH.J. Lu2-0/+27
bfd/ PR binutils/14493 * elf.c (copy_elf_program_header): When rewriting program header, set the output maxpagesize to the maximum alignment of input PT_LOAD segments. 2012-11-21 H.J. Lu <hongjiu.lu@intel.com> PR binutils/14493 * ld-elf/maxpage5.d: New file. * ld-elf/maxpage5.s: Likewise. * ld-elf/maxpage5.t: Likewise.
2012-11-21bfd/Roland McGrath2-2/+20
* elf-nacl.c (segment_nonexecutable_and_has_contents): Renamed to ... (segment_eligible_for_headers): ... this. Take new arguments MAXPAGESIZE and SIZEOF_HEADERS. Return false if the first section's start address doesn't leave space for the headers. (nacl_modify_segment_map): Update caller.
2012-11-20daily updateAlan Modra1-1/+1
2012-11-20Remove ref_dynamic_nonweak added by accidentH.J. Lu3-9/+10
bfd/ 2012-11-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/14862 * elf-bfd.h (elf_link_hash_entry): Remove ref_dynamic_nonweak added by accident. (elf_link_add_object_symbols): Don't set nor check ref_dynamic_nonweak. ld/testsuite/ 2012-11-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/14862 * ld-elf/shared.exp (build_tests): Build libpr14862-1.o and libpr14862.so. (run_tests): Test pr14862. * ld-elf/pr14862-1.c: New file. * ld-elf/pr14862-2.c: Likewise. * ld-elf/pr14862.map: Likewise. * ld-elf/pr14862.out: Likewise.
2012-11-20 * elf32-rx.c (rx_elf_print_private_bfd_data): Warning fix.Alan Modra2-3/+7
2012-11-19daily updateAlan Modra1-1/+1
2012-11-18daily updateAlan Modra1-1/+1
2012-11-16daily updateAlan Modra1-1/+1
2012-11-16bfd/ChangeLogYufeng Zhang2-10/+22
2012-11-16 Joey Ye <joey.ye@arm.com> * elf32-arm.c (elf32_arm_final_link_relocate, case R_ARM_THM_ALU_PREL_11_0, case R_ARM_THM_PC12): Align address of the place being relocated. (elf32_arm_final_link_relocate, case R_ARM_THM_PC8): Align address of the place being relocated and truncate addend. (Pa): New macro.
2012-11-15daily updateAlan Modra1-1/+1
2012-11-15bfd/Roland McGrath2-9/+14
* elf32-arm.c (elf32_arm_nacl_plt0_entry): Use bic rather than bfc instruction for data sandboxing. gold/ * arm.cc (Output_data_plt_arm_nacl::first_plt_entry): Use bic rather than bfc instruction for data sandboxing.
2012-11-14daily updateAlan Modra1-1/+1
2012-11-14bfd/Tristan Gingold3-1/+83
2012-11-14 Tristan Gingold <gingold@adacore.com> * mach-o.c (bfd_mach_o_read_main) (bfd_mach_o_read_source_version): New functions. (bfd_mach_o_read_command): Handle BFD_MACH_O_LC_DATA_IN_CODE, BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS, BFD_MACH_O_LC_MAIN, BFD_MACH_O_LC_SOURCE_VERSION. * mach-o.h (bfd_mach_o_main_command) (bfd_mach_o_source_version_command): New types. (bfd_mach_o_load_command): Add fields for these new types. binutils/ 2012-11-14 Tristan Gingold <gingold@adacore.com> * od-macho.c (bfd_mach_o_load_command_name): Add new definitions. (dump_load_command): Handle BFD_MACH_O_LC_SOURCE_VERSION and BFD_MACH_O_LC_MAIN.
2012-11-142012-11-14 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-20/+35
* mach-o.c (bfd_mach_o_canonicalize_one_reloc): Add a special handling for non-scattered pairs. Update comments.
2012-11-13daily updateAlan Modra1-1/+1
2012-11-13Allocate elf_segment_map with bfd_zallocH.J. Lu2-1/+6
* elf.c (rewrite_elf_program_header): Allocate elf_segment_map with bfd_zalloc, instead of bfd_alloc.