summaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2015-06-04Hardcode host-specific name for LTO pluginHEADtizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_wearable/20150617.000001submit/tizen_tv/20150617.000001submit/tizen_mobile/20150617.000001submit/tizen_common/20150617.082114submit/tizen_base/20151223.111112submit/tizen_base/20151223.111111submit/tizen_3.0.2015.q2_common/20150617.082128accepted/tizen/wearable/20150618.093518accepted/tizen/tv/20150618.103536accepted/tizen/mobile/20150618.112654accepted/tizen/common/20150617.115454accepted/tizen/base/20151223.052217accepted/tizen/3.0.2015.q2/common/20150617.115425tizen_base_oldtizen_3.0.m1_tvtizen_3.0.m1_mobiletizen_3.0.2015.q2_commontizensandbox/v.orazov/enable_gdb1accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_commonaccepted/tizen_3.0.2015.q2_commonNikolay Bozhenov1-0/+8
Otherwise, binutils can try to use plugin for different architecture. Change-Id: I3070e774ec7f8494241fe52b7aee6d3ba3acef06
2014-12-23Add generated files.upstream/2.25binutils-2_25upstream-2.25Tristan Gingold38-0/+24647
2014-12-23Version 2.25Tristan Gingold3-11/+16
bfd/ 2014-12-23 Tristan Gingold <gingold@adacore.com> * version.m4: Bump version to 2.25 * configure: Regenerate. binutils/ 2014-12-23 Tristan Gingold <gingold@adacore.com> * configure: Regenerate. gas/ 2014-12-23 Tristan Gingold <gingold@adacore.com> * configure: Regenerate. gprof/ 2014-12-23 Tristan Gingold <gingold@adacore.com> * configure: Regenerate. ld/ 2014-12-23 Tristan Gingold <gingold@adacore.com> * configure: Regenerate. opcodes/ 2014-12-23 Tristan Gingold <gingold@adacore.com> * configure: Regenerate.
2014-12-23Automatic date update in version.inGDB Administrator1-1/+1
2014-12-22Automatic date update in version.inGDB Administrator1-1/+1
2014-12-21Automatic date update in version.inGDB Administrator1-1/+1
2014-12-20Automatic date update in version.inGDB Administrator1-1/+1
2014-12-19[MIPS] When calculating a relocation using an undefined weak symbol don't ↵Andrew Bennett2-11/+27
check for overflow. In MIPS the relocation calculation only ignores the overflow checks for undefined weak symbols on relocations associated with j/jal. This patch extends this to the relocations used by the: b* instructions; pc/gp relative symbol offsets; and the lwpc/ldpc MIPS r6 instructions. bfd/ * elfxx-mips.c (mips_elf_calculate_relocation): Only check for overflow on non-weak undefined symbols. ld/testsuite/ * ld-mips-elf/mips-elf.exp: Add in undefined weak overflow tests for o32, n32 and n64. * ld-mips-elf/undefweak-overflow.s: New test. * ld-mips-elf/undefweak-overflow.d: New test. * ld-mips-elf/undefweak-overflow-n32.d: New test. * ld-mips-elf/undefweak-overflow-n64.d: New test.
2014-12-19Automatic date update in version.inGDB Administrator1-1/+1
2014-12-18Automatic date update in version.inGDB Administrator1-1/+1
2014-12-17Automatic date update in version.inGDB Administrator1-1/+1
2014-12-16Automatic date update in version.inGDB Administrator1-1/+1
2014-12-15Check corrupt inputH.J. Lu2-0/+11
PR ld/17713 * elflink.c (_bfd_elf_gc_mark_rsec): Check corrupt input.
2014-12-15Automatic date update in version.inGDB Administrator1-1/+1
2014-12-13Handle weak alias for PIE with copy relocH.J. Lu2-7/+42
When there is a weak symbol with a real definition, the processor independent code will have arranged for us to see the real definition first. We need to copy the needs_copy bit from the real definition and check it when allowing copy reloc in PIE. bfd/ PR ld/17689 * elf64-x86-64.c (elf_x86_64_link_hash_entry): Add needs_copy. Change has_bnd_reloc to bit field. (elf_x86_64_link_hash_newfunc): Initialize needs_copy and has_bnd_reloc to 0. (elf_x86_64_check_relocs): Set has_bnd_reloc to 1 instead of TRUE. (elf_x86_64_adjust_dynamic_symbol): Copy needs_copy from the real definition to a weak symbol. (elf_x86_64_allocate_dynrelocs): Also check needs_copy of a weak symbol for PIE when discarding space for relocs against symbols which turn out to need copy relocs. (elf_x86_64_relocate_section): Also check needs_copy of a weak symbol for PIE with copy reloc. ld/testsuite/ PR ld/17689 * ld-x86-64/pr17689.out: New file. * ld-x86-64/pr17689.rd: Likewise. * ld-x86-64/pr17689a.c: Likewise. * ld-x86-64/pr17689b.S: Likewise. * ld-x86-64/x86-64.exp: Run PR ld/17689 tests.
2014-12-14Automatic date update in version.inGDB Administrator1-1/+1
2014-12-13Automatic date update in version.inGDB Administrator1-1/+1
2014-12-12Automatic date update in version.inGDB Administrator1-1/+1
2014-12-11Automatic date update in version.inGDB Administrator1-1/+1
2014-12-10Don't access elf tdata in dwarf.c without first checking for an ELF bfdAlan Modra2-2/+11
_bfd_dwarf2_find_nearest_line may be called on a COFF bfd. * dwarf2.c (read_address): Check bfd_target_elf_flavour before calling get_elf_backend_data. (_bfd_dwarf2_find_nearest_line): Fix parens.
2014-12-10Automatic date update in version.inGDB Administrator1-1/+1
2014-12-09Automatic date update in version.inGDB Administrator1-1/+1
2014-12-08Automatic date update in version.inGDB Administrator1-1/+1
2014-12-07Automatic date update in version.inGDB Administrator1-1/+1
2014-12-06Automatic date update in version.inGDB Administrator1-1/+1
2014-12-05Define bfd_elf32_get_synthetic_symtab for x32H.J. Lu2-0/+6
* elf64-x86-64.c (bfd_elf32_get_synthetic_symtab): New.
2014-12-04Add _bfd_elf_ifunc_get_synthetic_symtabH.J. Lu5-191/+292
In i386 and x86-64 binaries with ifunc, relocations against .got.plt section may not be in the same order as entries in PLT section. This patch adds _bfd_elf_ifunc_get_synthetic_symtab. It takes a function pointer which returns an array of PLT entry symbol values. It calls the function pointer to get the PLT entry symbol value array indexed by relocation index, instead of calling plt_sym_val on each relocation index. PR binutils/17677 * elf-bfd.h (_bfd_elf_ifunc_get_synthetic_symtab): New prototype. * elf-ifunc.c (_bfd_elf_ifunc_get_synthetic_symtab): New function. * elf32-i386.c (elf_i386_plt_sym_val): Removed. (elf_backend_plt_sym_val): Likewise. (elf_i386_get_plt_sym_val): New. (elf_i386_get_synthetic_symtab): Likewise. (bfd_elf32_get_synthetic_symtab): Likewise. * elf64-x86-64.c (elf_x86_64_plt_sym_val): Removed. (elf_x86_64_plt_sym_val_offset_plt_bnd): Likewise. (elf_backend_plt_sym_val): Likewise. (elf_x86_64_get_plt_sym_val): New. (elf_x86_64_get_synthetic_symtab): Use _bfd_elf_ifunc_get_synthetic_symtab. (bfd_elf64_get_synthetic_symtab): Don't undefine for NaCl.
2014-12-05Automatic date update in version.inGDB Administrator1-1/+1
2014-12-04Automatic date update in version.inGDB Administrator1-1/+1
2014-12-03Reformat elf_x86_64_create_dynamic_sectionsH.J. Lu2-2/+5
* elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Reformat.
2014-12-03X86-64: Allow copy relocs for building PIEH.J. Lu2-20/+76
This patch allows copy relocs for non-GOT pc-relative relocation in PIE. bfd/ * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Always allow copy relocs for building executables. (elf_x86_64_adjust_dynamic_symbol): Allocate copy relocs for PIE. (elf_x86_64_allocate_dynrelocs): For PIE, discard space for relocs against symbols which turn out to need copy relocs. (elf_x86_64_relocate_section): Don't copy a pc-relative relocation into the output file if the symbol needs copy reloc. ld/testsuite/ * ld-x86-64/copyreloc-lib.c: New file. * ld-x86-64/copyreloc-main.c: Likewise. * ld-x86-64/copyreloc-main.out: Likewise. * ld-x86-64/copyreloc-main1.rd: Likewise. * ld-x86-64/copyreloc-main2.rd: Likewise. * ld-x86-64/x86-64.exp: Run copyreloc tests.
2014-12-03Automatic date update in version.inGDB Administrator1-1/+1
2014-12-02Automatic date update in version.inGDB Administrator1-1/+1
2014-12-01Automatic date update in version.inGDB Administrator1-1/+1
2014-11-30Don't output symbol version definitions for non-DT_NEEDED libsAlan Modra2-2/+13
PR 16452, 16457 * elflink.c (_bfd_elf_link_find_version_dependencies): Exclude symbols from libraries that won't be listed in DT_NEEDED. (elf_link_output_extsym): Don't output verdefs for such symbols.
2014-11-30Automatic date update in version.inGDB Administrator1-1/+1
2014-11-29Automatic date update in version.inGDB Administrator1-1/+1
2014-11-28Automatic date update in version.inGDB Administrator1-1/+1
2014-11-27Automatic date update in version.inGDB Administrator1-1/+1
2014-11-26Automatic date update in version.inGDB Administrator1-1/+1
2014-11-25Automatic date update in version.inGDB Administrator1-1/+1
2014-11-24[AArch64] Cortex-A53 Erratum 835769 -- sort mapsJiong Wang2-0/+32
2014-11-24 Tejas Belagod <tejas.belagod@arm.com> bfd/ * elfnn-aarch64.c (elf_aarch64_compare_mapping): New. (erratum_835769_scan): Sort map list.
2014-11-24PowerPC64 --plt-alignAlan Modra2-1/+5
Alignment of plt stubs was broken, firstly because the option was being dropped due to the alignment value not being set in the "params" struct used in elf64-ppc.c, and secondly due to not calculating the number of alignment boundary crossings correctly. bfd/ * elf64-ppc.c (plt_stub_pad): Correct. ld/ * ld.texinfo: Correct --plt-align documentation. * emultempl/ppc64elf.em (plt_stub_align): Delete. Use and set params.plt_stub_align instead.
2014-11-24Automatic date update in version.inGDB Administrator1-1/+1
2014-11-23Automatic date update in version.inGDB Administrator1-1/+1
2014-11-22Automatic date update in version.inGDB Administrator1-1/+1
2014-11-21Automatic date update in version.inGDB Administrator1-1/+1
2014-11-20PPC gold doesn't check for overflow properlyAlan Modra2-1/+6
Corrects overflow test for rel14, addr14, rel24, addr24 branch relocs, and prints an information message to give a hint as to how a branch that can't reach a stub might be cured. bfd/ * elf64-ppc.c (group_sections): Init stub14_group_size from --stub-group-size parameter divided by 1024. gold/ * powerpc.cc (Stub_control::Stub_control): Init stub14_group_size_ from --stub-group-size parameter divided by 1024. (Powerpc_relocate_functions::rela, rela_ua): Add fieldsize template parameter. Update all uses. (Target_powerpc::Relocate::relocate): Rename has_plt_value to has_stub_value. Set for long branches. Don't report overflow for branch to undefined weak symbols. Print info message on overflowing branch to stub.
2014-11-20ppc476 workaround sizingAlan Modra2-1/+6
* elf32-ppc.c (ppc_elf_relax_section): Correct ppc476 workaround alignment calculation.
2014-11-20Automatic date update in version.inGDB Administrator1-1/+1