aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2013-02-05 * Makefile.am (SOURCE_HFILES): Add `elf-linux-psinfo.h'.Alan Modra3-2/+7
* Makefile.in: Regenerate.
2013-02-04daily updateAlan Modra1-1/+1
2013-02-042013-02-04 Sergio Durigan Junior <sergiodj@redhat.com>Sergio Durigan Junior6-1/+276
Pedro Alves <palves@redhat.com> * Makefile.in (SOURCE_HFILES): Add `elf-linux-psinfo.h'. * elf-bfd.h (elf_internal_linux_prpsinfo): New structure declaration. (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64) (elfcore_write_ppc32_linux_prpsinfo32): New declarations. * elf-linux-psinfo.h: New file. * elf.c: Include elf-linux-psinfo.h. (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64): New functions. * elf32-ppc.c: Include `elf-linux-psinfo.h'. (elf_external_ppc_linux_prpsinfo32): New structure declaration. (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): New macro. (elfcore_write_ppc_linux_prpsinfo32): New function.
2013-02-042013-02-04 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+7
* mach-o.c (bfd_mach_o_scan_start_address): Do not fail if no start address.
2013-02-04 * Makefile.am (BFD64_BACKENDS): Remove elf-nacl.lo.Alan Modra4-5/+10
(BFD64_BACKENDS_CFILES): Remove elf-nacl.c. * Makefile.in: Regenerate. * po/SRC-POTFILES.in: Regenerate.
2013-02-04include/coff/Alan Modra3-18/+5
* ti.h (SWAP_OUT_RELOC_EXTRA): Define. bfd/ * coff-tic54x.c (SWAP_OUT_RELOC_EXTRA): Delete. * coff-tic80.c (SWAP_OUT_RELOC_EXTRA): Delete.
2013-02-04correct pr referenceAlan Modra1-1/+1
2013-02-03daily updateAlan Modra1-1/+1
2013-02-02daily updateAlan Modra1-1/+1
2013-02-01daily updateAlan Modra1-1/+1
2013-02-01 * elf64-ppc.c (dec_dynrel_count): Don't error when elf_gc_sweep_symbolAlan Modra2-6/+12
clears def_regular.
2013-01-31daily updateAlan Modra1-1/+1
2013-01-312013-01-31 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+21
* mach-o.c (bfd_mach_o_scan): Call bfd_mach_o_flatten_sections earlier. Fix status checking of bfd_mach_o_scan_start_address. (bfd_mach_o_scan_start_address): Handle LC_MAIN.
2013-01-31 PR ld/15056Alan Modra4-10/+87
* elfxx-sparc.c (_bfd_sparc_elf_gc_mark_hook): Handle implicit references to __tls_get_addr. * elf32-tilpro.c (tilepro_elf_gc_mark_hook): Likewise. Correct vtinherit and vtentry reloc handling too. * elfxx-tilegx.c (tilegx_elf_gc_mark_hook): As for tilepro.
2013-01-31bfd/Alan Modra2-11/+15
* elf64-ppc.c (ppc_stub_name): Trim off trailing "+0". ld/testsuite/ * ld-powerpc/tlsexe.d: Update for changed stub names. * ld-powerpc/tlsexe.r: Likewise. * ld-powerpc/tlsexetoc.d: Likewise. * ld-powerpc/tlsexetoc.r: Likewise. * ld-powerpc/tlsso.d: Likewise. * ld-powerpc/tlsso.r: Likewise. * ld-powerpc/tlstocso.d: Likewise. * ld-powerpc/tlstocso.r: Likewise.
2013-01-30daily updateAlan Modra1-1/+1
2013-01-30 * elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink.Alan Modra2-1/+5
2013-01-30revert last commitAlan Modra1-13/+1
2013-01-29daily updateAlan Modra1-1/+1
2013-01-29* config/tc-rl78.c (rl78_cons_fix_new): Handle user-specifiedDJ Delorie1-1/+13
relocs in .word/.etc statements.
2013-01-28daily updateAlan Modra1-1/+1
2013-01-28 * elf64-ppc.c: Use %T to print symbols names and remove redundantAlan Modra2-43/+55
"relocation" in error messages throughout file. (ppc64_elf_relocate_section): Remove sibling call error message, replace with "call lacks nop". Specially report errors for branches to function entry points via OPD lookup and branches to stubs. Remove NULL symbol handling now done by %T.
2013-01-28 * archive.c (bfd_generic_archive_p): Return target and keepAlan Modra3-43/+46
ardata on partial matches. * format.c (bfd_check_format_matches): Adjust for above change. Remove bfd_error_file_ambiguously_recognized dead code.
2013-01-27daily updateAlan Modra1-1/+1
2013-01-27mention fixed bug in ChangeLogMike Frysinger1-0/+1
2013-01-26daily updateAlan Modra1-1/+1
2013-01-26 * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore,Alan Modra12-238/+163
bfd_preserve_finish): Move to.. * format.c: ..here, splitting out.. (bfd_reinit): ..this. New function. (bfd_check_format_matches): Use bfd_preserve_save/restore to keep bfd state for a match. * elfcode.h (elf_object_p): Don't use bfd_preserve_save/restore. * elfcore.h (elf_core_file_p): Likewise. * mach-o.c (bfd_mach_o_header_p): Likewise. * pef.c (bfd_pef_object_p, bfd_pef_xlib_object_p): Likewise. * xsym.c (bfd_sym_object_p): Likewise. * mmo.c (mmo_scan): Clear abfd->symcount. * opncls.c (_bfd_new_bfd): Use a smaller section hash table. * section.c (bfd_section_list_clear): Clear section_htab.count. * bfd-in2.h: Regenerate.
2013-01-25daily updateAlan Modra1-1/+1
2013-01-25 * elf32-h8300.c (elf32_h8_relax_section): When checking for aNick Clifton2-1/+6
second reloc, make sure that the reloc potentially exists first.
2013-01-24daily updateAlan Modra1-1/+1
2013-01-24Add support for V850E3V5 architectureNick Clifton6-13/+41
2013-01-23daily updateAlan Modra1-1/+1
2013-01-23 * elf32-metag.c: Error on HIADDR16/LOADDR16 in shared link.Nick Clifton2-8/+39
2013-01-23 * config.bfd (x86_64-*-rdos*): Remove targ_selvecs.Alan Modra2-1/+4
2013-01-22daily updateAlan Modra1-1/+1
2013-01-21daily updateAlan Modra1-1/+1
2013-01-20daily updateAlan Modra1-1/+1
2013-01-19daily updateAlan Modra1-1/+1
2013-01-18daily updateAlan Modra1-1/+1
2013-01-18Resolve size relocation against non-zero TLS symbolH.J. Lu3-0/+59
bfd/ * elf32-i386.c (elf_i386_allocate_dynrelocs): Clear pc_count for non-zero TLS symbol. (elf_i386_relocate_section): Resolve size relocation against non-zero TLS symbol. * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Clear pc_count for non-zero TLS symbol. (elf_x86_64_relocate_section): Resolve size relocation against non-zero TLS symbol. ld/testsuite/ * ld-size/size-10.rd: Updated. * ld-size/size-8.rd: Likewise. * ld-size/size32-2-i386.d: Likewise. * ld-size/size32-2-x32.d: Likewise. * ld-size/size32-2-x86-64.d: Likewise. * ld-size/size64-2-x32.d: Likewise. * ld-size/size64-2-x86-64.d: Likewise.
2013-01-18ld: change --enable-new-dtags to only generate new dtagsMike Frysinger2-8/+11
The "new" dtags options have been around for 14+ years, so there shouldn't be a need to generate both new & old tags anymore. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-17Count size relocation as PC-relative relocationH.J. Lu3-2/+17
bfd/ * elf32-i386.c (elf_i386_check_relocs): Count size relocation as PC-relative relocation. * elf64-x86-64.c (elf_x86_64_check_relocs): Count size relocation as PC-relative relocation. ld/testsuite/ * ld-size/size32-3-i386.d: New file. * ld-size/size32-3-x32.d: Likewise. * ld-size/size32-3-x86-64.d: Likewise. * ld-size/size32-3.s: Likewise.
2013-01-17daily updateAlan Modra1-1/+1
2013-01-16daily updateAlan Modra1-1/+1
2013-01-16Update x86 size relocation checkH.J. Lu3-31/+20
* elf32-i386.c (elf_i386_check_relocs): Update R_386_SIZE32 check. (elf_i386_relocate_section): Don't check TLS for R_386_SIZE32. * elf64-x86-64.c (elf_x86_64_check_relocs): Update R_X86_64_SIZE32 and R_X86_64_SIZE64 check. (elf_x86_64_relocate_section): Don't check TLS for R_X86_64_SIZE32 nor R_X86_64_SIZE64.
2013-01-16Add x86 size relocation support to bfdH.J. Lu6-12/+123
* bfd-in2.h: Regenerated. * libbfd.h: Likewise. * elf32-i386.c (elf_howto_table): Fill R_386_SIZE32 entry. (elf_i386_reloc_type_lookup): Support BFD_RELOC_SIZE32. (elf_i386_check_relocs): Handle R_386_SIZE32. (elf_i386_gc_sweep_hook): Likewise. (elf_i386_relocate_section): Likewise. * elf64-x86-64.c (x86_64_elf_howto_table): Fill R_X86_64_SIZE32 and R_X86_64_SIZE64 entries. (x86_64_reloc_map): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64, (elf_x86_64_rtype_to_howto): Handle R_X86_64_SIZE32 for x32. (elf_x86_64_reloc_name_lookup): Likewise. (elf_x86_64_check_relocs): Handle R_X86_64_SIZE32 and R_X86_64_SIZE64. (elf_x86_64_gc_sweep_hook): Likewise. (elf_x86_64_relocate_section): Likewise. * reloc.c (bfd_reloc_code_type): Add BFD_RELOC_SIZE32 and BFD_RELOC_SIZE64.
2013-01-15daily updateAlan Modra1-1/+1
2013-01-15Define R_X86_64_standard with R_X86_64_RELATIVE64H.J. Lu2-1/+6
* elf64-x86-64.c (R_X86_64_standard): Replace R_X86_64_IRELATIVE with R_X86_64_RELATIVE64.
2013-01-15Fix spelling typo.Nick Clifton2-4/+7
2013-01-15bfd/Alan Modra2-1/+8
* elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to plt-thread-safe. gold/ * powerpc.cc (Target_powerpc::do_relax): Default shared libs to plt-thread-safe. ld/testsuite/ * ld-powerpc/tlsso.d: Adjust for plt-thread-safe stubs. * ld-powerpc/tlsso.g: Likewise. * ld-powerpc/tlsso.r: Likewise. * ld-powerpc/tlstocso.d: Likewise. * ld-powerpc/tlstocso.g: Likewise.