]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
13 years agodaily update
Alan Modra [Wed, 14 Dec 2011 23:00:12 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Tue, 13 Dec 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Mon, 12 Dec 2011 23:00:09 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sun, 11 Dec 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agoBackport from mainline:
David Daney [Sun, 11 Dec 2011 02:28:11 +0000 (02:28 +0000)] 
Backport from mainline:

2011-12-10  David Daney  <david.daney@cavium.com>

* elfxx-mips.c (mips_elf_link_hash_table.rld_value): Remove.
(mips_elf_link_hash_table.rld_symbol): New field;
(MIPS_ELF_RLD_MAP_SIZE): New macro.
(_bfd_mips_elf_add_symbol_hook): Remember __rld_obj_head symbol
in rld_symbol.
(_bfd_mips_elf_create_dynamic_sections): Remember __rld_map symbol
in rld_symbol.
(_bfd_mips_elf_size_dynamic_sections): Set correct size for .rld_map.
(_bfd_mips_elf_finish_dynamic_symbol): Remove .rld_map handling.
(_bfd_mips_elf_finish_dynamic_sections): Use rld_symbol to
calculate DT_MIPS_RLD_MAP value.
(_bfd_mips_elf_link_hash_table_create): Initialize rld_symbol,
quit initializing rld_value.

13 years agodaily update
Alan Modra [Sat, 10 Dec 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Fri, 9 Dec 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Thu, 8 Dec 2011 23:00:12 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Wed, 7 Dec 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Tue, 6 Dec 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Mon, 5 Dec 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sun, 4 Dec 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sat, 3 Dec 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years ago PR ld/13468
Alan Modra [Sat, 3 Dec 2011 10:29:18 +0000 (10:29 +0000)] 
PR ld/13468
* elflink.c (bfd_elf_final_link): Don't segfault when checking
for DT_TEXTREL and .dynamic does not exist.

13 years ago PR ld/13470
Alan Modra [Sat, 3 Dec 2011 00:58:02 +0000 (00:58 +0000)] 
PR ld/13470
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Revert substantive
change in 2011-07-01 commit.  Comment.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.

13 years agodaily update
Alan Modra [Fri, 2 Dec 2011 23:00:12 +0000 (23:00 +0000)] 
daily update

13 years ago2011-12-01 Mikael Pettersson <mikpe@it.uu.se>
Hans-Peter Nilsson [Fri, 2 Dec 2011 13:36:32 +0000 (13:36 +0000)] 
2011-12-01  Mikael Pettersson  <mikpe@it.uu.se>

Apply mainline patches
* elf32-m68k.c (elf_m68k_check_relocs) <R_68K_8, R68K_16, R_68K_32>: For
non-SEC_ALLOC sections break before GOT and PLT accounting.

13 years agodaily update
Alan Modra [Thu, 1 Dec 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years ago Apply mainline patches
Hans-Peter Nilsson [Thu, 1 Dec 2011 22:25:59 +0000 (22:25 +0000)] 
Apply mainline patches
* elf32-cris.c (cris_elf_check_relocs) <plt accounting for
R_CRIS_8, R_CRIS_16, and R_CRIS_32>: Move early break for
non-SEC_ALLOC sections before GOT and PLT accounting.

13 years ago * ld-cris/pic-gc-72.d: Revert last change to adjust for reverted
Hans-Peter Nilsson [Thu, 1 Dec 2011 22:24:00 +0000 (22:24 +0000)] 
* ld-cris/pic-gc-72.d: Revert last change to adjust for reverted
cause for last change.

13 years agodaily update
Alan Modra [Wed, 30 Nov 2011 23:00:13 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Tue, 29 Nov 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Mon, 28 Nov 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sun, 27 Nov 2011 23:00:13 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sat, 26 Nov 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Fri, 25 Nov 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years ago * mips-dis.c (print_insn_micromips): Rename local variable iprintf
Pierre Muller [Fri, 25 Nov 2011 16:57:33 +0000 (16:57 +0000)] 
* mips-dis.c (print_insn_micromips): Rename local variable iprintf
to infprintf to avoid shadow warning.

13 years agodaily update
Alan Modra [Thu, 24 Nov 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Wed, 23 Nov 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Tue, 22 Nov 2011 23:00:09 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Mon, 21 Nov 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agobfd/
Tristan Gingold [Mon, 21 Nov 2011 13:02:08 +0000 (13:02 +0000)] 
bfd/
2011-11-21  Tristan Gingold  <gingold@adacore.com>

* configure.in: Bump version to 2.22.0
* Makefile.am (RELEASE): Unset.
* configure, Makefile.in: Regenerate.

13 years agobfd/ binutils-2_22_branch binutils-2_22
Tristan Gingold [Mon, 21 Nov 2011 12:52:28 +0000 (12:52 +0000)] 
bfd/
2011-11-21  Tristan Gingold  <gingold@adacore.com>

* configure.in: Bump version to 2.22
* Makefile.am (RELEASE): Set.
* configure, Makefile.in: Regenerate.

13 years agoMerge of:
Tristan Gingold [Mon, 21 Nov 2011 09:40:39 +0000 (09:40 +0000)] 
Merge of:
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.

13 years agoMerge of:
Tristan Gingold [Mon, 21 Nov 2011 09:39:58 +0000 (09:39 +0000)] 
Merge of:
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.

13 years agoMerge of
Tristan Gingold [Mon, 21 Nov 2011 09:32:17 +0000 (09:32 +0000)] 
Merge of
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.

13 years agodaily update
Alan Modra [Sun, 20 Nov 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sat, 19 Nov 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Fri, 18 Nov 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Thu, 17 Nov 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Wed, 16 Nov 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years ago Backport from mainline:
Maxim Kuvyrkov [Wed, 16 Nov 2011 01:05:00 +0000 (01:05 +0000)] 
Backport from mainline:

2011-11-14  Maxim Kuvyrkov  <maxim@codesourcery.com>
        * elfxx-mips.c (mips_n64_exe_plt0_entry): Use 64-bit move.

13 years agodaily update
Alan Modra [Tue, 15 Nov 2011 23:00:09 +0000 (23:00 +0000)] 
daily update

13 years ago Apply mainline patches.
Matthew Gretton-Dann [Tue, 15 Nov 2011 15:31:56 +0000 (15:31 +0000)] 
Apply mainline patches.
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.

13 years ago Apply mainline patches
Maciej W. Rozycki [Tue, 15 Nov 2011 13:10:06 +0000 (13:10 +0000)] 
Apply mainline patches
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.

13 years ago * elflink.c (_bfd_elf_create_got_section): Replace
Alan Modra [Tue, 15 Nov 2011 11:36:52 +0000 (11:36 +0000)] 
* elflink.c (_bfd_elf_create_got_section): Replace
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.

13 years agodaily update
Alan Modra [Mon, 14 Nov 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years ago gas/
Maciej W. Rozycki [Mon, 14 Nov 2011 13:46:18 +0000 (13:46 +0000)] 
gas/
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.

13 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-
nobody [Mon, 14 Nov 2011 13:43:24 +0000 (13:43 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-
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

13 years agodaily update
Alan Modra [Sun, 13 Nov 2011 23:00:09 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sat, 12 Nov 2011 23:00:12 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Fri, 11 Nov 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Thu, 10 Nov 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years ago Apply mainline patches.
Matthew Gretton-Dann [Thu, 10 Nov 2011 11:25:28 +0000 (11:25 +0000)] 
Apply mainline patches.
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.

13 years agodaily update
Alan Modra [Wed, 9 Nov 2011 23:00:12 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Tue, 8 Nov 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years ago * elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Mark syms in
Alan Modra [Tue, 8 Nov 2011 13:50:26 +0000 (13:50 +0000)] 
* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Mark syms in
executables when export_dynamic.

13 years agobfd/
Alan Modra [Tue, 8 Nov 2011 13:46:37 +0000 (13:46 +0000)] 
bfd/
* 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.

13 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-
nobody [Tue, 8 Nov 2011 13:06:04 +0000 (13:06 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-
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

13 years agodaily update
Alan Modra [Mon, 7 Nov 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years ago Apply mainline patches
Matthew Gretton-Dann [Mon, 7 Nov 2011 16:25:18 +0000 (16:25 +0000)] 
Apply mainline patches
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.

13 years agodaily update
Alan Modra [Sun, 6 Nov 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sat, 5 Nov 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Fri, 4 Nov 2011 23:00:16 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Thu, 3 Nov 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Wed, 2 Nov 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years ago ld:
Rainer Orth [Wed, 2 Nov 2011 15:49:39 +0000 (15:49 +0000)] 
ld:
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.

13 years agodaily update
Alan Modra [Tue, 1 Nov 2011 23:00:13 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Mon, 31 Oct 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sun, 30 Oct 2011 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sat, 29 Oct 2011 23:00:12 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Fri, 28 Oct 2011 23:00:12 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Thu, 27 Oct 2011 23:00:09 +0000 (23:00 +0000)] 
daily update

13 years agoopcodes/
Peter Bergner [Thu, 27 Oct 2011 15:47:25 +0000 (15:47 +0000)] 
opcodes/
        * 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.

13 years agodaily update
Alan Modra [Wed, 26 Oct 2011 23:00:09 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Tue, 25 Oct 2011 23:06:44 +0000 (23:06 +0000)] 
daily update

13 years ago PR ld/13287
Alan Modra [Tue, 25 Oct 2011 03:15:08 +0000 (03:15 +0000)] 
PR ld/13287
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.

13 years ago 2011-10-20 Alan Modra <amodra@gmail.com>
Alan Modra [Tue, 25 Oct 2011 03:14:16 +0000 (03:14 +0000)] 
2011-10-20  Alan Modra  <amodra@gmail.com>
* 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.

13 years ago PR ld/13311
Alan Modra [Tue, 25 Oct 2011 03:13:32 +0000 (03:13 +0000)] 
PR ld/13311
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.

13 years ago PR ld/13254
Alan Modra [Tue, 25 Oct 2011 03:12:18 +0000 (03:12 +0000)] 
PR ld/13254
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.

13 years ago PR ld/12975
Alan Modra [Tue, 25 Oct 2011 03:09:34 +0000 (03:09 +0000)] 
PR ld/12975
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.

13 years ago PR binutils/13278
Alan Modra [Tue, 25 Oct 2011 03:08:40 +0000 (03:08 +0000)] 
PR binutils/13278
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.

13 years ago 2011-10-15 Alan Modra <amodra@gmail.com>
Alan Modra [Tue, 25 Oct 2011 03:07:19 +0000 (03:07 +0000)] 
2011-10-15  Alan Modra  <amodra@gmail.com>
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check.

13 years ago 2011-10-13 Alan Modra <amodra@gmail.com>
Alan Modra [Tue, 25 Oct 2011 03:06:33 +0000 (03:06 +0000)] 
2011-10-13  Alan Modra  <amodra@gmail.com>
* as.c (main): Define .gasversion. rather than __GAS_VERSION__.
* frags.h (bss_address_frag): Delete
(predefined_address_frag): New.
* frags.c (frag_init): Init predefined_address_frag.  Delete ref
to bss_address_frag.
* symbols.c (S_CAN_BE_REDEFINED): New function.
* symbols.h (S_CAN_BE_REDEFINED): Declare.
* read.c (assign_symbol): Use S_CAN_BE_REDEFINED.

2011-10-12  Alan Modra  <amodra@gmail.com>
* symbols.c (local_symbol_make): Make global.
* symbols.h (local_symbol_make): Declare.
* as.c (main): Define __GAS_VERSION__.

13 years ago PR binutils/13278
Alan Modra [Tue, 25 Oct 2011 03:04:34 +0000 (03:04 +0000)] 
PR binutils/13278
2011-10-11  Alan Modra  <amodra@gmail.com>
* archive.c (bfd_generic_archive_p): Only check first element
when target_defaulted.
(_bfd_construct_extended_name_table): Use ar_maxnamelen.
(_bfd_archive_bsd44_construct_extended_name_table): Likewise.

13 years ago PR binutils/13257
Alan Modra [Tue, 25 Oct 2011 03:03:14 +0000 (03:03 +0000)] 
PR binutils/13257
2011-10-11  Alan Modra  <amodra@gmail.com>
* archive.c (_bfd_find_nested_archive, _bfd_get_elt_at_filepos): Open
thin archive element using container target if not defaulted.

13 years agobfd/
Alan Modra [Tue, 25 Oct 2011 03:01:42 +0000 (03:01 +0000)] 
bfd/
2011-10-10  Alan Modra  <amodra@gmail.com>
* elf64-ppc.c (ppc64_elf_howto_table): Add R_PPC64_TOCSAVE entry.
(struct ppc_link_hash_table): Add tocsave_htab.
(struct tocsave_entry): New.
(tocsave_htab_hash, tocsave_htab_eq, tocsave_find): New functions.
(ppc64_elf_link_hash_table_create): Create tocsave_htab..
(ppc64_elf_link_hash_table_free): ..and delete it.
(build_plt_stub): Always put STD_R2_40R1 first.
(ppc64_elf_size_stubs): Check for R_PPC64_TOCSAVE following reloc
on plt call.  If present add prologue nop location to tocsave_htab.
(ppc64_elf_relocate_section): Convert prologue nop to std.  Skip
first insn of plt call stub when R_PPC64_TOCSAVE present.
include/elf/
2011-10-10  Alan Modra  <amodra@gmail.com>
* ppc64.h (R_PPC64_TOCSAVE): Add.

13 years ago 2011-10-10 Alan Modra <amodra@gmail.com>
Alan Modra [Tue, 25 Oct 2011 03:00:00 +0000 (03:00 +0000)] 
2011-10-10  Alan Modra  <amodra@gmail.com>
* ldmain.c (main): Move code twiddling various config and link_info
bits to..
* lexsup.c (parse_args): ..here.  Move plugin_load_plugins call
into main.
* plugin.c (set_tv_header): Test link_info.executable, not
link_info.shared.
(is_visible_from_outside): Likewise.  Delete redundant
is_ir_dummy_bfd check and "section" parameter.

13 years agold/
Alan Modra [Tue, 25 Oct 2011 02:58:57 +0000 (02:58 +0000)] 
ld/
2011-10-10  Alan Modra  <amodra@gmail.com>
* emultempl/ppc64elf.em (ppc_add_stub_section): Align to 32 bytes.
ld/testsuite/
2011-10-10  Alan Modra  <amodra@gmail.com>
* ld-powerpc/relbrlt.d: Update for stub alignment change.
* ld-powerpc/tlsexe.g: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexetoc.g: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.g: Likewise.
* ld-powerpc/tlsso.r: Likewise.

13 years ago PR ld/13250
Alan Modra [Tue, 25 Oct 2011 02:57:24 +0000 (02:57 +0000)] 
PR ld/13250
bfd/
2011-10-08  H.J. Lu  <hongjiu.lu@intel.com>
* elflink.c (elf_link_add_object_symbols): Preserve the maximum
alignment and size for common symbols.
ld/testsuite/
2011-10-08  H.J. Lu  <hongjiu.lu@intel.com>
* ld-elf/shared.exp (build_tests): Add tests for PR ld/13250.
(run_tests): Likewise.
* ld-elf/pr13250-1.c: New.
* ld-elf/pr13250-2.c: Likewise.
* ld-elf/pr13250-3.c: Likewise.

13 years ago PR ld/13229
Alan Modra [Tue, 25 Oct 2011 02:54:25 +0000 (02:54 +0000)] 
PR ld/13229
PR ld/13244
Apply mainline patches
2011-10-08  Alan Modra  <amodra@gmail.com>
* elflink.c (elf_link_add_object_symbols): Don't make IR symbols
dynamic.

13 years agomissed from previous delta
Alan Modra [Tue, 25 Oct 2011 02:53:00 +0000 (02:53 +0000)] 
missed from previous delta

13 years ago Apply mainline patches
Alan Modra [Tue, 25 Oct 2011 02:52:23 +0000 (02:52 +0000)] 
Apply mainline patches
2011-10-08  Alan Modra  <amodra@gmail.com>
* elflink.c (elf_link_output_extsym): Strip defined plugin symbols
even when strip_discarded is false.

13 years ago PR ld/13229
Alan Modra [Tue, 25 Oct 2011 02:51:22 +0000 (02:51 +0000)] 
PR ld/13229
Apply mainline patches
ld/
2011-10-06  Alan Modra  <amodra@gmail.com>
* plugin.c (tv_header_tags): Add LDPT_GET_SYMBOLS_V2.
(set_tv_header): Handle it.  Adjust LDPT_GET_SYMBOLS.  Return void.
(get_symbols): Add def_ironly_exp param.  Return that value for
syms exported from shared libs.
(get_symbols_v1, get_symbols_v2): New wrapper functions.
* testplug.c: Update for above changes.
ld/testsuite/
2011-10-06  Alan Modra  <amodra@gmail.com>
* ld-plugin/plugin-1.d, * ld-plugin/plugin-2.d, * ld-plugin/plugin-3.d,
* ld-plugin/plugin-4.d, * ld-plugin/plugin-5.d, * ld-plugin/plugin-6.d,
* ld-plugin/plugin-7.d, * ld-plugin/plugin-8.d, * ld-plugin/plugin-9.d,
* ld-plugin/plugin-10.d, * ld-plugin/plugin-11.d: Update.

13 years ago Apply mainline patches
Alan Modra [Tue, 25 Oct 2011 02:48:54 +0000 (02:48 +0000)] 
Apply mainline patches
opcodes/
2011-09-28  Jan Beulich  <jbeulich@suse.com>
* ppc-opc.c (insert_nbi, insert_rbx, FRAp, FRBp, FRSp, FRTp, NBI, RAX,
RBX): New.
(insert_bo, insert_boe): Reject bcctr with bit 2 in bo unset.
(powerpc_opcodes): Use RAX for second and RBXC for third operand of
lswx. Use NBI for third operand of lswi. Use FRTp for first operand of
lfdp and lfdpx. Use FRSp for first operand of stfdp and stfdpx, and
mark them as invalid on POWER7. Use FRTp, FRAp, and FRBp repsectively
on DFP quad instructions.
gas/testsuite/
2011-09-28  Jan Beulich  <jbeulich@suse.com>
* gas/ppc/476.s: Fix lswi first operand.
* gas/ppc/476.d: Adjust expected output.
* gas/ppc/a2.s: Fix lswi first operand.
* gas/ppc/a2.d: Adjust expected output.
* gas/ppc/power6.s: Fix lfdpx first operand.
* gas/ppc/power6.d: Adjust expected output.

13 years ago PR ld/13235
Alan Modra [Tue, 25 Oct 2011 02:46:10 +0000 (02:46 +0000)] 
PR ld/13235
Apply mainline patches
bfd/
2011-09-30  Alan Modra  <amodra@gmail.com>
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add ha_relocs_not_using_r2.
(ppc64_elf_edit_toc): Check HA relocs.
(ha_reloc_match): Delete function.
(ppc64_elf_relocate_section): Remove delayed HA nop optimization.
Instead do it and low part optimization based on
ha_relocs_not_using_r2.
ld/testsuite/
2011-09-30  Alan Modra  <amodra@gmail.com>
* ld-powerpc/tocopt.d: Update.
* ld-powerpc/tocopt5.d, * ld-powerpc/tocopt5.s: New test.
* ld-powerpc/powerpc.exp: Run new test.

13 years agoinclude/
Alan Modra [Tue, 25 Oct 2011 02:43:15 +0000 (02:43 +0000)] 
include/
2011-09-26  Cary Coutant  <ccoutant@google.com>
gcc PR lto/47247
* plugin-api.h (enum ld_plugin_symbol_resolution): Add
LDPR_PREVAILING_DEF_IRONLY_EXP.
(enum ld_plugin_tag): Add LDPT_GET_SYMBOLS_V2.
gold/
2011-09-26  Cary Coutant  <ccoutant@google.com>
gcc PR lto/47247
* plugin.cc (get_symbols_v2): New function.
(Plugin::load): Add LDPT_GET_SYMBOLS_V2.
(is_referenced_from_outside): New function.
(Pluginobj::get_symbol_resolution_info): Add version parameter, return
LDPR_PREVAILING_DEF_IRONLY_EXP when using new version.
(get_symbols): Pass version parameter.
(get_symbols_v2): New function.
* plugin.h (Pluginobj::get_symbol_resolution_info): Add version
parameter.
* testsuite/plugin_test.c (get_symbols_v2): New static variable.
(onload): Add LDPT_GET_SYMBOLS_V2.
(all_symbols_read_hook): Use get_symbols_v2; check for
LDPR_PREVAILING_DEF_IRONLY_EXP.
* testsuite/plugin_test_3.sh: Update expected results.

13 years agodaily update
Alan Modra [Mon, 24 Oct 2011 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sun, 23 Oct 2011 23:00:13 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sat, 22 Oct 2011 23:00:10 +0000 (23:00 +0000)] 
daily update