aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-11-192009-11-18 Sebastian Pop <sebastian.pop@amd.com>Sebastian Pop4-93/+107
opcodes/ PR binutils/10973 * i386-dis.c (get_vex_imm8): Do not increment codep. Avoid incrementing bytes_before_imm when OP_E_memory has already forwarded the codep pointer. (OP_EX_VexW): Increment codep to skip mod/rm byte. gas/testsuite/ * gas/i386/x86-64-xop.d: Update patterns.
2009-11-19 PR ld/9863Alan Modra2-1/+7
* emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE with __data_start.
2009-11-19binutils/Ben Elliston5-1/+16
* arlex.l: Enable noinput, nounput flex options. * syslex.l: Likewise. ld/ * ldlex.l: Enable nounput flex option.
2009-11-19*** empty log message ***gdbadmin1-1/+1
2009-11-18daily updateAlan Modra1-1/+1
2009-11-18 * cli/cli-script.c (process_next_line): Recognize 'end'Vladimir Prus2-10/+21
even when the line has leading space and we're not parsing commands.
2009-11-182009-11-18 Sebastian Pop <sebastian.pop@amd.com>Sebastian Pop16-2871/+2507
gas/ * config/tc-i386.c (cpu_arch): Remove cvt16. (md_show_usage): Same. * doc/c-i386.texi: Same. gas/testsuite/ * gas/i386/cvt16.d: Removed. * gas/i386/cvt16.s: Removed. * gas/i386/x86-64-cvt16.d: Removed. * gas/i386/x86-64-cvt16.s: Removed. * gas/i386/i386.exp: Remove cvt16 and x86-64-cvt16 tests. opcodes/ * i386-dis.c (VEX_LEN_XOP_08_A0): Removed. (VEX_LEN_XOP_08_A1): Removed. (xop_table): Remove entries for VEX_LEN_XOP_08_A0 and VEX_LEN_XOP_08_A1. (vex_len_table): Same. * i386-gen.c (CPU_CVT16_FLAGS): Removed. (cpu_flags): Remove field for CpuCVT16. * i386-opc.h (CpuCVT16): Removed. (i386_cpu_flags): Remove bitfield cpucvt16. (i386-opc.tbl): Remove CVT16 instructions. * i386-init.h: Regenerated. * i386-tbl.h: Regenerated.
2009-11-18Remove suffix on fxsave.H.J. Lu2-9/+13
2009-11-18 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/rex.d: Remove suffix on fxsave.
2009-11-18 * ld-elf/extract-symbol-1sec.d: Expect to fail for the RX target.Nick Clifton8-1/+30
* ld-scripts/overlay-size.d: Likewise. * ld-scripts/rgn-at1.d: Likewise. * ld-scripts/rgn-at2.d: Likewise. * ld-scripts/rgn-at3.d: Likewise. * ld-scripts/rgn-at4.d: Likewise. * ld-scripts/rgn-over8-ok.d: Likewise.
2009-11-18 * symtab.c (symbol_set_names): Correctly set 'name' on symbol whenTom Tromey2-1/+6
lookup name differs.
2009-11-182009-11-18 Paul Brook <paul@codesourcery.com>Paul Brook4-1/+13
gas/ * config/tc-arm.c (arm_fpus): Add fpv4-sp-d16. (aeabi_set_public_attributes): Correctly mark VFPv3xD. include/opcode/ * arm.h (FPU_VFP_V4_SP_D16, FPU_ARCH_VFP_V4_SP_D16): Define.
2009-11-182009-11-18 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+8
* machoread.c (macho_oso_symfile): Fix typo. Add comments.
2009-11-18bfd/Alan Modra7-60/+77
* bfd-in.h (_bfd_elf_ppc_at_tls_transform): Declare. * bfd-in2.h: Regenerate. * elf64-ppc.c (ppc64_elf_relocate_section): Move code for R_PPC64_TLS insn optimisation to.. * elf32-ppc.c (_bfd_elf_ppc_at_tls_transform): ..here. New function. (ppc_elf_relocate_section): Use it. gas/ * config/tc-ppc.c (md_assemble): Report error on invalid @tls operands and opcode.
2009-11-18 * targets.c: Don't include alloca-conf.h.Alan Modra2-2/+7
(bfd_get_target_info): Don't use alloca.
2009-11-18 * alloca-conf.h: Clarify comment.Alan Modra2-1/+6
2009-11-182009-11-17 Sebastian Pop <sebastian.pop@amd.com>Sebastian Pop21-4738/+11889
Quentin Neill <quentin.neill@amd.com> gas/ * config/tc-i386.c (cpu_arch): Added .xop and .cvt16. (build_vex_prefix): Handle xop08. (md_assemble): Don't special case the constant 3 for insns using MODRM. (build_modrm_byte): Handle vex2sources. (md_show_usage): Add xop and cvt16. * doc/c-i386.texi: Document fma4, xop, and cvt16. gas/testsuite/ * gas/i386/i386.exp: Run xop and cvt16 in 32-bit mode. Run x86-64-xop and x86-64-cvt16 in 64-bit mode. * gas/i386/lwp.d: Update name of the testcase. * gas/i386/x86-64-xop.d: New. * gas/i386/x86-64-xop.s: New. * gas/i386/xop.d: New. * gas/i386/xop.s: New. * gas/i386/cvt16.d: New. * gas/i386/cvt16.s: New. opcodes/ * i386-dis.c (OP_Vex_2src_1): New. (OP_Vex_2src_2): New. (Vex_2src_1): New. (Vex_2src_2): New. (XOP_08): Added. (VEX_LEN_XOP_08_A0): Added. (VEX_LEN_XOP_08_A1): Added. (VEX_LEN_XOP_09_80): Added. (VEX_LEN_XOP_09_81): Added. (xop_table): Added an entry for XOP_08. Handle xop instructions. (vex_len_table): Added entries for VEX_LEN_XOP_08_A0, VEX_LEN_XOP_08_A1, VEX_LEN_XOP_09_80, VEX_LEN_XOP_09_81. (get_valid_dis386): Handle XOP_08. (OP_Vex_2src): New. * i386-gen.c (cpu_flag_init): Add CPU_XOP_FLAGS and CPU_CVT16_FLAGS. (cpu_flags): Add CpuXOP and CpuCVT16. (opcode_modifiers): Add XOP08, Vex2Sources. * i386-opc.h (CpuXOP): Added. (CpuCVT16): Added. (i386_cpu_flags): Add cpuxop and cpucvt16. (XOP08): Added. (Vex2Sources): Added. (i386_opcode_modifier): Add xop08, vex2sources. * i386-opc.tbl: Add entries for XOP and CVT16 instructions. * i386-init.h: Regenerated. * i386-tbl.h: Regenerated.
2009-11-18*** empty log message ***gdbadmin1-1/+1
2009-11-17daily updateAlan Modra1-1/+1
2009-11-172009-11-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+9
PR ld/10955 * elfxx-ia64.c (elfNN_ia64_update_short_info): Also skip ABS sections.
2009-11-172009-11-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-10/+20
PR ld/10955 * elfxx-ia64.c (elfNN_ia64_link_hash_table): Update comments. (elfNN_ia64_update_short_info): Remove "->output_section" from ia64_info->max_short_sec and ia64_info->min_short_sec. (elfNN_ia64_choose_gp): Likewise. (elfNN_ia64_relax_section): Pass tsec->output_section to elfNN_ia64_update_short_info.
2009-11-17 * dbxread.c (set_namestring): Remove cast to unsigned. Check N_STRXJan Kratochvil2-2/+8
overflow.
2009-11-172009-11-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-11/+104
PR ld/10955 * elfxx-ia64.c (elfNN_ia64_link_hash_table): Add max_short_sec, max_short_offset, min_short_sec and min_short_offset. (elfNN_ia64_update_short_info): New. (elfNN_ia64_relax_section): Update max_short_sec, max_short_offset, min_short_sec and min_short_offset. (elfNN_ia64_choose_gp): Use min_short_sec/max_short_sec if they are set.
2009-11-172009-11-17 Nathan Sidwell <nathan@codesourcery.com>Maxim Kuvyrkov4-0/+35
* features/m68k-core.xml: New file. 2009-11-17 Nathan Sidwell <nathan@codesourcery.com> * gdb.xml/tdesc-regs.exp: Use for m68k.
2009-11-17 * regformats/reg-cf.dat: New file.Maxim Kuvyrkov1-0/+33
2009-11-172009-11-17 Daniel Jacobowitz <dan@codesourcery.com>Maxim Kuvyrkov2-1/+12
* m68k-tdep.c (m68k_gdbarch_init): Reuse previous initialization.
2009-11-172009-11-17 Nathan Sidwell <nathan@codesourcery.com>Maxim Kuvyrkov6-2/+68
2009-11-17 Vladimir Prus <vladimir@codesourcery.com> * Makefile.in (reg-cf.o, reg-cf.c): New targets. * configure.ac: Check for __mcoldfire__ and set gdb_cv_m68k_is_coldfire. * configure.srv: Use gdb_cv_m68k_is_coldfire to select between reg-cf.o and reg-m68k.o. * configure: Regenerated. 2009-11-17 Nathan Sidwell <nathan@codesourcery.com> * regformats/reg-cf.dat: New file.
2009-11-172009-11-17 Daniel Jacobowitz <dan@codesourcery.com>Maxim Kuvyrkov2-1/+8
* m68k-tdep.c (m68k_register_name): Check fpregs_present. (m68k_gdbarch_init): Remove a duplicate of set_gdbarch_fp0_regnum.
2009-11-17 * gas/arm/vfma1.d: Only run on ELF based targets.Nick Clifton10-47/+93
PR binutils/10924 * gas/arm/arch4t-eabi.d: Update expected disassembly. * gas/arm/arch4t.d: Likewise. * gas/arm/archv6t2.d: Likewise. * gas/arm/arm7t.d: Likewise. * gas/arm/inst.d: Likewise. * gas/arm/xscale.d: Likewise. PR binutils/10924 * arm-dis.c (arm_opcodes): Add patterns to match undefined LDRB instruction variants. Add pattern for MRS variant that was being confused with CMP. (arm_decode_shift): Place error message in a comment. (print_insn_arm): Note that writing back to the PC is unpredictable. Only print 'p' variants of cmp/cmn/teq/tst instructions if decoding for pre-V6 architectures.
2009-11-172009-11-17 Paul Brook <paul@codesourcery.com>Paul Brook17-21/+563
Daniel Jacobowitz <dan@codesourcery.com> gas/ * doc/c-arm.texi: Document .arch armv7e-m. * config/tc-arm.c (arm_ext_v6_dsp, arm_ext_v7m): New. (insns): Put Thumb versions of v5TExP instructions into arm_ext_v5exp also. Move some Thumb variants from arm_ext_v6_notm to arm_ext_v6_dsp. (arm_archs): Add armv7e-m architecture. (aeabi_set_public_attributes): Handle -march=armv7e-m. gas/testsuite/ * gas/arm/attr-march-armv7em.d: New test. * gas/arm/arch7em-bad.d: New test. * gas/arm/arch7em-bad.l: New test. * gas/arm/arch7em.d: New test. * gas/arm/arch7em.s: New test. include/elf/ * arm.h (TAG_CPU_ARCH_V7E_M): Define. include/opcode/ * arm.h (ARM_EXT_V6_DSP): Define. (ARM_AEXT_V6T2, ARM_AEXT_NOTM): Include ARM_EXT_V6_DSP. (ARM_AEXT_V7EM, ARM_ARCH_V7EM): Define. binutils/ * readelf.c (arm_attr_tag_CPU_arch): Add v7E-M. bfd/ * elf32-arm.c (using_thumb_only, arch_has_arm_nop, arch_has_thumb2_nop): Handle TAG_CPU_ARCH_V7E_M. (tag_cpu_arch_combine): Ditto. Correct MAX_TAG_CPU_ARCH test.
2009-11-17 * elf32-spu.c (struct spu_link_hash_table): Remove overlay_fixed,Ulrich Weigand2-17/+18
reserved, and extra_stack_space members. (spu_elf_auto_overlay): Use auto_overlay_fixed, auto_overlay_reserved, and extra_stack_space members of htab->params instead.
2009-11-17 * po/bg.po: New Bulgarian translation.Nick Clifton4-2/+601
* configure.in (ALL_LINGUAS): Add bg.po. * configure: Regenerate.
2009-11-172009-11-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+5
* targets.c: Include alloca-conf.h
2009-11-172009-11-17 Edward Nevill <edward.nevill@arm.com>Ramana Radhakrishnan2-0/+8
* arm-dis.c (print_insn_thumb32): Handle undefined instruction.
2009-11-17 * gas/rx/macros.inc (creg): Remove cpen.Nick Clifton6-87/+85
* gas/rx/mvfc.d: Remove expected uses of cpen register. * gas/rx/mvtc.d: Likewise. * gas/rx/popc.d: Likewise. * gas/rx/pushc.d: Likewise.
2009-11-17gdb/Jan Kratochvil3-3/+19
Fix wrong debug output with `set debug infrun 1'. * gdb/infrun.c (handle_inferior_event <debug_infrun>): New variable old_chain. Temporarily switch INFERIOR_PTID. * target.h (target_stopped_by_watchpoint): Extend the comment. (target_stopped_data_address): New comment.
2009-11-17*** empty log message ***gdbadmin1-1/+1
2009-11-16daily updateAlan Modra1-1/+1
2009-11-16* Makefile.def: Restore host and target settings for gmp.Alexandre Oliva3-15/+26
* Makefile.in: Rebuild.
2009-11-16* configure.ac: Add libelf to host_libs. Enable in-tree configuryAlexandre Oliva6-861/+1979
of ppl and cloog. Fix in-tree configury of libelf, skip tests. Fix portability of test of C++ as bootstrap language. Add ppl/src/ppl-config.o to the bootstrap compare exclusion list. * configure: Rebuild. * Makefile.def: Drop host and target settings from gmp, mpfr, ppl, and cloog. Fix in-tree ppl configuration. Introduce libelf in-tree building. * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): New. (POSTSTAGE1_HOST_EXPORTS): Use it. (STAGE[+id+]_CXXFLAGS): New. (BASE_FLAGS_TO_PASS): Pass it down. (configure-stage[+id+]-[+prefix+][+module+]): Use it. Add extra_exports. (all-stage[+id+]-[+prefix+][+module+]): Likewise. (configure-[+prefix+][+module+], all-[+prefix+][+module+]): Add extra_exports. * Makefile.in: Rebuild. * configure.ac (FLAGS_FOR_TARGET): Add -L and -isystem paths for *-w64-mingw* and x86_64-*mingw*. * configure: Regenerated. * configure.ac: Disable target-winsup & co for x86_64-*-mingw* and *-w64-mingw* targets. * configure: Regenerated. * configure.ac (CLooG test): Use = with test. * configure: Regenerate. * configure.ac: Do not set LIBS for ppl/cloog checks. Disable cloog if the ppl version check failed. Move flags saving before setting in libelf check. * configure: Regenerate. * configure.ac: Adjust the ppl and cloog configure to work as documented. Disable cloog if ppl was disabled. Omit the version checks if they were disabled. * configure: Re-generate.
2009-11-16 * xcoffread.c (scan_xcoff_symtab): Update.Tom Tromey15-97/+228
* symfile.h (add_psymbol_to_list): Update prototype. * symfile.c (add_psymbol_to_bcache): Add copy_name argument. (add_psymbol_to_list): Likewise. * stabsread.c (define_symbol): Update. * mdebugread.c (parse_partial_symbols): Update. (handle_psymbol_enumerators): Update. (new_symbol): Update. * dbxread.c (read_dbx_symtab): Update. * coffread.c (process_coff_symbol): Update. * symtab.h (prim_record_minimal_symbol_full): Declare. (SYMBOL_SET_NAMES): Add copy_name argument. * symtab.c (struct demangled_name_entry): New struct. (hash_demangled_name_entry): New function. (eq_demangled_name_entry): Likewise. (create_demangled_names_hash): Use new functions. (symbol_set_names): Use struct demangled_name_entry. Add copy_name argument. * minsyms.c (prim_record_minimal_symbol_full): New function. (prim_record_minimal_symbol_and_info): Use it. * elfread.c (record_minimal_symbol): Add name_len and copy_name arguments. Call prim_record_minimal_symbol_full. (elf_symtab_read): Add copy_names argument. (elf_symfile_read): Update calls to elf_symtab_read. * dwarf2read.c (add_partial_symbol): Don't copy symbol names. (load_partial_dies): Likewise. (new_symbol): Likewise. * cp-namespace.c (check_one_possible_namespace_symbol): Don't save name on the obstack. Update call to SYMBOL_SET_NAMES.
2009-11-16 * linux-low.c (linux_remove_process): Add `detaching' parameter.Pedro Alves4-19/+31
Pass it to thread_db_free. (linux_kill, linux_detach, linux_wait_1): Adjust to pass the proper `detaching' argument to linux_remove_process. * linux-low.h (thread_db_free): Add `detaching' parameter. * thread-db.c (thread_db_init): Pass false as `detaching' argument to thread_db_free. (thread_db_free): Add `detaching' parameter. Only call td_ta_clear_event if detaching from process.
2009-11-16 * config/tc-arm.c (parse_operands): Encode APSR_nzcv as r15.Nick Clifton5-3/+122
(do_vmrs): New function. (do_vmsr): New function. (insns): Add vmrs and vmsr. * gas/arm/vfp1xD.s: Add vmrs and vmsr instructions. * gas/arm/vfp1xD.d: Update expected disassembly.
2009-11-162009-11-16 Kai Tietz <kai.tietz@onevision.com>Kai Tietz3-91/+14
* windmc.c (set_endianess): Use bfd_get_target_info. * windres.c (set_endianess): Likewise. (find_arch_match): Removed.
2009-11-162009-11-16 Kai Tietz <kai.tietz@onevision.com>Kai Tietz3-0/+126
* targets.c (bfd_get_target_info): New function. (_bfd_find_arch_match): New function. * bfd-in2.h: Regenerated.
2009-11-162009-11-15 Doug Kwan <dougkwan@google.com>Doug Kwan2-82/+232
* arm.cc (Target_arm::may_use_arm_nop): New method definition. (Arm_relocate_functions::arm_branch_common): Change method defintion in class definition to a method declaration and update list of formal parameters. (Arm_relocate_functions::plt32, Arm_relocate_functions::call, Arm_relocation_functions::jump24): Adjust call to Arm_relocate_functions::arm_branch_common. Update list of formal parameters. (Arm_relocate_functions::xpc25): New method definition. (Arm_relocate_functions::arm_branch_common): Move method defintion out from class definition. Use stubs for mode-switching and extending branch ranges. (Target_arm::Relocate::relocate): Handle weakly-undefined symbols specially. Change code to enable use of stubs in ARM branches.
2009-11-16*** empty log message ***gdbadmin1-1/+1
2009-11-15daily updateAlan Modra1-1/+1
2009-11-15 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.Pedro Alves3-0/+97
2009-11-15 * infrun.c (handle_inferior_event): When handling a fork or vforkPedro Alves4-1/+26
event, check if the bpstat causes a stop, instead of if it explains the signal. * breakpoint.c (bpstat_causes_stop): New. * breakpoint.h (bpstat_causes_stop): Declare.
2009-11-15 * breakpoint.c (should_be_inserted): Don't insert breakpoints ifPedro Alves5-20/+30
the pspace doesn't allow breakpoints. (insert_breakpoint_locations): Remove waiting_for_vfork_done special case. Expect watchpoints that shouldn't be inserted, to not be inserted. * progspace.h (struct program_space) <breakpoints_not_allowed>: New field. * infrun.c (handle_inferior_event): Clear it. * linux-nat.c (linux_child_follow_fork): Set it.