aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-10-16bfd/binutils-2_20Tristan Gingold88-4/+129567
2009-10-16 Tristan Gingold <gingold@adacore.com> * configure.in: Bump version to 2.20 * Makefile.am (RELEASE): Set. * configure, Makefile.in: Regenerate.
2009-10-162009-10-16 Alan Modra <amodra@bigpond.net.au>Tristan Gingold4-17/+35
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.
2009-10-16 * Makefile.def: check-gold depends upon all-gas.Ian Lance Taylor3-0/+14
* Makefile.in: Rebuild.
2009-10-16Merge elfcpp and gold from trunk.Ian Lance Taylor60-859/+5809
2009-10-15daily updateAlan Modra1-1/+1
2009-10-14daily updateAlan Modra1-1/+1
2009-10-142009-10-14 Andreas Schwab <schwab@linux-m68k.org>Tristan Gingold2-8/+15
* ldlex.l (yy_input): Remove second argument and return the value instead. (YY_INPUT): Adjust.
2009-10-142009-10-14 Ryan Mansfield <rmansfield@qnx.com>Tristan Gingold2-1/+9
* ldlang.c (load_symbols): Set whole_archive from entry when parsing a linker script.
2009-10-13daily updateAlan Modra1-1/+1
2009-10-13This commit was manufactured by cvs2svn to create branch 'binutils-nobody17-0/+575
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
2009-10-132009-10-13 Alan Modra <amodra@bigpond.net.au>Tristan Gingold2-36/+82
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.
2009-10-12daily updateAlan Modra1-1/+1
2009-10-11daily updateAlan Modra1-1/+1
2009-10-10daily updateAlan Modra1-1/+1
2009-10-09daily updateAlan Modra1-1/+1
2009-10-09 PR ld/10749Alan Modra27-931/+1007
* 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.
2009-10-08daily updateAlan Modra1-1/+1
2009-10-07daily updateAlan Modra1-1/+1
2009-10-07 PR gas/10704Alan Modra2-4/+6
* symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.
2009-10-07 * read.c (s_reloc): Don't use expression_and_evaluate.Alan Modra2-1/+5
2009-10-06Updated Finnish translationNick Clifton2-164/+247
2009-10-06bfd/Tristan Gingold3-2/+7
2009-10-06 Tristan Gingold <gingold@adacore.com> * configure.in: Bump version to 2.19.92 * configure: Regenerate.
2009-10-062009-10-06 Jakub Jelinek <jakub@redhat.com>Tristan Gingold4-57/+288
* 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.
2009-10-05daily updateAlan Modra1-1/+1
2009-10-04daily updateAlan Modra1-1/+1
2009-10-03daily updateAlan Modra1-1/+1
2009-10-03 * arm-dis.c (print_insn): Check symtab_size not *symtab.Alan Modra2-2/+5
2009-10-03daily updateAlan Modra1-1/+1
2009-10-02typo fixAlan Modra3-17/+17
2009-10-02ld/Alan Modra12-14/+68
* 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.
2009-10-02gas/Peter Bergner10-85/+127
* 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.
2009-10-02This commit was manufactured by cvs2svn to create branch 'binutils-nobody2-0/+977
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
2009-10-02 * cofflink.c (_bfd_coff_generic_relocate_section): Look for the auxDave Korn2-1/+6
symbol for a weak undef in the auxbfd, not the input bfd.
2009-10-022009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>Tristan Gingold2-1/+5
* crx-dis.c (match_opcode): Truncate mcode to 32-bit.
2009-10-02daily updateAlan Modra1-1/+1
2009-10-01 * lib/ld-lib.exp (ld_simple_link_defsyms): New proc, addingAlan Modra4-33/+54
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.
2009-10-01gas/Peter Bergner10-9/+28
* 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".
2009-10-01bfd/Ulrich Weigand4-109/+146
* 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.
2009-10-01 * addr2line.c (slurp_symtab): Don't use bfd_read_minisymbols.Alan Modra2-14/+28
2009-10-01daily updateAlan Modra1-1/+1
2009-09-30For Tru64.Tristan Gingold2-0/+7
2009-09-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * hashtab.c [HAVE_INTTYPES_H]: Include <inttypes.h>.
2009-09-302009-09-30 Matthias Klose <doko@ubuntu.com>Tristan Gingold2-1/+7
PR ld/9863 * emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE with __data_start.
2009-09-302009-09-30 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+7
* configure.com: Use hosts/alphavms.h on both alpha and ia64 VMS.
2009-09-30daily updateAlan Modra1-1/+1
2009-09-29 * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75Nick Clifton2-1/+6
(rts).
2009-09-29 * doc/binutils.texi (c++filt): Remove spurious description ofNick Clifton2-5/+5
nonexistent --java command line switch for cxxfilt.
2009-09-29opcodes/Peter Bergner7-288/+269
* 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.
2009-09-292009-09-29 Alan Modra <amodra@bigpond.net.au>Alan Modra27-981/+979
* 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.
2009-09-29daily updateAlan Modra1-1/+1
2009-09-28 * ld-mips-elf/mips-elf.exp: Only run attribute tests on LinuxNick Clifton2-0/+10
targets.