]> git.ipfire.org Git - thirdparty/binutils-gdb.git/log
thirdparty/binutils-gdb.git
16 years agoMerge elfcpp and gold from trunk.
Ian Lance Taylor [Fri, 16 Oct 2009 05:51:18 +0000 (05:51 +0000)] 
Merge elfcpp and gold from trunk.

16 years agodaily update
Alan Modra [Thu, 15 Oct 2009 23:00:08 +0000 (23:00 +0000)] 
daily update

16 years agodaily update
Alan Modra [Wed, 14 Oct 2009 23:00:09 +0000 (23:00 +0000)] 
daily update

16 years ago2009-10-14 Andreas Schwab <schwab@linux-m68k.org>
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.

16 years ago2009-10-14 Ryan Mansfield <rmansfield@qnx.com>
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.

16 years agodaily update
Alan Modra [Tue, 13 Oct 2009 23:00:09 +0000 (23:00 +0000)] 
daily update

16 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-
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

16 years ago2009-10-13 Alan Modra <amodra@bigpond.net.au>
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.

16 years agodaily update
Alan Modra [Mon, 12 Oct 2009 23:00:09 +0000 (23:00 +0000)] 
daily update

16 years agodaily update
Alan Modra [Sun, 11 Oct 2009 23:00:08 +0000 (23:00 +0000)] 
daily update

16 years agodaily update
Alan Modra [Sat, 10 Oct 2009 22:59:54 +0000 (22:59 +0000)] 
daily update

16 years agodaily update
Alan Modra [Fri, 9 Oct 2009 22:59:56 +0000 (22:59 +0000)] 
daily update

16 years ago PR ld/10749
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.

16 years agodaily update
Alan Modra [Thu, 8 Oct 2009 23:00:00 +0000 (23:00 +0000)] 
daily update

16 years agodaily update
Alan Modra [Wed, 7 Oct 2009 23:00:03 +0000 (23:00 +0000)] 
daily update

16 years ago PR gas/10704
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.

16 years ago * read.c (s_reloc): Don't use expression_and_evaluate.
Alan Modra [Wed, 7 Oct 2009 08:35:59 +0000 (08:35 +0000)] 
* read.c (s_reloc): Don't use expression_and_evaluate.

16 years agoUpdated Finnish translation
Nick Clifton [Tue, 6 Oct 2009 15:45:55 +0000 (15:45 +0000)] 
Updated Finnish translation

16 years agobfd/
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.

16 years ago2009-10-06 Jakub Jelinek <jakub@redhat.com>
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.

16 years agodaily update
Alan Modra [Mon, 5 Oct 2009 23:00:09 +0000 (23:00 +0000)] 
daily update

16 years agodaily update
Alan Modra [Sun, 4 Oct 2009 23:00:08 +0000 (23:00 +0000)] 
daily update

16 years agodaily update
Alan Modra [Sat, 3 Oct 2009 23:00:09 +0000 (23:00 +0000)] 
daily update

16 years ago * arm-dis.c (print_insn): Check symtab_size not *symtab.
Alan Modra [Sat, 3 Oct 2009 00:40:25 +0000 (00:40 +0000)] 
* arm-dis.c (print_insn): Check symtab_size not *symtab.

16 years agodaily update
Alan Modra [Sat, 3 Oct 2009 00:00:09 +0000 (00:00 +0000)] 
daily update

16 years agotypo fix
Alan Modra [Fri, 2 Oct 2009 15:40:29 +0000 (15:40 +0000)] 
typo fix

16 years agold/
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.

16 years agogas/
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.

16 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-
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

16 years ago * cofflink.c (_bfd_coff_generic_relocate_section): Look for the aux
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.

16 years ago2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
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.

16 years agodaily update
Alan Modra [Fri, 2 Oct 2009 00:00:10 +0000 (00:00 +0000)] 
daily update

16 years ago * lib/ld-lib.exp (ld_simple_link_defsyms): New proc, adding
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.

16 years agogas/
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".

16 years agobfd/
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.

16 years ago * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.
Alan Modra [Thu, 1 Oct 2009 06:42:38 +0000 (06:42 +0000)] 
* addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.

16 years agodaily update
Alan Modra [Thu, 1 Oct 2009 00:00:11 +0000 (00:00 +0000)] 
daily update

16 years agoFor Tru64.
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>.

16 years ago2009-09-30 Matthias Klose <doko@ubuntu.com>
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.

