]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
13 years ago PR binutils/13622
Nick Clifton [Mon, 30 Jan 2012 11:35:38 +0000 (11:35 +0000)] 
PR binutils/13622
* readelf.c (process_section_groups): If there are no section
headers do not scan for section groups.
(process_note_sections): Likewise for note sections.

13 years agodaily update
Alan Modra [Sun, 29 Jan 2012 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sat, 28 Jan 2012 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years ago Backport from mainline:
Dave Anglin [Sat, 28 Jan 2012 02:25:35 +0000 (02:25 +0000)] 
Backport from mainline:
2011-12-11  John Davis Anglin  <dave.anglin@nrc-cnrc.gc.ca>

PR binutils/13476
* elf32-hppa.c (final_link_relocate): Convert R_PARISC_TLS_GD21L,
R_PARISC_TLS_LDM21L and R_PARISC_TLS_IE21L relocations to
R_PARISC_DPREL21L when not doing a shared link.  Likewise convert
R_PARISC_TLS_GD14R, R_PARISC_TLS_LDM14R and R_PARISC_TLS_IE14R to
R_PARISC_DPREL14R.  Handle R_PARISC_TLS_GD21L, R_PARISC_TLS_LDM21L
and R_PARISC_TLS_IE21L with R_PARISC_DLTIND21L.

13 years ago Backport from mainline:
Dave Anglin [Sat, 28 Jan 2012 02:22:00 +0000 (02:22 +0000)] 
Backport from mainline:
2011-11-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

PR ld/13387
* elf32-hppa.c (elf32_hppa_hide_symbol): Make STT_GNU_IFUNC symbol
go through PLT.  Reset plt field with init_plt_offset.
(elf32_hppa_adjust_dynamic_symbol): Ensure that a PLT slot is
allocated for symbols referenced by a plabel.

13 years agodaily update
Alan Modra [Fri, 27 Jan 2012 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Thu, 26 Jan 2012 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Wed, 25 Jan 2012 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Tue, 24 Jan 2012 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Tue, 24 Jan 2012 01:22:41 +0000 (01:22 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sun, 22 Jan 2012 23:00:12 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sat, 21 Jan 2012 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Fri, 20 Jan 2012 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Thu, 19 Jan 2012 23:00:13 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Wed, 18 Jan 2012 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Tue, 17 Jan 2012 23:00:13 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Mon, 16 Jan 2012 23:00:12 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sun, 15 Jan 2012 23:00:13 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sat, 14 Jan 2012 23:00:12 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Fri, 13 Jan 2012 23:00:18 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Thu, 12 Jan 2012 23:00:11 +0000 (23:00 +0000)] 
daily update

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

13 years agodaily update
Alan Modra [Tue, 10 Jan 2012 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agoRemove ABI_64_P check on R_X86_64_PCXX
H.J. Lu [Tue, 10 Jan 2012 20:35:02 +0000 (20:35 +0000)] 
Remove ABI_64_P check on R_X86_64_PCXX

bfd/

2012-01-10  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/13581
* elf64-x86-64.c (elf_x86_64_relocate_section): Remove ABI_64_P
check on R_X86_64_PCXX.

ld/testsuite/

2012-01-10  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/13581
* ld-x86-64/ilp32-4.s: New.
* ld-x86-64/ilp32-10.d: Likewise.
* ld-x86-64/ilp32-10.s: Likewise.

* ld-x86-64/ilp32-4.d: Adjusted.
* ld-x86-64/ilp32-5.d: Likewise.
* ld-x86-64/ilp32-5.s: Likewise.

* ld-x86-64/x86-64.exp: Run ilp32-10.

13 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-
nobody [Tue, 10 Jan 2012 20:18:19 +0000 (20:18 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-
2_22-branch'.

Cherrypick from master 2012-01-10 20:18:18 UTC H.J. Lu <hjl.tools@gmail.com> 'Remove ABI_64_P check on R_X86_64_PCXX':
    ld/testsuite/ld-x86-64/ilp32-10.d
    ld/testsuite/ld-x86-64/ilp32-10.s
    ld/testsuite/ld-x86-64/ilp32-4.s

13 years agodaily update
Alan Modra [Mon, 9 Jan 2012 23:00:12 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sun, 8 Jan 2012 23:00:12 +0000 (23:00 +0000)] 
daily update

13 years agogas/
Richard Sandiford [Sun, 8 Jan 2012 12:34:31 +0000 (12:34 +0000)] 
gas/
* config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.

gas/testsuite/
* gas/mips/tls-relw.s, gas/mips/tls-relw.d: New test.
* gas/mips/mips.exp: Run it.

13 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-
nobody [Sun, 8 Jan 2012 12:33:55 +0000 (12:33 +0000)] 
This commit was manufactured by cvs2svn to create branch 'binutils-
2_22-branch'.

Cherrypick from master 2012-01-08 12:33:54 UTC Richard Sandiford <rdsandiford@googlemail.com> 'gas/':
    gas/testsuite/gas/mips/tls-relw.d
    gas/testsuite/gas/mips/tls-relw.s

13 years agodaily update
Alan Modra [Sat, 7 Jan 2012 23:00:11 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Fri, 6 Jan 2012 23:00:15 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Thu, 5 Jan 2012 23:00:12 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Tue, 3 Jan 2012 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Mon, 2 Jan 2012 23:00:10 +0000 (23:00 +0000)] 
daily update

13 years agodaily update
Alan Modra [Sun, 1 Jan 2012 23:00:10 +0000 (23:00 +0000)] 
daily update

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

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

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

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

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

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

13 years ago * emulparams/elf32bmip.sh (OTHER_SECTIONS): Put .mdebug.* and
Joseph Myers [Tue, 20 Dec 2011 18:00:04 +0000 (18:00 +0000)] 
* emulparams/elf32bmip.sh (OTHER_SECTIONS): Put .mdebug.* and
.gcc_compiled_long* sections at address 0.

13 years ago Copy from mainline to binutils 2.22 branch:
Ian Lance Taylor [Mon, 19 Dec 2011 21:14:40 +0000 (21:14 +0000)] 
Copy from mainline to binutils 2.22 branch:

2011-12-17  Cary Coutant  <ccoutant@google.com>

* dwarf_reader.cc (Sized_dwarf_line_info::read_lines): Add casts.
* resolve.cc (Symbol_table::resolve): Likewise.
* i386.cc (Target_i386::do_code_fill): Use char constants for nop
arrays.
* x86_64.cc (Target_x86_64::do_code_fill): Likewise.

2011-10-31  Cary Coutant  <ccoutant@google.com>

PR gold/13023
* expression.cc (Expression::eval_with_dot): Add
is_section_dot_assignment parameter.
(Expression::eval_maybe_dot): Likewise.  Adjust value when rhs is
absolute and assigning to dot within a section.
* script-sections.cc
(Output_section_element_assignment::set_section_addresses): Pass
dot_section to set_if_absolute.
(Output_section_element_dot_assignment::finalize_symbols): Pass TRUE
as is_section_dot_assignment flag to eval_with_dot.
(Output_section_element_dot_assignment::set_section_addresses):
Likewise.
* script.cc (Symbol_assignment::set_if_absolute): Add dot_section
parameter.  Also set value if relative to dot_section; set the
symbol's output_section.
* script.h (Expression::eval_with_dot): Add is_section_dot_assignment
parameter.  Adjust all callers.
(Expression::eval_maybe_dot): Likewise.
(Symbol_assignment::set_if_absolute): Add dot_section parameter.
Adjust all callers.
* testsuite/script_test_2.t: Test assignment of an absolute value
to dot within an output section element.

2011-10-31  Cary Coutant  <ccoutant@google.com>

* options.h (class General_options): Add --[no-]gnu-unique options.
* symtab.cc (Symbol_table::sized_write_globals): Convert
STB_GNU_UNIQUE to STB_GLOBAL if --no-gnu-unique.

2011-10-31  Cary Coutant  <ccoutant@google.com>

PR gold/13359
* i386.cc (Target_i386::Relocate::relocate_tls): Remove
unnecessary assertion.
* x86_64.cc (Target_x86_64::Relocate::relocate_tls): Likewise.

2011-10-31 Sriraman Tallam  <tmsriram@google.com>

* symtab.h (Symbol_table::gc_mark_symbol_for_shlib): Rename to
gc_mark_symbol.
* symtab.cc (Symbol_table::gc_mark_symbol_for_shlib): Rename to
gc_mark_symbol.
Change to just keep the section associated with symbol.
(Symbol_table::add_from_relobj): Mark symbols as not garbage when
they are externally visible and --export-dynamic is turned on.
(Symbol_table::gc_mark_dyn_syms): Call gc_mark_symbol.

2011-10-19  Ian Lance Taylor  <iant@google.com>

PR gold/13163
* script-sections.cc
(Output_section_element_dot_assignment::needs_output_section): New
function.

2011-10-19  Ian Lance Taylor  <iant@google.com>

PR gold/13204
* layout.cc (Layout::segment_precedes): Don't assert failure if a
--section-start option was seen.
* options.h (General_options::any_section_start): New function.

2011-10-18  Cary Coutant  <ccoutant@google.com>

* output.cc (posix_fallocate): Return 0 on success, errno on failure.
(Output_file::map_no_anonymous): Check for non-zero
return code from posix_fallocate.

2011-10-17  Cary Coutant  <ccoutant@google.com>

PR gold/13245
* plugin.cc (is_visible_from_outside): Check for symbols
referenced from dynamic objects.
* resolve.cc (Symbol_table::resolve): Don't count references
from dynamic objects as references from real ELF files.
* testsuite/plugin_test_2.sh: Adjust expected result.

2011-10-17  Cary Coutant  <ccoutant@google.com>

* readsyms.cc (Read_symbols::run): Don't queue an unblocker
task for members of lib groups.

2011-10-17  Cary Coutant  <ccoutant@google.com>

PR gold/13288
* fileread.cc (File_read::find_view): Add assert.
(File_read::make_view): Move bounds check (replace with assert)...
(File_read::find_or_make_view): ... to here.

2011-10-12  Cary Coutant  <ccoutant@google.com>

* output.cc (Output_file::open_base_file): Handle case where
::read returns less than requested size.

2011-10-10  Cary Coutant  <ccoutant@google.com>

* incremental.cc (Sized_relobj_incr::Sized_relobj_incr):
Initialize defined_count_.
(Sized_relobj_incr::do_add_symbols): Count defined symbols.
(Sized_relobj_incr::do_get_global_symbol_counts): Rewrite.
(Sized_incr_dynobj::Sized_incr_dynobj): Initialize defined_count_.
(Sized_incr_dynobj::do_add_symbols): Count defined symbols.
(Sized_incr_dynobj::do_get_global_symbol_counts): Rewrite.
* incremental.h (Sized_relobj_incr::defined_count_): New data
member.
(Sized_incr_dynobj::defined_count_): New data member.
* plugin.cc (Sized_pluginobj::do_get_global_symbol_counts):
Return zeroes instead of internal error.

2011-10-10  Cary Coutant  <ccoutant@google.com>

PR gold/13249
* output.cc (Output_reloc::Output_reloc): Add use_plt_offset flag.
(Output_reloc::symbol_value): Return PLT offset if flag is set.
* output.h (class Output_reloc): Add use_plt_offset flag.
(Output_reloc::type_): Adjust size of bit field.
(Output_reloc::use_plt_offset_): New bit field.
(class Output_data_reloc): Adjust all calls to Output_reloc_type.
(Output_data_reloc::add_local_relative): (RELA only) Add use_plt_offset
flag.  Adjust all callers.
* x86_64.cc (Target_x86_64::Scan::local): Check for IFUNC when
creating RELATIVE relocations.

2011-10-03   Diego Novillo  <dnovillo@google.com>

* options.cc (parse_uint): Fix dereference of RETVAL.

2011-09-29  Cary Coutant  <ccoutant@google.com>

* incremental.cc (Sized_incremental_binary::do_process_got_plt):
Check for NULL.
* symtab.cc (Symbol_table::add_from_relobj): Ignore version
symbols during incremental update.
(Symbol_table::add_from_dynobj): Likewise.

2011-09-26  Cary Coutant  <ccoutant@google.com>

* gold.cc (queue_initial_tasks): Move option checks ...
* options.cc (General_options::finalize): ... to here. Disable
some options; make others fatal.

2011-09-23  Simon Baldwin  <simonb@google.com>

* configure.ac: Add new --with-gold-ldadd and --with-gold-ldflags
configuration options.
* configure: Regenerate.
* Makefile.am: Handle GOLD_LDADD and GOLD_LDFLAGS.
* Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

13 years ago2011-12-19 Chung-Lin Tang <cltang@codesourcery.com>
Chung-Lin Tang [Mon, 19 Dec 2011 10:49:27 +0000 (10:49 +0000)] 
2011-12-19  Chung-Lin Tang  <cltang@codesourcery.com>

Backport from mainline:

2011-12-19  Chung-Lin Tang  <cltang@codesourcery.com>

gas/
* config/tc-mips.c (mips_pseudo_table): Add tprelword/tpreldword
entries.
(mips16_percent_op): Add MIPS16 TLS relocation ops.
(md_apply_fix): Add BFD_RELOC_MIPS16_TLS_* switch cases.
(s_tls_rel_directive): Rename from s_dtprel_internal(). Abstract out
directive string and reloc type as function parameters. Update
comments.
(s_dtprelword,s_dtpreldword): Change to use s_tls_rel_directive().
(s_tprelword,s_tpreldword): New functions.

include/
* elf/mips.h (elf_mips_reloc_type): Add R_MIPS16_TLS_* entries.

bfd/
* reloc.c (BFD_RELOC_MIPS16_TLS_GD,BFD_RELOC_MIPS16_TLS_LDM,
BFD_RELOC_MIPS16_TLS_DTPREL_HI16,BFD_RELOC_MIPS16_TLS_DTPREL_LO16,
BFD_RELOC_MIPS16_TLS_GOTTPREL,BFD_RELOC_MIPS16_TLS_TPREL_HI16,
BFD_RELOC_MIPS16_TLS_TPREL_LO16): New relocations for MIPS16 TLS.
* bfd-in2.h (bfd_reloc_code_real): Regenerate.
* libbfd.h (bfd_reloc_code_real_names): Regenerate.
* elf32-mips.c (elf_mips16_howto_table_rel): Add R_MIPS16_TLS_*
entries.
(mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_*
mappings.
* elfn32-mips.c (elf_mips16_howto_table_rel,
elf_mips16_howto_table_rela): Add R_MIPS16_TLS_* entries.
(mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_*
mappings.
* elf64-mips.c (mips16_elf64_howto_table_rel,
mips16_elf64_howto_table_rela): Add R_MIPS16_TLS_* entries.
(mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_*
mappings.
* elfxx-mips.c (TLS_RELOC_P,mips16_reloc_p,
_bfd_mips_elf_check_relocs): Add cases for R_MIPS16_TLS_* relocations.
(tls_gd_reloc_p): Add R_MIPS16_TLS_GD case.
(tls_ldm_reloc_p): Add R_MIPS16_TLS_LDM case.
(tls_gottprel_reloc_p): Add R_MIPS16_TLS_GOTTPREL case.
(mips_elf_calculate_relocation): Add cases for R_MIPS16_TLS_*,
R_MIPS_TLS_DTPREL32/64, and R_MIPS_TLS_TPREL32/64 relocations.

13 years ago2011-12-19 Chung-Lin Tang <cltang@codesourcery.com>
Chung-Lin Tang [Mon, 19 Dec 2011 10:39:27 +0000 (10:39 +0000)] 
2011-12-19  Chung-Lin Tang  <cltang@codesourcery.com>

Backport from mainline:

2011-12-19  Chung-Lin Tang  <cltang@codesourcery.com>
    Catherine Moore  <clm@codesourcery.com>
    Sandra Loosemore  <sandra@codesourcery.com>
    Richard Sandiford  <rdsandiford@googlemail.com>

* elfxx-mips.c (mips_elf_local_pic_function_p): Return true when
H is a MIPS16 function with a kept 32-bit stub. Update comments.
(mips_elf_get_la25_target): New function.
(mips_elf_add_la25_intro): Change to use mips_elf_get_la25_target().
(mips_elf_add_la25_stub): Move compute of use_trampoline_p down,
change to use mips_elf_get_la25_target().
(mips_elf_relocation_needs_la25_stub): Add target_is_16_bit_code_p
parameter, add switch case for R_MIPS16_26.
(mips_elf_calculate_relocation): Redirect relocation to point to the
LA25 stub if it exists, instead of the MIPS16 stub. Update arguments
of call to mips_elf_relocation_needs_la25_stub(), don't use la25 stub
for mips16->mips16 calls.
(_bfd_mips_elf_check_relocs): Update arguments of call to
mips_elf_relocation_needs_la25_stub().
(mips_elf_create_la25_stub): Change to use mips_elf_get_la25_target().

13 years ago2011-12-19 Chung-Lin Tang <cltang@codesourcery.com>
Chung-Lin Tang [Mon, 19 Dec 2011 10:34:16 +0000 (10:34 +0000)] 
2011-12-19  Chung-Lin Tang  <cltang@codesourcery.com>

Backport from mainline:

2011-12-13  Chung-Lin Tang  <cltang@codesourcery.com>

* elfxx-mips.c (mips_elf_calculate_relocation): Correct
R_MIPS16_HI16/R_MIPS16_LO16 handling of two cleared lower bits,
update comments.

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

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

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