aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-11-21bfd/binutils-2_22binutils-2_22_branchTristan Gingold5-4/+10
2011-11-21 Tristan Gingold <gingold@adacore.com> * configure.in: Bump version to 2.22 * Makefile.am (RELEASE): Set. * configure, Makefile.in: Regenerate.
2011-11-21Merge of:Tristan Gingold2-1/+9
CVSROOT: /cvs/src Module name: src Changes by: dougkwan@sourceware.org 2011-11-11 21:49:36 Modified files: gold : ChangeLog arm.cc Log message: 2011-11-11 Doug Kwan <dougkwan@google.com> * arm.cc (Target_arm::do_make_elf_object): Allow executable also if --just-symbols is given.
2011-11-21Merge of:Tristan Gingold3-5/+51
CVSROOT: /cvs/src Module name: src Changes by: dougkwan@sourceware.org 2011-11-10 20:53:36 Modified files: gold : ChangeLog arm.cc reloc.h Log message: 2011-11-10 Doug Kwan <dougkwan@google.com> PR gold/13362 * arm.cc (Target_arm::Relocate::relocate_tls): Do unaligned accesses when processing data relocs. * reloc.h (Relocate_functions::rel_unaligned): New method. (Relocate_functions::pcrel_unaligned): Ditto. (Relocate_functions::rel32_unaligned): Ditto. (Relocate_functions::pcrel32_unaligned): Ditto.
2011-11-21Merge ofTristan Gingold6-4/+56
CVSROOT: /cvs/src Module name: src Changes by: dougkwan@sourceware.org 2011-11-10 00:41:53 Modified files: gold : ChangeLog arm.cc reloc.h target-reloc.h gold/testsuite : Makefile.am Makefile.in arm_unaligned_reloc.sh Log message: 2011-11-09 Doug Kwan <dougkwan@google.com> PR gold/13362 * arm.cc (Arm_scan_relocatable_relocs::Default_scan_relocatable_relocs): Use unaligned 4-byte relocs for static 32-bit data as required by EABI. * reloc.h (Relocatable_relocs::Reloc_strategy): New enum RELOC_ADJUST_FOR_SECTION_4_UNALIGNED. (Relocate_functions::rel_unaligned): New. (Relocate_functions::rel32_unaligned): New. * target-reloc.h (relocate_for_relocatable): Add code to handle RELOC_ADJUST_FOR_SECTION_4_UNALIGNED. * testsuite/Makefile.am (arm_unaligned_reloc_r.stdout, arm_unaligned_reloc_r): New targets. * testsuite/Makefile.in: Regenerate. * arm_unaligned_reloc.sh: Check unaligned relocs in relocatable linking.
2011-11-20daily updateAlan Modra1-1/+1
2011-11-19daily updateAlan Modra1-1/+1
2011-11-18daily updateAlan Modra1-1/+1
2011-11-17daily updateAlan Modra1-1/+1
2011-11-16daily updateAlan Modra1-1/+1
2011-11-16 Backport from mainline:Maxim Kuvyrkov2-3/+10
2011-11-14 Maxim Kuvyrkov <maxim@codesourcery.com> * elfxx-mips.c (mips_n64_exe_plt0_entry): Use 64-bit move.
2011-11-15daily updateAlan Modra1-1/+1
2011-11-15 Apply mainline patches.Matthew Gretton-Dann5-42/+463
2011-11-02 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> * gold/arm.cc (Target_arm::may_use_v5t_interworking): Check whether we are working around the ARM1176 Erratum. * gold/options.h (General_options::fix_arm1176): Add option. * gold/testsuite/Makefile.am: Add testcases, and keep current ones working. * gold/testsuite/Makefile.in: Regenerate. * gold/testsuite/arm_fix_1176.s: New file. * gold/testsuite/arm_fix_1176.sh: Likewise. 2011-11-02 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> * gold/arm.cc (Target_arm::Target_arm): Remove initialisation of may_use_blx_. (Target_arm::may_use_blx): Remove method. (Target_arm::set_may_use_blx): Likewise. (Target_arm::may_use_v4t_interworking): New method. (Target_arm::may_use_v5t_interworking): Likewise. (Target_arm::may_use_blx_): Remove member variable. (Arm_relocate_functions::arm_branch_common): Check for v5T interworking. (Arm_relocate_functions::thumb_branch_common): Likewise. (Reloc_stub::stub_type_for_reloc): Likewise. (Target_arm::do_finalize_sections): Correct interworking checks. * gold/testsuite/Makefile.am: Add new tests. * gold/testsuite/Makefile.in: Regenerate. * gold/testsuite/arm_farcall_arm_arm.s: New test. * gold/testsuite/arm_farcall_arm_arm.sh: Likewise. * gold/testsuite/arm_farcall_arm_thumb.s: Likewise. * gold/testsuite/arm_farcall_arm_thumb.sh: Likewise. * gold/testsuite/arm_farcall_thumb_arm.s: Likewise. * gold/testsuite/arm_farcall_thumb_arm.sh: Likewise. * gold/testsuite/arm_farcall_thumb_thumb.s: Likewise. * gold/testsuite/arm_farcall_thumb_thumb.sh: Likewise.
2011-11-15 Apply mainline patchesMaciej W. Rozycki2-4/+24
2011-11-15 Maciej W. Rozycki <macro@codesourcery.com> * write.c (dump_section_relocs): Don't convert PC-relative relocs that have an in-place addend narrower than the addresses used.
2011-11-15 * elflink.c (_bfd_elf_create_got_section): ReplaceAlan Modra3-39/+48
bfd_make_section_with_flags with bfd_make_section_anyway_with_flags. (_bfd_elf_link_create_dynamic_sections): Likewise. * elf32-ppc.c (ppc_elf_create_glink): Likewise. (ppc_elf_create_dynamic_sections): Likewise.
2011-11-14daily updateAlan Modra1-1/+1
2011-11-14 gas/Maciej W. Rozycki4-3/+20
Apply mainline patches 2011-11-14 Maciej W. Rozycki <macro@codesourcery.com> * config/tc-mips.c (can_swap_branch_p): Exclude microMIPS variant frags too. gas/testsuite/ Apply mainline patches 2011-11-14 Maciej W. Rozycki <macro@codesourcery.com> * gas/mips/relax-swap3.d: New test. * gas/mips/mips16@relax-swap3.d: Likewise. * gas/mips/micromips@relax-swap3.d: Likewise. * gas/mips/relax-swap3.s: New test source. * gas/mips/mips.exp: Run the new tests.
2011-11-14This commit was manufactured by cvs2svn to create branch 'binutils-nobody4-0/+72
2_22-branch'. Cherrypick from master 2011-11-14 13:43:23 UTC Maciej W. Rozycki <macro@linux-mips.org> ' gas/': gas/testsuite/gas/mips/micromips@relax-swap3.d gas/testsuite/gas/mips/mips16@relax-swap3.d gas/testsuite/gas/mips/relax-swap3.d gas/testsuite/gas/mips/relax-swap3.s
2011-11-13daily updateAlan Modra1-1/+1
2011-11-12daily updateAlan Modra1-1/+1
2011-11-11daily updateAlan Modra1-1/+1
2011-11-10daily updateAlan Modra1-1/+1
2011-11-10 Apply mainline patches.Matthew Gretton-Dann2-1/+7
2011-11-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> * ld/testsuite/ld-arm/jump-reloc-veneers.s: Update for changes to assembler output.
2011-11-09daily updateAlan Modra1-1/+1
2011-11-08daily updateAlan Modra1-1/+1
2011-11-08 * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Mark syms inAlan Modra2-1/+6
executables when export_dynamic.
2011-11-08bfd/Alan Modra4-38/+95
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Rename ha_relocs_not_using_r2 to unexpected_toc_insn. (ok_lo_toc_insn): New function. (ppc64_elf_edit_toc): Check insn on lo toc reloc. Emit warning. (ppc64_elf_relocate_section): Don't check insn on lo toc reloc here. Handle addic on lo toc reloc. ld/testsuite/ * ld-powerpc/powerpc.exp: Expect ld warnings for tocopt test. * ld-powerpc/tocopt.out: New file.
2011-11-08This commit was manufactured by cvs2svn to create branch 'binutils-nobody11-0/+390
2_22-branch'. Cherrypick from master 2011-11-08 13:06:03 UTC Alan Modra <amodra@gmail.com> 'bfd/': gold/testsuite/arm_farcall_arm_arm.s gold/testsuite/arm_farcall_arm_arm.sh gold/testsuite/arm_farcall_arm_thumb.s gold/testsuite/arm_farcall_arm_thumb.sh gold/testsuite/arm_farcall_thumb_arm.s gold/testsuite/arm_farcall_thumb_arm.sh gold/testsuite/arm_farcall_thumb_thumb.s gold/testsuite/arm_farcall_thumb_thumb.sh gold/testsuite/arm_fix_1176.s gold/testsuite/arm_fix_1176.sh ld/testsuite/ld-powerpc/tocopt.out
2011-11-07daily updateAlan Modra1-1/+1
2011-11-07 Apply mainline patchesMatthew Gretton-Dann3-0/+12
2011-11-07 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> * gas/config/tc-arm.c (arm_cpus): Add cortex-a7 entry. * gas/doc/c-arm.texi (ARM Options): Add cortex-a7 to list of accepted CPUs.
2011-11-06daily updateAlan Modra1-1/+1
2011-11-05daily updateAlan Modra1-1/+1
2011-11-04daily updateAlan Modra1-1/+1
2011-11-03daily updateAlan Modra1-1/+1
2011-11-02daily updateAlan Modra1-1/+1
2011-11-02 ld:Rainer Orth2-1/+9
Backport from mainline: 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * configure.tgt (x86_64-*-solaris2*): Use $targ_extra_emuls for targ_extra_libpath.
2011-11-01daily updateAlan Modra1-1/+1
2011-10-31daily updateAlan Modra1-1/+1
2011-10-30daily updateAlan Modra1-1/+1
2011-10-29daily updateAlan Modra1-1/+1
2011-10-28daily updateAlan Modra1-1/+1
2011-10-27daily updateAlan Modra1-1/+1
2011-10-27opcodes/Peter Bergner2-14/+21
* ppc-opc.c (powerpc_opcodes) <drrndq, drrndq., dtstexq, dctqpq, dctqpq., dctfixq, dctfixq., dxexq, dxexq., dtstsfq, dcffixq, dcffixq., diexq, diexq.>: Use FRT, FRA, FRB and FRBp repsectively on DFP quad instructions.
2011-10-26daily updateAlan Modra1-1/+1
2011-10-25daily updateAlan Modra1-1/+1
2011-10-25 PR ld/13287Alan Modra4-1/+22
2011-10-20 Alan Modra <amodra@gmail.com> * plugin.c (plugin_should_reload): New function. * plugin.h (plugin_should_reload): Declare. * ldlang.c (open_input_bfds): Use above function.
2011-10-25 2011-10-20 Alan Modra <amodra@gmail.com>Alan Modra3-37/+19
* elf32-i386.c (i386_opcode16): Delete. (elf_i386_check_tls_transition): Use memcmp to compare contents. * elf64-x86-64.c (x86_64_opcode16, x86_64_opcode32): Delete. (elf_x86_64_check_tls_transition): Use memcmp to compare contents.
2011-10-25 PR ld/13311Alan Modra2-2/+8
2011-10-19 Alan Modra <amodra@gmail.com> * elflink.c (elf_link_output_extsym): Correct test for warning when forced local executable syms are referenced from shared libraries.
2011-10-25 PR ld/13254Alan Modra6-3/+31
include/ 2011-10-19 Alan Modra <amodra@gmail.com> * bfdlink.h (struct bfd_link_info): Add error_textrel. bfd/ 2011-10-19 Alan Modra <amodra@gmail.com> * elflink.c (bfd_elf_final_link): Emit error_textrel error. ld/ 2011-10-19 Alan Modra <amodra@gmail.com> * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add -z text, -z notext, -z textoff options for all targets having shared lib support.
2011-10-25 PR ld/12975Alan Modra2-1/+10
PR ld/13195 2011-10-17 Alan Modra <amodra@gmail.com> * elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Apply 2011-09-15 and 2011-09-29 bfd_elf_gc_mark_dynamic_ref_symbol changes here too.
2011-10-25 PR binutils/13278Alan Modra2-3/+11
2011-10-16 H.J. Lu <hongjiu.lu@intel.com> * ar.c (open_inarch): Set the target from the the first object on the list only if it isn't set.