16 years ago2009-09-30 Tristan Gingold <gingold@adacore.com>
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.

16 years agodaily update
Alan Modra [Wed, 30 Sep 2009 00:00:09 +0000 (00:00 +0000)] 
daily update

16 years ago * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
Nick Clifton [Tue, 29 Sep 2009 16:29:25 +0000 (16:29 +0000)] 
    * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
        (rts).

16 years ago * doc/binutils.texi (c++filt): Remove spurious description of
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.

16 years agoopcodes/
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.

16 years ago2009-09-29 Alan Modra <amodra@bigpond.net.au>
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.

16 years agodaily update
Alan Modra [Tue, 29 Sep 2009 00:00:10 +0000 (00:00 +0000)] 
daily update

16 years ago * ld-mips-elf/mips-elf.exp: Only run attribute tests on Linux
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.

16 years agodaily update
Alan Modra [Mon, 28 Sep 2009 00:00:37 +0000 (00:00 +0000)] 
daily update

16 years agodaily update
Alan Modra [Sun, 27 Sep 2009 00:00:09 +0000 (00:00 +0000)] 
daily update

16 years agodaily update
Alan Modra [Sat, 26 Sep 2009 00:00:10 +0000 (00:00 +0000)] 
daily update

16 years ago2009-09-25 Nick Hudson <nick.hudson@gmx.co.uk>
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.

16 years agodaily update
Alan Modra [Fri, 25 Sep 2009 00:00:09 +0000 (00:00 +0000)] 
daily update

16 years ago PR binutils/10654
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.

16 years agodaily update
Alan Modra [Thu, 24 Sep 2009 00:00:10 +0000 (00:00 +0000)] 
daily update

16 years agoUpdated French and Vietnamese translations.
Nick Clifton [Wed, 23 Sep 2009 10:10:52 +0000 (10:10 +0000)] 
Updated French and Vietnamese translations.

16 years ago * ld-srec/srec.exp: Add xfails for bfin-*-linux-uclibc.
Jie Zhang [Wed, 23 Sep 2009 09:30:45 +0000 (09:30 +0000)] 
* ld-srec/srec.exp: Add xfails for bfin-*-linux-uclibc.

16 years ago2009-09-23 Tim E. Sneddon <tsneddon@kednos.com>
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.

16 years ago2009-09-23 Tristan Gingold <gingold@adacore.com>
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.

16 years ago2009-09-23 Matthew Gingell <gingell@adacore.com>
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.

16 years ago * elf32-bfin.c (_bfinfdpic_size_got_plt): Make sure empty
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.

16 years ago * symbols.c (define_sym_at_dot): New function, extracted from..
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.

16 years agodaily update
Alan Modra [Wed, 23 Sep 2009 00:00:09 +0000 (00:00 +0000)] 
daily update

16 years agobinutils/
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.

16 years ago * gas/ppc/a2.d: Match PPC64 relocs.
Alan Modra [Tue, 22 Sep 2009 03:11:47 +0000 (03:11 +0000)] 
* gas/ppc/a2.d: Match PPC64 relocs.

16 years ago * ppc.h (ppc_cpu_t): Typedef to uint64_t.
Alan Modra [Tue, 22 Sep 2009 02:36:55 +0000 (02:36 +0000)] 
* ppc.h (ppc_cpu_t): Typedef to uint64_t.

16 years agodaily update
Alan Modra [Tue, 22 Sep 2009 00:00:10 +0000 (00:00 +0000)] 
daily update

16 years agogas/
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.

16 years ago * lib/gas-defs.exp (gas_test_error): Mark internal error/assertion
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.

16 years agoinclude/elf/
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.

16 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-
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

16 years agogas/
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.

16 years agoThis commit was manufactured by cvs2svn to create branch 'binutils-
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

16 years agodaily update
Alan Modra [Mon, 21 Sep 2009 00:00:09 +0000 (00:00 +0000)] 
daily update

16 years agold/testsuite/
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.

16 years agodaily update
Alan Modra [Sun, 20 Sep 2009 00:00:10 +0000 (00:00 +0000)] 
daily update

16 years agodaily update
Alan Modra [Sat, 19 Sep 2009 00:00:12 +0000 (00:00 +0000)] 
daily update

16 years ago PR ld/10406
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.

16 years agoUpdated Vietnamese translations
Nick Clifton [Fri, 18 Sep 2009 08:04:50 +0000 (08:04 +0000)] 
Updated Vietnamese translations

