aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2013-03-23daily updateAlan Modra1-1/+1
2013-03-23 * elf-bfd.h (_bfd_elf_merge_symbol): Delete declaration.Alan Modra4-43/+29
* elflink.c (_bfd_elf_merge_symbol): Make static. * elf32-sh-symbian.c (sh_symbian_relocate_section): Don't call _bfd_elf_merge_symbol, call _bfd_generic_link_add_one_symbol.
2013-03-22 PR ld/15270Alan Modra2-6/+16
* elflink.c (elf_link_add_object_symbols): Don't set def_regular or ref_regular for BFD_PLUGIN owned syms, or have them affect def_dynamic/ref_dynamic. (_bfd_elf_fix_symbol_flags): Don't set def_regular for BFD_PLUGIN owned syms.
2013-03-22daily updateAlan Modra1-1/+1
2013-03-22Fix attribute section output on sparc.David S. Miller2-0/+6
bfd/ * elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): Set type of hwcaps attribute.
2013-03-22 PR ld/14902Nick Clifton2-6/+11
* elf32-h8300.c (elf32_h8_relax_delete_bytes): Fix off by one errors adjusting relocs and symbols.
2013-03-21daily updateAlan Modra1-1/+1
2013-03-21 * elf32-h8300 (h8_relax_section): Add new relaxation of movNick Clifton6-53/+179
@(disp:32,ERx) to mov @(disp:16,ERx). (R_H8_DISP32A16): New reloc. Comments added and corrected. * reloc.c (BFD_RELOC_H8_DISP32A16): New reloc. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * ld.texinfo (H8/300): Add description of relaxation of mov @(disp:32,ERx) to mov @(disp:16,ERx). * ld-h8300/h8300.exp: Add new relax-7 test on ELF. * ld-h8300/relax-2.s: Add other direction and .w/.l variants of mov insns. * ld-h8300/relax-2.d: Update expected disassembly. * ld-h8300/relax-7a.s: New: tests for mov @(disp:32,ERx) -> mov @(disp:16,ERx). * ld-h8300/relax-7b.s: New: Likewise. * ld-h8300/relax-7.d: New: expected disassembly. * config/tc-h8300.c (do_a_fix_imm): Add relaxation of mov @(disp:32,ERx) to mov @(disp:16,ERx) insns by new reloc R_H8_DISP32A16. * config/tc-h8300.h: Remove duplicated defines.
2013-03-21 * coffgen.c (coff_real_object_p): Make global.Kai Tietz4-10/+56
* peicode.h (coff_real_object_p): Add prototype. (FILHDR): Defined for COFF_IMAGE_WITH_PE as external_PEI_IMAGE_hdr structure. (coff_swap_filehdr_in): Handle variable header-size. * peXXigen.c (_bfd_XXi_swap_aouthdr_in): Just handle amount of directory-entiries as specified in pe-header.
2013-03-21 PR sim/15286Nick Clifton2-0/+20
* elf32-arm.c (bfd_arm_get_mach_from_attributes): Identify XScale, iWMMXt and iWMMXt2 processors from attributes.
2013-03-20daily updateAlan Modra1-1/+1
2013-03-20bfd/Alan Modra2-0/+10
* elflink.c (_bfd_elf_make_dynamic_reloc_section): Override sh_type according to is_rela. ld/testsuite/ * ld-elf/rel.c, ld-elf/relmain.c, ld-elf/relmain.out: New test. * ld-elf/shared.exp: Build and run it.
2013-03-19daily updateAlan Modra1-1/+1
2013-03-19daily updateAlan Modra1-1/+1
2013-03-18 PR ld/12549Alan Modra2-2/+8
bfd/ * elflink.c (elf_link_add_object_symbols): Exclude weak refs when considering whether an --as-needed library is needed. ld/ * ld.texinfo (--as-needed): Update. ld/testsuite/ * ld-elf/pr14862.out: Expect no output.
2013-03-17daily updateAlan Modra1-1/+1
2013-03-16daily updateAlan Modra1-1/+1
2013-03-15daily updateAlan Modra1-1/+1
2013-03-14daily updateAlan Modra1-1/+1
2013-03-14gdbTom Tromey3-8/+19
* symfile.c (get_debug_link_info): Remove. (find_separate_debug_file_by_debuglink): Use bfd_get_debug_link_info. bfd * opncls.c (bfd_get_debug_link_info): Rename from get_debug_link_info. Export. Update comment. (find_separate_debug_file): Update. * bfd-in2.h: Rebuild.
2013-03-13daily updateAlan Modra1-1/+1
2013-03-12daily updateAlan Modra1-1/+1
2013-03-11daily updateAlan Modra1-1/+1
2013-03-10daily updateAlan Modra1-1/+1
2013-03-09daily updateAlan Modra1-1/+1
2013-03-08daily updateAlan Modra1-1/+1
2013-03-08 * elf64-aarch64.c (elf_backend_can_gc_sections): EnableNick Clifton2-2/+140
gc-section support. (elf64_aarch64_gc_sweep_hook): Handle GOT, TLS and PLT related relocs. * lib/ld-lib.exp (check_gc_sections_available): Remove aarch64 from list of targets that don't support gc-section.
2013-03-08 * elf-bfd.h (elfcore_write_s390_tdb): Add prototype.Nick Clifton3-7/+39
* elf.c (elfcore_write_s390_tdb): New function. (elfcore_write_register_note): Call it. (elfcore_grok_s390_tdb): New function. (elfcore_grok_note): Call it. * readelf.c (get_note_type): Add NT_S390_TDB.
2013-03-08 * elfxx-mips.c (mips_elf_allocate_lazy_stub): Correct data type.Maciej W. Rozycki2-1/+5
2013-03-07daily updateAlan Modra1-1/+1
2013-03-06daily updateAlan Modra1-1/+1
2013-03-05daily updateAlan Modra1-1/+1
2013-03-05 * config.bfd: Add x86_64-*-cygwin to list of supported targets.Corinna Vinschen2-1/+5
2013-03-04daily updateAlan Modra1-1/+1
2013-03-04 * elf32-ppc.c (ppc_elf_relocate_section <R_PPC_PLTREL24>): AdjustAlan Modra2-29/+39
non-zero addends when relocatable, rather than addends >= 32768. Always zero "addend" before applying relocation.
2013-03-04 * archive64.c (bfd_elf64_archive_write_armap): Fix calculation ofNick Clifton2-6/+12
file pointer offsets for thin archives.
2013-03-03daily updateAlan Modra1-1/+1
2013-03-02daily updateAlan Modra1-1/+1
2013-03-01daily updateAlan Modra1-1/+1
2013-02-28daily updateAlan Modra1-1/+1
2013-02-28 bfd/Julian Brown2-7/+16
* elf32-arm.c (elf32_arm_size_dynamic_sections): Don't call elf32_arm_allocate_dynrelocs for source reloc for non-dynamic link. ld/testsuite/ * ld-arm/tls-local-static.s: New test. * ld-arm/tls-local-static.d: New. * ld-arm/arm-elf.exp (tls-local-static): Add test.
2013-02-27daily updateAlan Modra1-1/+1
2013-02-27* reloc.c (BFD_RELOC_RL78_CODE): Add.DJ Delorie5-0/+14
* libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * elf32-rl78.c (rl78_elf_relocate_section): Handle weak code references in compuated relocs. * config/tc-rl78.c (reloc_function): Add %code -> BFD_RELOC_RL78_CODE. (rl78_op): Handle %code(). (rl78_cons_fix_new): Likewise, but ignore for 20-bit operands. (tc_gen_reloc): Likwise; convert to a computed reloc. (md_apply_fix): Likewise.
2013-02-26daily updateAlan Modra1-1/+1
2013-02-26Tweak moxie-rtems triplet recognitionAnthony Green2-1/+5
2013-02-25daily updateAlan Modra1-1/+1
2013-02-24daily updateAlan Modra1-1/+1
2013-02-23daily updateAlan Modra1-1/+1
2013-02-22daily updateAlan Modra1-1/+1
2013-02-22Set unique_global only for definitionH.J. Lu3-7/+16
bfd/ PR ld/15167 * elf64-ia64-vms.c (elf64_vms_link_add_object_symbols): Set unique_global only for definition. * elflink.c (_bfd_elf_merge_symbol): Don't set unique_global here. (elf_link_add_object_symbols): Set unique_global only for definition. ld/testsuite/ PR ld/15167 * ld-unique/unique.exp: Add a test for shared library with reference.