aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-18 * lib/ld-lib.exp (check_gc_sections_available): Fail more targets.Alan Modra34-45/+151
* ld-discard/discard.exp: Move xfails from here.. * ld-discard/extern.d: ..to here. * ld-discard/start.d: ..and here. * ld-discard/static.d: ..and here. * ld-elf/binutils.exp: Don't run tbss1 and tbss2 tests on hppa64. * ld-elf/empty2.d: Remove xfails. * ld-elf/flags1.d: xfail hppa64. * ld-elf/group1.d: Add comment. * ld-elf/group2.d: xfail cr16 and crx. * ld-elf/group3b.d: Correct xfail and add comment. * ld-elf/group4.d: xfail cr16 and crx. * ld-elf/group5.d: Likewise. * ld-elf/group6.d: Likewise. * ld-elf/group7.d: Likewise. * ld-elf/group8a.d: Add more notarget and xfail entries. Comment. * ld-elf/group8b.d: Likewise. * ld-elf/group9a.d: Likewise. * ld-elf/group9b.d: Likewise. * ld-elf/linkonce2.d: Correct notarget and comment. * ld-elf/merge2.d: Remove iq2000 from xfail. * ld-elf/multibss1.d: xfail hppa64. * ld-elf/nobits-1.d: Likewise. * ld-elf/note-1.d: Likewise. * ld-elf/note-2.d: Likewise. * ld-elf/orphan-region.d: Add xfails. * ld-elf/orphan-region.ld: Discard some sections. * ld-elf/orphan.d: Add xfails. * ld-elf/orphan.ld: Discard some sections. * ld-elf/orphan3.d: Replace xfail frv-*-* with frv-*-elf. Remove cr16, crx and d10v. * ld-elf/pr349.d: Add xfails. * ld-elf/warn2.d: Add xfails. Tweak symbol section for hppa64. * ld-scripts/rgn-at5.t: Discard .reginfo.
2010-09-18Fix date.H.J. Lu1-1/+1
2010-09-18Add a target argument.H.J. Lu2-6/+24
2010-09-15 H.J. Lu <hongjiu.lu@intel.com> * emul_aix.c (ar_emul_aix_append): Add a target argument and ignore it if it is set. (ar_emul_aix5_append): Likewise. (ar_emul_aix_replace): Likewise. (ar_emul_aix5_replace): Likewise.
2010-09-18 * testsuite/Makefile.am (memory_test.o): New target.Ian Lance Taylor3-4/+10
(memory_test): Depend on memory_test.o, gcctestdir/ld, and memory_test.t. * testsuite/Makefile.in: Rebuild.
2010-09-18 * testsuite/memory_test.sh: Adjust for change of 2010-09-10.Ian Lance Taylor2-1/+5
2010-09-18daily updateAlan Modra1-1/+1
2010-09-18*** empty log message ***gdbadmin1-1/+1
2010-09-172010-09-17 Doug Kwan <dougkwan@google.com>Doug Kwan4-40/+56
* arm.cc (Target_arm::Relocate::relocate): Ignore symbol type and defintion if relocation uses GOT entries of the symbol. * testsuite/icf_safe_test.sh: Fix test. * testsuite/icf_safe_so_test.sh: Fix test.
2010-09-172010-09-17 Tejas Belagod <tejas.belagod@arm.com>Matthew Gretton-Dann5-21/+83
* config/tc-arm.c (do_t_ldmstm): Add logic to handle single-register list for ldm/stm. 2010-09-17 Tejas Belagod <tejas.belagod@arm.com> * gas/arm/thumb2_ldmstm.d: Change single-register stmia to use 16-bit str encoding instead of str.w. Likewise for ldmia. * gas/arm/thumb2_ldmstm.s: Change stmia comment. Add tests for T1 ldmia-to-ldr.
2010-09-172010-09-17 Tejas Belagod <tejas.belagod@arm.com>Matthew Gretton-Dann14-1/+1038
* config/tc-arm.c (parse_psr): Add condition for matching "APSR" on non-M-arch cpus. (psrs): Add entry for PSR flags, g, nzcvq, nzcvqg. 2010-09-17 Tejas Belagod <tejas.belagod@arm.com> * gas/arm/msr-reg.s: New file. * gas/arm/msr-reg.d: Likewise. * gas/arm/msr-imm.s: Likewise. * gas/arm/msr-imm.d: Likewise. * gas/arm/msr-imm-bad.d: Likewise. * gas/arm/msr-imm-bad.l: Likewise. * gas/arm/msr-reg-bad.d: Likewise. * gas/arm/msr-imm-bad.d: Likewise. * gas/arm/msr-reg-thumb.d: Likewise. * gas/arm/arch7.s: Add tests for xpsr. * gas/arm/arch7.d: Likewise.
2010-09-172010-09-17 Tejas Belagod <tejas.belagod@arm.com>Matthew Gretton-Dann7-2/+22
* config/tc-arm.c (insns): Change MRC entry to accept APSR_RR instead of just RR. 2010-09-17 Tejas Belagod <tejas.belagod@arm.com> * gas/arm/copro.s: Add test for APSR_nzcv as a MRC operand. * gas/arm/copro.d: Change pc in MRC to disassemble as APSR_nzcv. Also add disassembly for test added in copro.s 2010-09-17 Tejas Belagod <tejas.belagod@arm.com> * arm_dis.c (coprocessor_opcodes): Add MRC entry for APSR_nzcv.
2010-09-17*** empty log message ***gdbadmin1-1/+1
2010-09-17daily updateAlan Modra1-1/+1
2010-09-16 PR gas/12011Alan Modra11-7/+30
* config/obj-elf.c (obj_elf_parse_section_letters): Correct test for error return from md_elf_section_letter. * config/tc-alpha.c (alpha_elf_section_letter): Correct error message. * config/tc-i386.c (x86_64_section_letter): Likewise. * config/tc-ia64.c (ia64_elf_section_letter): Likewise. * config/tc-mep.c (mep_elf_section_letter): Likewise. * gas/elf/bad-section-flag.d, * gas/elf/bad-section-flag.err, * gas/elf/bad-section-flag.s: New test. * gas/elf/elf.exp: Run it.
2010-09-16gdb/Jan Kratochvil2-2/+12
* charset.c (wchar_iterate) <EILSEQ>: Return any possibly converted characters.
2010-09-16 * script_sections.cc (class Memory_region): Remove "NULL" fromCary Coutant2-2/+7
vector initializations.
2010-09-162010-09-16 Phil Muldoon <pmuldoon@redhat.com>Phil Muldoon7-17/+388
PR mi/11407 * mi/mi-cmd-stack.c (list_args_or_locals): Catch exceptions from read_var_value and common_val_print and print a warning. 2010-09-16 Phil Muldoon <pmuldoon@redhat.com> Jan Kratochvil <jan.kratochvil@redhat.com> PR mi/11407 * gdb.mi/dw2-ref-missing-frame-func.c: New File. * gdb.mi/dw2-ref-missing-frame-main.c New File. * gdb.mi/dw2-ref-missing-frame.S New File. * gdb.mi/dw2-ref-missing-frame.exp New File.
2010-09-16 * ld-elf/orphan-region.d: xfail for spu.Alan Modra3-0/+5
* ld-elf/relocatable.d: xfail for hppa.
2010-09-16 * elf32-spu.c (spu_elf_size_sections): Omit fixups for non-allocAlan Modra2-4/+25
sections. (spu_elf_create_sections): Mark .fixup with SEC_LINKER_CREATED and set dynobj. (spu_elf_finish_dynamic_sections): New function. (elf_backend_finish_dynamic_sections): Define.
2010-09-16 * binutils-all/i386/i386.exp: Don't run on linuxaout.Alan Modra2-1/+5
2010-09-16 * gas/all/redef3.d: Don't run on arc.Alan Modra3-6/+11
* gas/i386/i386.exp: Don't run intel-got32 on linuxaout. Move x86_64 mingw exclusions to equivalent elf only block of tests.
2010-09-16 * ld-elf/group3b.d: Disable for generic linker targets.Alan Modra7-12/+25
* ld-elf/linkonce2.d: Likewise. * ld-scripts/empty-address-2a.d: Disable for frv and aout,oldld. * ld-scripts/empty-address-2b.d: Likewise. * ld-scripts/rgn-at5.s: Don't use .word. * ld-scripts/rgn-at5.d: Update.
2010-09-16bfd/Alan Modra7-22/+33
* elf.c (bfd_elf_get_default_section_type): Don't test SEC_NEVER_LOAD. * elflink.c (elf_link_input_bfd): Likewise. ld/ * ld.texinfo (NOLOAD): Do not erroneously state that contents will appear in output file. * ldlang.c (lang_add_section): Clear SEC_HAS_CONTENTS on noload unless SEC_COFF_SHARED_LIBRARY. (map_input_to_output_sections): Don't set SEC_HAS_CONTENTS for noload output sections. (lang_size_sections_1): Don't test SEC_NEVER_LOAD when deciding to update dot in region. Ditto when setting SEC_ALLOC if dot advanced due to assignment. * ldwrite.c (build_link_order): Don't test SEC_NEVER_LOAD.
2010-09-16*** empty log message ***gdbadmin1-1/+1
2010-09-16daily updateAlan Modra1-1/+1
2010-09-15gdb/Jan Kratochvil2-1/+6
* MAINTAINERS (GLOBAL MAINTAINERS) <Jan Kratochvil>: Move the entry to keep the list in alphabetical order. Use longer e-mail address.
2010-09-15 * MAINTAINERS (GLOBAL MAINTAINERS): Add Jan Kratochvil.Tom Tromey2-0/+5
2010-09-15 * charset.c (iconv_open): New define.Tom Tromey3-15/+65
(iconv): Likewise. (iconv_close): Likewise. (phony_iconv_open): Add "phony_" prefix. (phony_iconv_close): Likewise. (phony_iconv): Likewise. * gdb_wchar.h: Check _LIBICONV_VERSION, __STDC_ISO_10646__. Change how INTERMEDIATE_ENCODING is defined.
2010-09-15Fix intendKai Tietz1-2/+2
2010-09-15ChangeLog gasKai Tietz6-16/+113
2010-09-15 Kai Tietz <kai.tietz@onevision.com> * config/obj-coff-seh.c (seh_validate_seg): New funtion. (obj_coff_seh_endproc): Add check for segment. (obj_coff_seh_endprologue): Likewise. (obj_coff_seh_pushreg): Likewise. (obj_coff_seh_pushframe): Likewise. (obj_coff_seh_save): Likewise. (obj_coff_seh_setframe): Likewise. ChangeLog gas/testsuite 2010-09-15 Kai Tietz <kai.tietz@onevision.com> * gas/pe/pe.exp: Add new test. * gas/pe/seh-x64-err-1.l: New. * gas/pe/seh-x64-err-1.s: New.
2010-09-15ChangeLog gasKai Tietz11-27/+765
2010-09-15 Kai Tietz <kai.tietz@onevision.com> * config/obj-coff-seh.h (seh_context): New member code_seg. * config/obj-coff-seh.c: Implementing xdata/pdata section cloning for link-once code-segment. ChangeLog ld 2010-09-15 Kai Tietz <kai.tietz@onevision.com> * scripttempl/pep.sc: Add .xdata segment and put into .pdata all segments beginning with .pdata. ChangeLog gas/testsuite 2010-09-15 Kai Tietz <kai.tietz@onevision.com> * gas/pe/pe.exp: Add peseh-x64-4,5,6 tests. * gas/pe/peseh-x64-4.s: New. * gas/pe/peseh-x64-4.d: New. * gas/pe/peseh-x64-5.d: New. * gas/pe/peseh-x64-6.d: New.
2010-09-152010-09-15 Paul Bolle <pebolle@tiscali.nl>Tom Tromey2-1/+6
* gdb.texinfo (Character Sets): Correctly reference host-charset in example.
2010-09-15 * dwarf2read.c (struct die_info): Fix comment.Doug Evans2-2/+5
2010-09-15 * incremental.cc (Output_section_incremental_inputs::write_info_blocks):Cary Coutant2-0/+7
Resolve forwarding symbols.
2010-09-152010-09-15 Doug Kwan <dougkwan@google.com>Doug Kwan7-1/+26
* gold/testsuite/script_test_3.t: Add ARM special sections. * gold/testsuite/script_test_4.t: Same. * gold/testsuite/script_test_5.t: Same. * gold/testsuite/script_test_6.t: Same. * gold/testsuite/script_test_7.t: Same. * gold/testsuite/script_test_7.t: Same. * gold/testsuite/thumb_blx_out_of_range.s: Fix instruction alignment.
2010-09-152010-09-15 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-76/+129
* pei-x86_64.c (pex64_get_unwind_info): Reorgnized. (pex64_get_scope_entry): Removed. (find_next_xdata_or_end): New helper. (pex64_dump_xdata): Reworked. (pex64_bfd_print_pdata): Add checking for valid pdata sorting and values. Reworked output.
2010-09-15Handle NULL iostream in bfd_plugin_object_p.H.J. Lu2-10/+20
2010-09-15 H.J. Lu <hongjiu.lu@intel.com> PR binutils/12004 * plugin.c (bfd_plugin_object_p): Handle NULL iostream.
2010-09-15Pass "plugin" as target for "ar --plugin" when opening a BFD file.H.J. Lu4-23/+55
2010-09-15 H.J. Lu <hongjiu.lu@intel.com> * ar.c (plugin_target): New. (main): Set plugin_target to "plugin" for --plugin. (open_inarch): Initialize target to plugin_target. (replace_members): Pass plugin_target to ar_emul_replace and ar_emul_append. * binemul.h (ar_emul_append): Add a target argument. (ar_emul_default_append): Likewise. (ar_emul_replace): Likewise. (ar_emul_default_replace): Likewise. (bin_emulation_xfer_struct): Add a target argument to ar_append and ar_replace. * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr. (do_ar_emul_default_append): Likewise. (ar_emul_default_append): Likewise. (ar_emul_replace): Likewise. (ar_emul_default_replace): Likewise.
2010-09-15 PR 4606Alan Modra2-3/+8
* gcore.c (gcore_create_callback): Clear SEC_HAS_CONTENTS rather than setting SEC_NEVER_LOAD on sections that need not be copied.
2010-09-15*** empty log message ***gdbadmin1-1/+1
2010-09-15daily updateAlan Modra1-1/+1
2010-09-14 opcodes/Maciej W. Rozycki7-0/+104
* mips-opc.c (mips_builtin_opcodes): Add "sync_acquire", "sync_mb", "sync_release", "sync_rmb" and "sync_wmb". gas/testsuite/ * gas/mips/mips32r2-sync.d: New test for MIPS32r2 "sync" instruction variants. * gas/mips/octeon@mips32r2-sync.d: Likewise, Octeon version. * gas/mips/mips32r2-sync.s: Source for the new test. * gas/mips/mips.exp: Run the new test.
2010-09-14 * psympriv.h (add_psymbol_to_list, init_psymbol_list)Tom Tromey4-57/+64
(start_psymtab_common, allocate_psymtab, discard_psymtab): Declare. * symfile.h (extend_psymbol_list): Remove. (add_psymbol_to_list, init_psymbol_list, start_psymtab_common) (allocate_psymtab, discard_psymtab): Move to psympriv.h. * psymtab.c (extend_psymbol_list): Move earlier. Now static.
2010-09-14 * x86_64.cc (Target_x86_64::saw_tls_block_reloc_): Remove member.Cary Coutant2-32/+47
(Target_x86_64::Relocate::relocate_tls): Replace check for saw_tls_block_reloc_ with test for executable section.
2010-09-14gdb/Jan Kratochvil2-4/+8
* dwarf2read.c (dw2_map_ada_symtabs): Remove the internal_error. Update the comment.
2010-09-142010-09-14 Kai Tietz <kai.tietz@onevision.com>Kai Tietz3-6/+10
* pe-x86_64.c (COFF_SECTION_ALIGNMENT_ENTRIES): Make .rdata, .data, and .text partial matched section names. * pei-x86_64.c: Likewise.
2010-09-142010-09-14 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2-0/+42
* peXXigen.c (sort_x64_pdata): New helper. (_bfd_XXi_final_link_postscript): Do pdata sorting.
2010-09-14gdbTom Tromey4-7/+15
PR symtab/8399: * dwarf2loc.c (locexpr_describe_location_piece): Don't call error for unrecognized frame base expression. gdb/testsuite PR symtab/8399: * gdb.threads/tls.exp: Remove kfail. Update expected output.
2010-09-14gdbTom Tromey5-21/+31
PR exp/11803: * value.c (value_static_field): Use value_of_variable. gdb/testsuite PR exp/11803: * gdb.threads/tls.exp: Use C++. (check_thread_local): Use K::another_thread_local. * gdb.threads/tls.c (class K): New. (another_thread_local): Now a member of K. (spin): Update. No longer K&R C.
2010-09-14 * doc/c-arm.texi: Document -mcpu=cortex-m4.Jie Zhang2-0/+5