16 years agoUpdated Finnish and Vietnamese translations
Nick Clifton [Fri, 18 Sep 2009 08:01:08 +0000 (08:01 +0000)] 
Updated Finnish and Vietnamese translations

16 years agoUpdated Spanish and Vietnamese translations
Nick Clifton [Fri, 18 Sep 2009 07:52:19 +0000 (07:52 +0000)] 
Updated Spanish and Vietnamese translations

16 years agobfd/
Alan Modra [Fri, 18 Sep 2009 03:32:17 +0000 (03:32 +0000)] 
bfd/
* elf64-ppc.c (follow_link, elf_follow_link, ppc_follow_link): New
functions.  Use throughout.
(ppc64_elf_copy_indirect_symbol): Set direct symbol "oh" field
from indirect symbol.
(lookup_fdh): Rename from get_fdh.  Follow indirect sym links.
(add_symbol_adjust): Simplify.
(defined_code_entry, defined_func_desc): New functions.
(ppc64_elf_gc_keep): Follow indirect sym links.  Use defined_code_entry.
(ppc64_elf_gc_mark_dynamic_ref): Use defined_func_desc and
defined_code_entry to follow indirect sym links.
(ppc64_elf_gc_mark_hook, func_desc_adjust): Likewise.
(ppc_type_of_stub): Follow indirect sym links.
(toc_adjusting_stub_needed): Likewise.
(ppc_build_one_stub): Likewise.  Make undefined dot-symbols weak
rather than defining them at stub.
(ppc64_elf_relocate_section): Rewrite call test to avoid multiple
assignments in test.
ld/testsuite/
* ld-powerpc/tlsso.d: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.d: Update.
* ld-powerpc/tlstocso.r: Update.

16 years agodaily update
Alan Modra [Fri, 18 Sep 2009 00:00:08 +0000 (00:00 +0000)] 
daily update

16 years agodaily update
Alan Modra [Thu, 17 Sep 2009 00:00:11 +0000 (00:00 +0000)] 
daily update

16 years agodaily update
Alan Modra [Wed, 16 Sep 2009 00:00:10 +0000 (00:00 +0000)] 
daily update

16 years ago2009-09-15 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 15 Sep 2009 11:03:07 +0000 (11:03 +0000)] 
2009-09-15  Tristan Gingold  <gingold@adacore.com>

        * config.h-vms (intptr_t): Define to compile hashtab.c

16 years ago2009-09-15 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 15 Sep 2009 11:00:31 +0000 (11:00 +0000)] 
2009-09-15  Tristan Gingold  <gingold@adacore.com>

* makefile.vms (OBJS): Compile te-vms.c only on Itanium.

16 years ago * ld-elfcomm/elfcomm.exp: Add appropriate emulation option
Kaz Kojima [Tue, 15 Sep 2009 02:06:39 +0000 (02:06 +0000)] 
* ld-elfcomm/elfcomm.exp: Add appropriate emulation option
for sh64*-*-*.
* ld-gc/gc.exp (test_gc): Likewise.

16 years agodaily update
Alan Modra [Tue, 15 Sep 2009 00:00:13 +0000 (00:00 +0000)] 
daily update

16 years agogas/testsuite/
Richard Sandiford [Mon, 14 Sep 2009 18:49:18 +0000 (18:49 +0000)] 
gas/testsuite/
* gas/mips/mips16-dwarf2-n32.d: Expect odd addresses.

ld/testsuite/
* ld-mips-elf/eh-frame1-n32.d: Change "the section \.eh_frame"
to "the \.eh_frame section".
* ld-mips-elf/eh-frame1-n64.d: Likewise.
* ld-mips-elf/eh-frame2-n32.d: Likewise.
* ld-mips-elf/eh-frame2-n64.d: Likewise.
* ld-mips-elf/eh-frame3.d: Likewise.
* ld-mips-elf/eh-frame4.d: Likewise.
* ld-mips-elf/elf-rel-got-n32.d: Expect bals.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
* ld-mips-elf/mips-elf.exp: Force the MIPS16 PIC tests to use -mips1.

16 years ago bfd/
Daniel Jacobowitz [Mon, 14 Sep 2009 12:31:01 +0000 (12:31 +0000)] 
bfd/
* elf32-arm.c (elf32_arm_final_link_relocate): Set sym_flags
for the mode of target PLT entries.
(allocate_dynrelocs): Only adjust symbol type if setting its
value.

