]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/log
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
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.
Alan Modra [Fri, 18 Sep 2009 00:00:08 +0000 (00:00 +0000)]
daily update
Alan Modra [Thu, 17 Sep 2009 00:00:11 +0000 (00:00 +0000)]
daily update
Alan Modra [Wed, 16 Sep 2009 00:00:10 +0000 (00:00 +0000)]
daily update
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
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.
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.
Alan Modra [Tue, 15 Sep 2009 00:00:13 +0000 (00:00 +0000)]
daily update
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.
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.
Nick Clifton [Mon, 14 Sep 2009 12:25:03 +0000 (12:25 +0000)]
Updated German, Dutch and Finnish translations.
Alan Modra [Mon, 14 Sep 2009 00:00:12 +0000 (00:00 +0000)]
daily update
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.
Alan Modra [Sun, 13 Sep 2009 00:00:09 +0000 (00:00 +0000)]
daily update
Alan Modra [Sat, 12 Sep 2009 00:00:16 +0000 (00:00 +0000)]
daily update
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.
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.
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.
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.
Alan Modra [Fri, 11 Sep 2009 00:00:10 +0000 (00:00 +0000)]
daily update
Hans-Peter Nilsson [Thu, 10 Sep 2009 23:24:09 +0000 (23:24 +0000)]
PR gas/10623
* config/tc-mmix.c (md_assemble) <case mmix_operands_xyz_opt>:
Allow register operands for SWYM as for TRIP and TRAP. Correct
operand handling and error checking. Never emit
BFD_RELOC_MMIX_REG_OR_BYTE for operands to these insns.
Hans-Peter Nilsson [Thu, 10 Sep 2009 23:23:06 +0000 (23:23 +0000)]
PR gas/10623
* gas/mmix/err-swym1.s, gas/mmix/swym-opreg1.d,
gas/mmix/swym-opreg1.s, gas/mmix/swym-opreg2.d,
gas/mmix/swym-opreg2.s: New tests.
* gas/mmix/odd-1.d: Adjust for reloc change.
nobody [Thu, 10 Sep 2009 22:32:11 +0000 (22:32 +0000)]
This commit was manufactured by cvs2svn to create branch 'binutils-
2_20-branch'.
Cherrypick from master 2009-09-10 22:32:10 UTC Hans-Peter Nilsson <hp@axis.com> ' PR gas/10623':
gas/testsuite/gas/mmix/err-swym1.s
gas/testsuite/gas/mmix/swym-opreg1.d
gas/testsuite/gas/mmix/swym-opreg1.s
gas/testsuite/gas/mmix/swym-opreg2.d
gas/testsuite/gas/mmix/swym-opreg2.s
Alan Modra [Thu, 10 Sep 2009 14:33:15 +0000 (14:33 +0000)]
gas/
* config/tc-d10v.c: Include dwarf2dbg.h.
(write_long, write_1_short, write_2_short): Call dwarf2_emit_insn.
(d10v_frob_label): New function.
* config/tc-d10v.h (d10v_frob_label): Declare.
(tc_frob_label): Define as d10v_frob_label.
gas/testsuite/
* gas/lns/lns-common-1.s: Use two nops between each .loc.
* gas/lns/lns.exp: Don't exclude d10v.
Alan Modra [Thu, 10 Sep 2009 14:09:42 +0000 (14:09 +0000)]
* config/tc-d30v.c (d30v_frob_label): Call dwarf2_emit_label.
* config/tc-frv.c (frv_frob_label): Likewise.
Nick Clifton [Thu, 10 Sep 2009 13:42:10 +0000 (13:42 +0000)]
Update soruces to compile cleanly with -Wc++-compat:
* addr2line.c (slurp_symtab): Fix casts. Introduce variable
minisyms to avoid aliasing varning.
* ar.c: Add casts.
(normalize): Use name del instead of delete.
(display_target_list,display_info_table): Change loop counter
variable a to int.
* bucomm.c: Add casts.
* debug.c: Update function to use new names.
(struct debug_baseclass): Rename member from virtual to
is_virtual.
(struct debug_type_s, struct debug_field_s, struct
debug_baseclass_s, struct debug_method_s, struct
debug_method_variant_s, struct debug_type_s): Rename struct from
avoid name collision.
* debug.h: Use new struct names.
* dwarf.c: Add casts.
(free_debug_memory): Change loop counter variable a to int.
* ieee.c: Add casts.
(enum ieee_var_kind): Move to top level.
(ieee_class_baseclass): Rename parameter virtual to is_virtual.
(ieee_class_method_var): Rename variable virtual to is_virtual.
* nm.c: Add casts.
* objcopy.c: Add casts.
(copy_archive): Rename variable delete to del.
* objdump.c: Add casts.
(dump_dwarf_section): Change loop counter variable i to int.
* prdbg.c: Add casts.
(pr_class_baseclass,tg_class_baseclass): Rename parameters virtual
to is_virtual.
* readelf.c: Add casts.
(struct ia64_unw_table_entry,struct hppa_unw_table_entry): Move to
top level.
* size.c: Add casts.
* stabs.c (parse_stab_type, parse_stab_range_type,
(parse_stab_cpp_abbrev): Rename parameter from typename to
type_name.
(parse_stab_baseclasses): Rename variable virtual to is_virtual.
* strings.c: Add casts.
* wrstabs.c (stab_class_baseclass): Rename parameter virtual to
is_virtual.
Tristan Gingold [Thu, 10 Sep 2009 12:05:00 +0000 (12:05 +0000)]
bfd/
2009-09-10 Tristan Gingold <gingold@adacore.com>
* configure.in: Bump version to 2.19.91
* configure: Regenerate.
Alan Modra [Thu, 10 Sep 2009 00:00:15 +0000 (00:00 +0000)]
daily update
Kaz Kojima [Wed, 9 Sep 2009 23:20:03 +0000 (23:20 +0000)]
* gas/sh/sh64/syntax-1.s: Regenerate.
Nick Clifton [Wed, 9 Sep 2009 21:40:20 +0000 (21:40 +0000)]
Updated soruces in bfd/* to compile cleanly with -Wc++-compat.
* bfd/aoutx.h: Add casts.
* bfd/archive.c: Add casts.
* bfd/archive64.c: Add casts.
* bfd/archures.c: Add casts.
* bfd/bfd-in2.h: Regenerated.
* bfd/bfd.c: Add casts. (enum bfd_direction): Move out to top
level.
* bfd/bfdio.c: Add casts.
* bfd/binary.c: Add casts.
* bfd/cache.c (cache_bseek,cache_bread_1,cache_bwrite): Updated
parameter to use enum value instead of int.
* bfd/coffcode.h: Add casts.
* bfd/coffgen.c: Add casts.
* bfd/cofflink.c: Add casts.
* bfd/compress.c: Add casts.
* bfd/dwarf1.c: Add casts.
* bfd/dwarf2.c: Add casts. (struct dwarf2_debug): Rename member
bfd to bfd_ptr. Update code to use new name.
* bfd/elf-attrs.c: Add casts.
* bfd/elf-bfd.h (elf_link_virtual_table_entry): Gives name to
anonymous struct. (union gotplt_union, struct
elf_link_virtual_table_entry): Move to top level.
* bfd/elf-eh-frame.c: Add casts.
* bfd/elf-strtab.c: Add casts.
* bfd/elf.c: Add casts. (_bfd_elm_make_Section_from_phdr): Change
argument name from typename to type_name.
* bfd/elf32-i386.c: Add casts.
* bfd/elf64-x86-64.c: Add casts.
* bfd/elfcode.h: Add casts.
* bfd/elfcore.h: Add casts.
* bfd/elflink.c: Add casts.
* bfd/format.c: Add casts.
* bfd/hash.c: Add casts.
* bfd/ihex.c: Add casts.
* bfd/libaout.h (enum aout_subformat, enum aout_magic): Move to
top level.
* bfd/libbfd.c: Add casts.
* bfd/linker.c: Add casts.
* bfd/merge.c: Add casts.
* bfd/opncls.c: Add casts.
* bfd/peXXigen.c: Add casts.
* bfd/peicode.h: Add casts.
* bfd/reloc.c: Add casts.
* bfd/section.c: Add casts.
* bfd/simple.c: Add casts.
* bfd/srec.c: Add casts.
* bfd/stabs.c: Add casts.
* bfd/syms.c: Add casts.
* bfd/targets.c: Add casts.
* bfd/tekhex.c: Add casts.
* bfd/verilog.c: Add casts.
* include/bfdlink.h (struct bfd_link_hash_common_entry): Move to
top level.
Nick Clifton [Wed, 9 Sep 2009 15:05:51 +0000 (15:05 +0000)]
PR 10478:
* elf.c (bfd_section_from_shdr): Do not reject sparc binaries with
section headers containing sh_link values of SHN_BEFORE or
SHN_AFTER.
* elfcode.h (elf_object_p): Likewise.
readelf.c (get_elf_section_flags): Add support for SHF_EXCLUDE and
SHF_ORDERED.
(process_section_headers): Warn about out of range sh_link
values. When displaying detailed section header information
annote the SHN_BEFORE and SHN_AFTER values.
Alan Modra [Wed, 9 Sep 2009 13:20:29 +0000 (13:20 +0000)]
* config/obj-coff.h (USE_UNIQUE): Don't define.
* config/obj-coff.c (weak_uniquify): Use an_external_name when TE_PE.
* symbols.c (an_external_name): Define when TE_PE.
(S_SET_EXTERNAL): Assign an_external_name when TE_PE.
* tc.h (an_external_name): Declare when TE_PE.
Alan Modra [Wed, 9 Sep 2009 12:15:12 +0000 (12:15 +0000)]
* ld-elf/sec64k.exp: For frv-linux use "aw" sections.
* ld-elf/seg.d: Cater for GNU_STACK segment.
* ld-elf/symbol1ref.s: Use data section.
* ld-elf/symbol2ref.s: Likewise.
* ld-scripts/empty-address-1.d: Don't run on frv-linux.
* ld-scripts/empty-address-2a.d: Likewise.
* ld-scripts/empty-address-2b.d: Likewise.
* ld-scripts/empty-aligned.d: Likewise.
* ld-elf/extract-symbol-1sym.d: Tolerate extra target supplied syms.
* ld-scripts/sort_b_a-1.d: Likewise.
* ld-scripts/sort_b_a.d: Likewise.
* ld-scripts/sort_b_a_a-1.d: Likewise.
* ld-scripts/sort_b_a_a-2.d: Likewise.
* ld-scripts/sort_b_a_a-3.d: Likewise.
* ld-scripts/sort_b_a_n-1.d: Likewise.
* ld-scripts/sort_b_a_n-2.d: Likewise.
* ld-scripts/sort_b_a_n-3.d: Likewise.
* ld-scripts/sort_b_n-1.d: Likewise.
* ld-scripts/sort_b_n.d: Likewise.
* ld-scripts/sort_b_n_a-1.d: Likewise.
* ld-scripts/sort_b_n_a-2.d: Likewise.
* ld-scripts/sort_b_n_a-3.d: Likewise.
* ld-scripts/sort_b_n_n-1.d: Likewise.
* ld-scripts/sort_b_n_n-2.d: Likewise.
* ld-scripts/sort_b_n_n-3.d: Likewise.
* ld-scripts/sort_no-1.d: Likewise.
* ld-scripts/sort_no-2.d: Likewise.
Alan Modra [Wed, 9 Sep 2009 12:00:22 +0000 (12:00 +0000)]
Only provide ENTRY on final link.
Alan Modra [Wed, 9 Sep 2009 09:31:33 +0000 (09:31 +0000)]
* config/tc-i386.c (i386_target_format): Avoid duplicate case label.
Alan Modra [Wed, 9 Sep 2009 01:44:15 +0000 (01:44 +0000)]
* elf32-xtensa.c (elf_xtensa_relax_section): Delete -r check.
Alan Modra [Wed, 9 Sep 2009 00:00:11 +0000 (00:00 +0000)]
daily update
Kaz Kojima [Tue, 8 Sep 2009 12:35:32 +0000 (12:35 +0000)]
* configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
* gas/sh/basic.exp: Add -big to ASFLAGS for sh*l*-*-netbsdelf*.
Alan Modra [Tue, 8 Sep 2009 10:53:22 +0000 (10:53 +0000)]
gas/
* read.c (emit_expr_fix): Handle size 3.
* config/tc-avr.c (md_assemble): Call dwarf2_emit_insn.
* config/tc-d30v.c (write_long, write_1_short,
write_2_short, md_assemble): Likewise.
* config/tc-dlx.c (md_assemble): Likewise.
* config/tc-i860.c (md_assemble): Likewise.
* config/tc-mn10200.c (md_assemble): Likewise.
* config/tc-pj.c (md_assemble): Likewise.
* config/tc-vax.c (md_assemble): Likewise.
gas/testsuite/
* gas/d30v/serial2.l: Adjust position of page break.
* gas/lns/lns-common-1-alt.d: Match 2009-04-24 change.
* gas/mt/ms1-16-003.d: Correct reloc name.
* gas/mt/relocs.d: Elide incorrect file format strings.
Alan Modra [Tue, 8 Sep 2009 10:48:48 +0000 (10:48 +0000)]
* binutils-all/objdump.exp (cpus_expected): Add ms1.
2009-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
* binutils-all/testranges.s (.debug_info): Pad the only CU.
* binutils-all/testranges.s: Replace all .long by .4byte.