]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/log
Alan Modra [Thu, 22 Oct 2009 23:00:08 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 21 Oct 2009 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 20 Oct 2009 23:00:11 +0000 (23:00 +0000)]
daily update
Alan Modra [Tue, 20 Oct 2009 08:40:36 +0000 (08:40 +0000)]
PR binutils/10802
* opncls.c (_maybe_make_executable): Make DYNAMIC files executable.
Alan Modra [Mon, 19 Oct 2009 23:00:09 +0000 (23:00 +0000)]
daily update
Hans-Peter Nilsson [Mon, 19 Oct 2009 16:36:01 +0000 (16:36 +0000)]
* ld-cris/tls-e-20.d, ld-cris/tls-e-20a.d, ld-cris/tls-e-22.d,
ld-cris/tls-e-80.d, ld-cris/tls-e-dtpoffd1.d,
ld-cris/tls-e-dtpoffd3.d, ld-cris/tls-ldgde-14.d,
ld-cris/tls-ldgde-15.d, ld-cris/tls-ldgdex-14.d,
ld-cris/tls-ldgdex-15.d: Adjust for change in non-shared
R_CRIS_32_DTPREL and R_CRIS_16_DTPREL relocations.
Hans-Peter Nilsson [Mon, 19 Oct 2009 16:35:19 +0000 (16:35 +0000)]
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_DTPREL>:
Don't subtract the size of the TLS block for non-shared objects
from the relocation.
Tristan Gingold [Mon, 19 Oct 2009 07:31:26 +0000 (07:31 +0000)]
Forgot to regenerate.
Alan Modra [Sun, 18 Oct 2009 23:14:52 +0000 (23:14 +0000)]
PR binutils/10793
* prdbg.c (tg_end_struct_type): Warning fix.
Alan Modra [Sun, 18 Oct 2009 23:12:50 +0000 (23:12 +0000)]
PR binutils/10792
* dlltool.c (dll_name_list_append): Declare variable at start
of block.
(dll_name_list_count, dll_name-list_print): Likewise.
Alan Modra [Sun, 18 Oct 2009 23:00:08 +0000 (23:00 +0000)]
daily update
Alan Modra [Sun, 18 Oct 2009 08:21:27 +0000 (08:21 +0000)]
* config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty body
in release builds.
Alan Modra [Sat, 17 Oct 2009 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Fri, 16 Oct 2009 23:00:08 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Fri, 16 Oct 2009 20:17:56 +0000 (20:17 +0000)]
* output.cc (Output_segment::set_section_list_address): Cast
expressions to unsigned long long type to avoid format warnings.
Ian Lance Taylor [Fri, 16 Oct 2009 14:08:45 +0000 (14:08 +0000)]
Sync plugin-api.h from trunk.
Tristan Gingold [Fri, 16 Oct 2009 13:09:03 +0000 (13:09 +0000)]
bfd/
2009-10-16 Tristan Gingold <gingold@adacore.com>
* configure.in: Bump version to 2.20.0
* Makefile.am (RELEASE): Unset.
* configure, Makefile.in: Regenerate.
Tristan Gingold [Fri, 16 Oct 2009 12:07:05 +0000 (12:07 +0000)]
bfd/
2009-10-16 Tristan Gingold <gingold@adacore.com>
* configure.in: Bump version to 2.20
* Makefile.am (RELEASE): Set.
* configure, Makefile.in: Regenerate.
Tristan Gingold [Fri, 16 Oct 2009 10:02:44 +0000 (10:02 +0000)]
2009-10-16 Alan Modra <amodra@bigpond.net.au>
PR binutils/10785
* coff-alpha.c (alpha_ecoff_get_elt_at_filepos): Don't bfd_alloc
bim and bim->buffer. bfd_malloc instead.
* peicode.h (pe_ILF_build_a_bfd): Similarly.
(ILF_DATA_SIZE): Don't include bim.
* opncls.c (bfd_close): Test bim->buffer non-NULL before freeing.
Ian Lance Taylor [Fri, 16 Oct 2009 05:53:17 +0000 (05:53 +0000)]
* Makefile.def: check-gold depends upon all-gas.
* Makefile.in: Rebuild.
Ian Lance Taylor [Fri, 16 Oct 2009 05:51:18 +0000 (05:51 +0000)]
Merge elfcpp and gold from trunk.
Alan Modra [Thu, 15 Oct 2009 23:00:08 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 14 Oct 2009 23:00:09 +0000 (23:00 +0000)]
daily update
Tristan Gingold [Wed, 14 Oct 2009 14:56:51 +0000 (14:56 +0000)]
2009-10-14 Andreas Schwab <schwab@linux-m68k.org>
* ldlex.l (yy_input): Remove second argument and return the value
instead.
(YY_INPUT): Adjust.
Tristan Gingold [Wed, 14 Oct 2009 09:28:21 +0000 (09:28 +0000)]
2009-10-14 Ryan Mansfield <rmansfield@qnx.com>
* ldlang.c (load_symbols): Set whole_archive from entry when
parsing a linker script.
Alan Modra [Tue, 13 Oct 2009 23:00:09 +0000 (23:00 +0000)]
daily update
nobody [Tue, 13 Oct 2009 21:17:44 +0000 (21:17 +0000)]
This commit was manufactured by cvs2svn to create branch 'binutils-
2_20-branch'.
Cherrypick from master 2009-10-13 21:17:43 UTC Sriraman Tallam <tmsriram@google.com> ' * gc.h (gc_process_relocs): Check if icf is enabled using new':
gold/testsuite/icf_safe_test.cc
gold/testsuite/icf_safe_test.sh
gold/testsuite/retain_symbols_file_test.sh
gold/testsuite/searched_file_test.cc
gold/testsuite/searched_file_test_lib.cc
gold/testsuite/split_i386.sh
gold/testsuite/split_i386_1.s
gold/testsuite/split_i386_2.s
gold/testsuite/split_i386_3.s
gold/testsuite/split_i386_4.s
gold/testsuite/split_i386_n.s
gold/testsuite/split_x86_64.sh
gold/testsuite/split_x86_64_1.s
gold/testsuite/split_x86_64_2.s
gold/testsuite/split_x86_64_3.s
gold/testsuite/split_x86_64_4.s
gold/testsuite/split_x86_64_n.s
Tristan Gingold [Tue, 13 Oct 2009 11:52:35 +0000 (11:52 +0000)]
2009-10-13 Alan Modra <amodra@bigpond.net.au>
H.J. Lu <hongjiu.lu@intel.com>
PR gas/2117
* config/tc-ia64.c (parse_operand): Use expression rather than
expression_and_evalute.
(parse_operand_and_eval): New function. Replace all uses of
parse_operand outside of parse_operands with this function.
(parse_operans_maybe_eval): New function. Replace uses of
parse_operand in parse_operands, except for the dummy, with
this function.
Alan Modra [Mon, 12 Oct 2009 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Sun, 11 Oct 2009 23:00:08 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 10 Oct 2009 22:59:54 +0000 (22:59 +0000)]
daily update
Alan Modra [Fri, 9 Oct 2009 22:59:56 +0000 (22:59 +0000)]
daily update
Alan Modra [Fri, 9 Oct 2009 05:43:07 +0000 (05:43 +0000)]
PR ld/10749
* ldlang.c (lang_size_sections_1): Zero section vmas only for COFF.
* scripttempl/elf32cr16.sc: Revert 2009-09-28 change.
* scripttempl/elf32cr16c.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/tic54xcoff.sc: Likewise.
* scripttempl/aix.sc: Likewise.
* scripttempl/avr.sc: Likewise.
* scripttempl/elf32msp430.sc: Likewise.
* scripttempl/elf32msp430_3.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfi370.sc: Likewise.
* scripttempl/nw.sc: Likewise.
* scripttempl/psos.sc: Likewise.
* scripttempl/armbpabi.sc: Likewise.
* scripttempl/elf.sc: Likewise.
* scripttempl/elf64hppa.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
* scripttempl/elfmicroblaze.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/iq2000.sc: Likewise.
* scripttempl/mep.sc: Likewise.
* scripttempl/xstormy16.sc: Likewise.
2009-10-03 Alan Modra <amodra@bigpond.net.au>
* emultempl/ppc32elf.em (emit_stub_syms): Init to -1.
(ppc_after_open): Set emit_stubs_syms by default when shared.
(OPTION_NO_STUBSYMS): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
* emultempl/ppc64elf.em (emit_stub_syms): Init to -1.
(gld${EMULATION_NAME}_finish): Set emit_stubs_syms by default.
(OPTION_NO_STUBSYMS): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
2009-09-30 Matthias Klose <doko@ubuntu.com>
PR ld/9863
* emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
with __data_start.
2009-09-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
(rts).
2009-09-29 Alan Modra <amodra@bigpond.net.au>
* ldlang.c (lang_size_sections_1): Allow scripts to specify a
non-zero vma even when relocatable.
2009-09-28 Alan Modra <amodra@bigpond.net.au>
* scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
* scripttempl/elf32cr16c.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/tic54xcoff.sc: Likewise.
* scripttempl/aix.sc: Delete ${RELOCATING-0}.
* scripttempl/avr.sc: Likewise.
* scripttempl/elf32msp430.sc: Likewise.
* scripttempl/elf32msp430_3.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfi370.sc: Likewise.
* scripttempl/nw.sc: Likewise.
* scripttempl/psos.sc: Likewise.
* scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}.
* scripttempl/elf.sc: Likewise.
* scripttempl/elf64hppa.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
* scripttempl/elfmicroblaze.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/iq2000.sc: Likewise.
* scripttempl/mep.sc: Likewise.
* scripttempl/xstormy16.sc: Likewise.
Alan Modra [Thu, 8 Oct 2009 23:00:00 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 7 Oct 2009 23:00:03 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 7 Oct 2009 08:36:44 +0000 (08:36 +0000)]
PR gas/10704
* symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.
Alan Modra [Wed, 7 Oct 2009 08:35:59 +0000 (08:35 +0000)]
* read.c (s_reloc): Don't use expression_and_evaluate.
Nick Clifton [Tue, 6 Oct 2009 15:45:55 +0000 (15:45 +0000)]
Updated Finnish translation
Tristan Gingold [Tue, 6 Oct 2009 14:56:15 +0000 (14:56 +0000)]
bfd/
2009-10-06 Tristan Gingold <gingold@adacore.com>
* configure.in: Bump version to 2.19.92
* configure: Regenerate.
Tristan Gingold [Tue, 6 Oct 2009 10:59:08 +0000 (10:59 +0000)]
2009-10-06 Jakub Jelinek <jakub@redhat.com>
* dw2gencfi.c: Include dwarf2dbg.h.
(DWARF2_FORMAT): Define if not defined.
(dot_cfi_sections): New function.
(cfi_pseudo_table): Handle .cfi_sections.
(CFI_EMIT_eh_frame, CFI_EMIT_debug_frame): Define.
(cfi_sections): New variable.
(output_cie, output_fde, select_cie_for_fde): Add eh_frame
argument, add supporting for outputting .debug_frame
section.
(cfi_change_reg_numbers): New function or macro.
(cfi_finish): Only emit .eh_frame if
cfi_sections & CFI_EMIT_eh_frame. Emit .debug_frame if
cfi_sections & CFI_EMIT_debug_frame.
* config/tc-ppc.h (md_reg_eh_frame_to_debug_frame): Define.
* doc/as.texinfo (CFI directives): Document .cfi_sections.
Alan Modra [Mon, 5 Oct 2009 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Sun, 4 Oct 2009 23:00:08 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 3 Oct 2009 23:00:09 +0000 (23:00 +0000)]
daily update
Alan Modra [Sat, 3 Oct 2009 00:40:25 +0000 (00:40 +0000)]
* arm-dis.c (print_insn): Check symtab_size not *symtab.
Alan Modra [Sat, 3 Oct 2009 00:00:09 +0000 (00:00 +0000)]
daily update
Alan Modra [Fri, 2 Oct 2009 15:40:29 +0000 (15:40 +0000)]
typo fix
Alan Modra [Fri, 2 Oct 2009 15:20:07 +0000 (15:20 +0000)]
ld/
* emultempl/ppc32elf.em (emit_stub_syms): Init to -1.
(ppc_after_open): Set emit_stubs_syms by default when shared.
(OPTION_NO_STUBSYMS): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
* emultempl/ppc64elf.em (emit_stub_syms): Init to -1.
(gld${EMULATION_NAME}_finish): Set emit_stubs_syms by default.
(OPTION_NO_STUBSYMS): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
ld/testsuite/
* ld-powerpc/tlsexe.d: Update.
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.d: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.d: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.d: Update.
* ld-powerpc/tlstocso.r: Update.
Peter Bergner [Fri, 2 Oct 2009 14:51:22 +0000 (14:51 +0000)]
gas/
* config/tc-ppc.c (md_show_usage): Document -m476.
* doc/c-ppc.texi (PowerPC-Opts): Document -m476.
gas/testsuite/
* gas/ppc/476.s: New test.
* gas/ppc/476.d: Likewise.
* gas/ppc/ppc.exp: Run the 476 test.
include/opcode/
* ppc.h (PPC_OPCODE_476): Define.
opcodes/
* ppc-dis.c (ppc_opts): Add "476" entry.
* ppc-opc.c (PPC476): Define.
(powerpc_opcodes): Update mnemonics where required for 476.
nobody [Fri, 2 Oct 2009 14:42:43 +0000 (14:42 +0000)]
This commit was manufactured by cvs2svn to create branch 'binutils-
2_20-branch'.
Cherrypick from master 2009-10-02 14:42:42 UTC Peter Bergner <bergner@vnet.ibm.com> 'gas/':
gas/testsuite/gas/ppc/476.d
gas/testsuite/gas/ppc/476.s
Dave Korn [Fri, 2 Oct 2009 14:40:18 +0000 (14:40 +0000)]
* cofflink.c (_bfd_coff_generic_relocate_section): Look for the aux
symbol for a weak undef in the auxbfd, not the input bfd.
Tristan Gingold [Fri, 2 Oct 2009 12:19:05 +0000 (12:19 +0000)]
2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
* crx-dis.c (match_opcode): Truncate mcode to 32-bit.
Alan Modra [Fri, 2 Oct 2009 00:00:10 +0000 (00:00 +0000)]
daily update
Alan Modra [Thu, 1 Oct 2009 23:33:17 +0000 (23:33 +0000)]
* lib/ld-lib.exp (ld_simple_link_defsyms): New proc, adding
powerpc-*-rtems to code setting symbols, extracted from..
* ld-srec/srec.exp (run_srec_test): ..here. Correct flags for sh64.
* ld-gc/gc.exp (test_gc): Use ld_simple_link_defsyms.
Peter Bergner [Thu, 1 Oct 2009 19:49:39 +0000 (19:49 +0000)]
gas/
* config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2".
* doc/c-ppc.texi (PowerPC-Opts): Likewise.
gas/testsuite/
* gas/ppc/a2.d: Rename "ppca2" to "a2".
include/opcode/
* ppc.h (PPC_OPCODE_A2): Rename from PPC_OPCODE_PPCA2.
opcodes/
* ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2.
* ppc-dis.c (ppc_opts): Likewise.
Rename "ppca2" to "a2".
Ulrich Weigand [Thu, 1 Oct 2009 13:16:24 +0000 (13:16 +0000)]
bfd/
* elf32-spu.c (spu_elf_auto_overlay): Insert icache linker script
after .toe instead of before .text section. Set the LMA of all
overlay sections to their icache IA address.
(spu_elf_find_overlays): Determine icache set id without reference
to the LMA.
ld/testsuite/
* ld-spu/icache1.d: Update to new section layout.
Alan Modra [Thu, 1 Oct 2009 06:42:38 +0000 (06:42 +0000)]
* addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
Alan Modra [Thu, 1 Oct 2009 00:00:11 +0000 (00:00 +0000)]
daily update
Tristan Gingold [Wed, 30 Sep 2009 13:23:29 +0000 (13:23 +0000)]
For Tru64.
2009-09-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* hashtab.c [HAVE_INTTYPES_H]: Include <inttypes.h>.
Tristan Gingold [Wed, 30 Sep 2009 13:15:23 +0000 (13:15 +0000)]
2009-09-30 Matthias Klose <doko@ubuntu.com>
PR ld/9863
* emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
with __data_start.
Tristan Gingold [Wed, 30 Sep 2009 13:13:45 +0000 (13:13 +0000)]
2009-09-30 Tristan Gingold <gingold@adacore.com>
* configure.com: Use hosts/alphavms.h on both alpha and ia64 VMS.
Alan Modra [Wed, 30 Sep 2009 00:00:09 +0000 (00:00 +0000)]
daily update
Nick Clifton [Tue, 29 Sep 2009 16:29:25 +0000 (16:29 +0000)]
* emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
(rts).
Nick Clifton [Tue, 29 Sep 2009 15:34:36 +0000 (15:34 +0000)]
* doc/binutils.texi (c++filt): Remove spurious description of
nonexistent --java command line switch for cxxfilt.
Peter Bergner [Tue, 29 Sep 2009 13:33:14 +0000 (13:33 +0000)]
opcodes/
* ppc-opc.c (powerpc_opcodes): Remove support for the the "lxsdux",
"lxvd2ux", "lxvw4ux", "stxsdux", "stxvd2ux" and "stxvw4ux" opcodes.
gas/testsuite/
* gas/ppc/vsx.s ("lxsdux", "lxvd2ux", "lxvw4ux", "stxsdux",
"stxvd2ux", "stxvw4ux"): Remove tests.
* gas/ppc/vsx.d: Likewise.
* gas/ppc/power7.s: Likewise.
* gas/ppc/power7.d: Likewise.
Alan Modra [Tue, 29 Sep 2009 03:18:21 +0000 (03:18 +0000)]
2009-09-29 Alan Modra <amodra@bigpond.net.au>
* ldlang.c (lang_size_sections_1): Allow scripts to specify a
non-zero vma even when relocatable.
2009-09-28 Alan Modra <amodra@bigpond.net.au>
* scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
* scripttempl/elf32cr16c.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/tic54xcoff.sc: Likewise.
* scripttempl/aix.sc: Delete ${RELOCATING-0}.
* scripttempl/avr.sc: Likewise.
* scripttempl/elf32msp430.sc: Likewise.
* scripttempl/elf32msp430_3.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfi370.sc: Likewise.
* scripttempl/nw.sc: Likewise.
* scripttempl/psos.sc: Likewise.
* scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}.
* scripttempl/elf.sc: Likewise.
* scripttempl/elf64hppa.sc: Likewise.
* scripttempl/elfd10v.sc: Likewise.
* scripttempl/elfd30v.sc: Likewise.
* scripttempl/elfm68hc11.sc: Likewise.
* scripttempl/elfm68hc12.sc: Likewise.
* scripttempl/elfmicroblaze.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/iq2000.sc: Likewise.
* scripttempl/mep.sc: Likewise.
* scripttempl/xstormy16.sc: Likewise.
2009-09-27 Christopher Faylor <me+cygwin@cgf.cx>
* ldlang.c (lang_size_sections_1): Always force output vma to zero for
relocatable sections.
(lang_size_sections_1): Revert previous COFF-only accommodation for
relocatable sections.
Alan Modra [Tue, 29 Sep 2009 00:00:10 +0000 (00:00 +0000)]
daily update
Nick Clifton [Mon, 28 Sep 2009 12:40:58 +0000 (12:40 +0000)]
* ld-mips-elf/mips-elf.exp: Only run attribute tests on Linux
targets.
Alan Modra [Mon, 28 Sep 2009 00:00:37 +0000 (00:00 +0000)]
daily update
Alan Modra [Sun, 27 Sep 2009 00:00:09 +0000 (00:00 +0000)]
daily update
Alan Modra [Sat, 26 Sep 2009 00:00:10 +0000 (00:00 +0000)]
daily update
Nick Hudson [Fri, 25 Sep 2009 22:24:44 +0000 (22:24 +0000)]
2009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>
* doc/c-mips.texi: Fix the singlefloat and doublefloat kindex
entries.
Alan Modra [Fri, 25 Sep 2009 00:00:09 +0000 (00:00 +0000)]
daily update
Alan Modra [Thu, 24 Sep 2009 00:16:31 +0000 (00:16 +0000)]
PR binutils/10654
* dwarf2.c (lookup_address_in_line_info_table): Remove workaround
for invalid location lists generated by gcc-2.95 and Intel 6.0 C++.
Remove "function" parm, adjust caller.
Alan Modra [Thu, 24 Sep 2009 00:00:10 +0000 (00:00 +0000)]
daily update
Nick Clifton [Wed, 23 Sep 2009 10:10:52 +0000 (10:10 +0000)]
Updated French and Vietnamese translations.
Jie Zhang [Wed, 23 Sep 2009 09:30:45 +0000 (09:30 +0000)]
* ld-srec/srec.exp: Add xfails for bfin-*-linux-uclibc.
Tristan Gingold [Wed, 23 Sep 2009 08:31:50 +0000 (08:31 +0000)]
2009-09-23 Tim E. Sneddon <tsneddon@kednos.com>
* gas/configure.com: Fix a typo.
Tristan Gingold [Wed, 23 Sep 2009 08:24:44 +0000 (08:24 +0000)]
2009-09-23 Tristan Gingold <gingold@adacore.com>
* config.h-vms: Remove HAVE_STDINT_H which was committed by mistake.
Tristan Gingold [Wed, 23 Sep 2009 08:20:24 +0000 (08:20 +0000)]
2009-09-23 Matthew Gingell <gingell@adacore.com>
* cplus-dem.c (ada_demangle): Ensure demangled is freed.
Jie Zhang [Wed, 23 Sep 2009 08:03:49 +0000 (08:03 +0000)]
* elf32-bfin.c (_bfinfdpic_size_got_plt): Make sure empty
.rel.plt and .plt sections are removed.
(elf32_bfinfdpic_size_dynamic_sections): Remove empty .dynbss
section. Remove the duplicated removing of empty .rel.plt
section.
Alan Modra [Wed, 23 Sep 2009 06:10:49 +0000 (06:10 +0000)]
* symbols.c (define_sym_at_dot): New function, extracted from..
(colon): ..here. Define error case cloned symbol.
Alan Modra [Wed, 23 Sep 2009 00:00:09 +0000 (00:00 +0000)]
daily update
Richard Sandiford [Tue, 22 Sep 2009 18:30:46 +0000 (18:30 +0000)]
binutils/
* objdump.c (disassemble_section): Use bfd_get_arch_size
instead of assuming that the address size is 32 bits.
Alan Modra [Tue, 22 Sep 2009 03:11:47 +0000 (03:11 +0000)]
* gas/ppc/a2.d: Match PPC64 relocs.
Alan Modra [Tue, 22 Sep 2009 02:36:55 +0000 (02:36 +0000)]
* ppc.h (ppc_cpu_t): Typedef to uint64_t.
Alan Modra [Tue, 22 Sep 2009 00:00:10 +0000 (00:00 +0000)]
daily update
Richard Sandiford [Mon, 21 Sep 2009 19:32:47 +0000 (19:32 +0000)]
gas/
* config/tc-mips.c (MIPS_JALR_HINT_P): Take an expr argument.
Require the target to be a bare symbol on targets with
in-place addends.
(macro_build_jalr): Update accordingly.
(mips_fix_adjustable): Don't reduce R_MIPS_JALRs on targets
with in-place addends.
gas/testsuite/
* gas/mips/jalr2.s, gas/mips/jalr2.d: New test.
* gas/mips/jal-svr4pic.d: Don't expect R_MIPS_JALRs to be reduced.
* gas/mips/jal-xgot.d: Likewise.
* gas/mips/mips-abi32-pic2.d: Likewise.
* gas/mips/mips.exp: Run it.
Maciej W. Rozycki [Mon, 21 Sep 2009 13:18:00 +0000 (13:18 +0000)]
* lib/gas-defs.exp (gas_test_error): Mark internal error/assertion
failures seen in output as fails. Also record output being
matched for fails.
Alan Modra [Mon, 21 Sep 2009 11:55:17 +0000 (11:55 +0000)]
include/elf/
* ppc.h (DT_PPC_TLSOPT): Define.
* ppc64.h (DT_PPC64_TLSOPT): Define.
bfd/
* elf32-ppc.c (TLS_GET_ADDR_GLINK_SIZE): Define.
(ADD_3_12_2, BEQLR, CMPWI_11_0, LWZ_11_3, LWZ_12_3): Define.
(MR_0_3, MR_3_0): Define.
(struct ppc_elf_link_hash_table): Add no_tls_get_addr_opt.
(ppc_elf_select_plt_layout): Save emit_stub_syms param earlier.
(ppc_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash
table. Check for presense of __tls_get_addr_opt
(allocate_dynrelocs): Increase glink entry size for __tls_get_addr.
(ppc_elf_size_dynamic_sections): Add DT_PPC_TLS_OPT tag.
(write_glink_stub): Add param p.
(ppc_elf_relocate_section): Adjust write_glink_stub call.
(ppc_elf_finish_dynamic_symbol): Emit special glink call stub for
__tls_get_addr.
* elf32-ppc.h (ppc_elf_tls_setup): Update prototype.
* elf64-ppc.c (struct ppc_link_hash_table): Add no_tls_get_addr_opt.
(ppc64_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash
table. Check for presense of __tls_get_addr_opt.
(ppc64_elf_size_dynamic_sections): Add DT_PPC64_TLS_OPT tag.
(LD_R11_0R3, LD_R12_0R3, MR_R0_R3, CMPDI_R11_0, ADD_R3_R12_R13,
BEQLR, MR_R3_R0, MFLR_R11, STD_R11_0R1, BCTRL, LD_R11_0R1,
LD_R2_0R1, MTLR_R11): Define.
(build_tls_get_addr_stub): New function.
(ppc_build_one_stub): Call it.
(ppc_size_one_stub): Add extra size for __tls_get_addr stub.
(ppc64_elf_relocate_section): Don't change nop to ld 2,40(1) for
__tls_get_addr plt call.
* elf64-ppc.h (ppc64_elf_tls_setup): Update prototype.
binutils/
* readelf.c (get_ppc_dynamic_type): Add TLSOPT.
(get_ppc64_dynamic_type): Likewise.
ld/
* emultempl/ppc32elf.em (no_tls_get_addr_opt): New var.
(ppc_before_allocation): Pass to ppc_elf_tls_setup.
(OPTION_NO_TLS_GET_ADDR_OPT): Define. Redefine other options in
terms of previous option.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
--no-tls-get-addr-optimize.
(PARSE_AND_LIST_ARGS_CASES): Handle it.
* emultempl/ppc64elf.em (no_tls_get_addr_opt): New var.
(ppc_before_allocation): Pass to ppc64_elf_tls_setup.
(OPTION_NO_TLS_GET_ADDR_OPT): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
--no-tls-get-addr-optimize.
(PARSE_AND_LIST_ARGS_CASES): Handle it.
ld/testsuite/
* ld-powerpc/tlslib.s: Delete dot-symbol entry syms. Add
__tls_get_addr_opt.
* ld-powerpc/tlslib32.s: Add __tls_get_addr_opt.
* ld-powerpc/oldtlslib.s: New file, old-abi version of tlslib.s.
* ld-powerpc/powerpc.exp: Build old-abi library and use it in
two new link tests.
* ld-powerpc/tlsexe.d: Update for new __tls_get_addr stub.
* ld-powerpc/tlsexe.g, * ld-powerpc/tlsexe.r, *ld-powerpc/tlsexe32.d,
* ld-powerpc/tlsexe32.g, * ld-powerpc/tlsexe32.r,
* ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g,
* ld-powerpc/tlsexetoc.r: Likewise.
nobody [Mon, 21 Sep 2009 11:51:03 +0000 (11:51 +0000)]
This commit was manufactured by cvs2svn to create branch 'binutils-
2_20-branch'.
Cherrypick from master 2009-09-21 11:51:02 UTC Alan Modra <amodra@gmail.com> 'include/elf/':
ld/testsuite/ld-powerpc/oldtlslib.s
Ben Elliston [Mon, 21 Sep 2009 10:29:09 +0000 (10:29 +0000)]
gas/
* config/tc-ppc.c (md_show_usage): Document -mpcca2.
* doc/c-ppc.texi (PowerPC-Opts): Document -mppca2.
gas/testsuite/
* gas/ppc/a2.s: New.
* gas/ppc/a2.d: Likewise.
* gas/ppc/ppc.exp: Run the a2 dump test.
include/opcode/
* ppc.h (PPC_OPCODE_PPCA2): New.
opcodes/
* ppc-dis.c (ppc_opts): Add "ppca2" entry.
* ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx.,
eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx,
icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx.,
ici mnemonics.
(ERAT_T): New operand.
(XWC_MASK): New mask.
(XOPL2): New macro.
(PPCA2): Define.
nobody [Mon, 21 Sep 2009 10:29:08 +0000 (10:29 +0000)]
This commit was manufactured by cvs2svn to create branch 'binutils-
2_20-branch'.
Cherrypick from master 2009-09-21 10:29:07 UTC Ben Elliston <bje@au.ibm.com> 'gas/':
gas/testsuite/gas/mips/jalr2.d
gas/testsuite/gas/mips/jalr2.s
gas/testsuite/gas/ppc/a2.d
gas/testsuite/gas/ppc/a2.s
Alan Modra [Mon, 21 Sep 2009 00:00:09 +0000 (00:00 +0000)]
daily update
Richard Sandiford [Sun, 20 Sep 2009 11:15:20 +0000 (11:15 +0000)]
ld/testsuite/
* ld-mips-elf/elf-rel-got-n64-linux.d: Expect BALs.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
Alan Modra [Sun, 20 Sep 2009 00:00:10 +0000 (00:00 +0000)]
daily update
Alan Modra [Sat, 19 Sep 2009 00:00:12 +0000 (00:00 +0000)]
daily update
Alan Modra [Fri, 18 Sep 2009 12:43:28 +0000 (12:43 +0000)]
PR ld/10406
* elf32-ppc.c (ppc_elf_howto_raw): Make R_PPC_EMB_SDAI16 and
R_PPC_EMB_SDA2I16 complain_overflow_signed.
(create_sdata_sym): Pass info rather than htab.
Update all callers. Ensure symbols are hidden.
(ppc_elf_check_relocs): Allow SDAREL16 when shared.
(ppc_elf_size_dynamic_sections): When shared, equate _SDA_BASE_ to
_GLOBAL_OFFSET_TABLE_.
(elf_finish_pointer_linker_section): Don't assume that sdata base
symbol is always at 0x8000 offset. Don't subtract the addend here.
(is_static_defined): New function.
(ppc_elf_relocate_section): Verify symbol base used in SDA relocs
is statically defined. Clear addend for EMB_SDAI16 and EMB_SDA2I16
relocs. Downgrade error on unexpected section for EMB_SDA2REL
reloc symbols to a warning.
Nick Clifton [Fri, 18 Sep 2009 08:04:50 +0000 (08:04 +0000)]
Updated Vietnamese translations
Nick Clifton [Fri, 18 Sep 2009 08:01:08 +0000 (08:01 +0000)]
Updated Finnish and Vietnamese translations
Nick Clifton [Fri, 18 Sep 2009 07:52:19 +0000 (07:52 +0000)]
Updated Spanish and Vietnamese translations