ld/testsuite/
* ld-arm/farcall-mixed-lib.d: Update.

16 years agoUpdated German, Dutch and Finnish translations.
Nick Clifton [Mon, 14 Sep 2009 12:25:03 +0000 (12:25 +0000)] 
Updated German, Dutch and Finnish translations.

16 years agodaily update
Alan Modra [Mon, 14 Sep 2009 00:00:12 +0000 (00:00 +0000)] 
daily update

16 years ago PR ld/6766
Alan Modra [Sun, 13 Sep 2009 07:20:06 +0000 (07:20 +0000)] 
  PR ld/6766
* lexsup.c (parse_args <-e>): Revert 2009-03-18 change.
* ldemul.c (after_parse_default): Add entry symbol as undef.
* emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default.
* emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
* emultempl/crxelf.em (crxelf_after_parse): Likewise.
* emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise.
* emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call
after_parse_default and delete now duplicate code.
* emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
* scripttempl/elf32cr16.sc: No need to make entry extern.
* scripttempl/elf32cr16c.sc: Likewise.
* scripttempl/elf32crx.sc: Likewise.
* scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link.

16 years agodaily update
Alan Modra [Sun, 13 Sep 2009 00:00:09 +0000 (00:00 +0000)] 
daily update

16 years agodaily update
Alan Modra [Sat, 12 Sep 2009 00:00:16 +0000 (00:00 +0000)] 
daily update

16 years ago * po/bfd.pot: Updated by the Translation project.
Nick Clifton [Fri, 11 Sep 2009 15:28:44 +0000 (15:28 +0000)] 
    * po/bfd.pot: Updated by the Translation project.
        * po/binutils.pot: Updated by the Translation project.
        * po/gold.pot: Updated by the Translation project.
        * po/gold.pot: Updated by the Translation project.
        * po/gprof.pot: Updated by the Translation project.
        * po/sv.po: Updated Swedish translation.
        * po/ld.pot: Updated by the Translation project.
        * po/fi.po: Updated Finnish translation.
        * po/ld.pot: Updated by the Translation project.
        * po/fi.po: Updated Finnish translation.

        Updated sources to compile cleanly with -Wc++-compat:
        * basic_blocks.c: Add casts.
        * cg_dfn.c: Add cast.
        * corefile.c: Add casts.
        * gmon_io.c: Add casts.
        * hist.c: Add cast.
        * source.c: Add cast.
        * sym_ids.c (struct match): Moved to top level.

        Updated soruces in ld/* to compile cleanly with -Wc++-compat:
        * ld.h (enum endian_enum,enum symbolic_enum,enum dynamic_list_enum): Move to top level.
        * ldcref.c: Add casts.
        * ldctor.c: Add casts.
        * ldexp.c
        * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
        * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead of integer.
        * ldlang.h (enum statement_enum): Move to top level.
        * ldmain.c: Add casts.
        * ldwrite.c: Add casts.
        * lexsup.c: Add casts. (enum control_enum): Move to top level.
        * mri.c: Add casts. (mri_draw_tree): Use enum name instead of integer.

        Updated sources to compile cleanly with -Wc++-compat:
        * basic_blocks.c: Add casts.
        * cg_dfn.c: Add cast.
        * corefile.c: Add casts.
        * gmon_io.c: Add casts.
        * hist.c: Add cast.
        * source.c: Add cast.
        * sym_ids.c (struct match): Moved to top level.

16 years ago * rs6000-core.c (read_hdr): Fix typo in recent C++ compatibility
Nick Clifton [Fri, 11 Sep 2009 08:10:50 +0000 (08:10 +0000)] 
    * rs6000-core.c (read_hdr): Fix typo in recent C++ compatibility
        changes.

16 years ago * ld-elf/warn2.d: `Foo' appears in section 3 when target
Jie Zhang [Fri, 11 Sep 2009 03:41:22 +0000 (03:41 +0000)] 
* ld-elf/warn2.d: `Foo' appears in section 3 when target
is bfin-*-linux-uclibc.

16 years ago * elf32-bfin.c (bfinfdpic_relocs_info_find): Just return
Jie Zhang [Fri, 11 Sep 2009 03:24:05 +0000 (03:24 +0000)] 
* elf32-bfin.c (bfinfdpic_relocs_info_find): Just return
NULL if `ht' is NULL.

16 years agodaily update
Alan Modra [Fri, 11 Sep 2009 00:00:10 +0000 (00:00 +0000)] 
daily update