aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-11-032009-11-03 Paul Brook <paul@codesourcery.com>Paul Brook5-10/+19
gas/ * config/tc-arm.c (do_vfp_nsyn_mla_mls): Fix vmls excoding. gas/testsuite/ * gas/arm/vfp-neon-syntax.d: Update expected results. * gas/arm/vfp-neon-syntax_t2.d: Update expected results.
2009-11-03 * configure.ac (i[34567]86-*): Check if we're targetting x86-64Nathan Sidwell4-0/+64
with an i686 compiler. * configure.srv (i[34567]86-*-linux*): Pull in x86-64 handling if needed. * configure: Rebuilt.
2009-11-03*** empty log message ***gdbadmin1-1/+1
2009-11-02daily updateAlan Modra1-1/+1
2009-11-02 * lib/gdb.exp (gdb_expect): Fix timeout typo.Daniel Jacobowitz2-1/+5
2009-11-02 * elfread.c (elf_symfile_segments): Do not warn aboutDaniel Jacobowitz2-1/+16
uninitialized sections outside of load segments.
2009-11-02 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.Daniel Jacobowitz2-24/+5
2009-11-02 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.Daniel Jacobowitz2-4/+8
2009-11-02gdb/Jan Kratochvil6-50/+123
* symfile.c (build_id_to_debug_filename): New variable debugdir. Move variables size, s and data into a new inner block. Change xmalloc for alloca, use direct BUILDID->SIZE there now. Loop for the DEBUG_FILE_DIRECTORY components. (find_separate_debug_file): New variable debugdir and debugdir_end. Loop for the DEBUG_FILE_DIRECTORY components. (_initialize_symfile): For "debug-file-directory" use plural and note one can use multiple components now. gdb/doc/ * gdb.texinfo (set debug-file-directory, show debug-file-directory) (Auto-loading): Use plural and note one can use multiple components now. gdb/testsuite/ * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
2009-11-02gdb/Jan Kratochvil2-39/+26
* symfile.c (find_separate_debug_file): Initialize dir, debugfile and canon_name to NULL. Change alloca to xmalloc, newly call xfree for it. New label cleanup_return_debugfile, jump to it from the failure paths.
2009-11-02gdb/Jan Kratochvil5-6/+67
* symfile.c (separate_debug_file_exists): When the CRCs mismatch print a warning. (find_separate_debug_file): Pass in the objfile's name. gdb/testsuite/ * gdb.base/sepdebug.exp (CRC mismatch is reported): New test. * gdb.base/sepdebug2.c: New file.
2009-11-02gdb/Jan Kratochvil6-37/+93
Remove INVALID_ENTRY_POINT. * frame.c (inside_entry_func): New variable entry_point. Return 0 if the entry point is not known. * solib-irix.c (enable_break): Likewise. * objfiles.c (init_entry_point_info): Stop using INVALID_ENTRY_POINT. Initialize EI.ENTRY_POINT_P. (entry_point_address): Rename to ... (entry_point_address_query): ... a new function. Use EI.ENTRY_POINT_P. (entry_point_address): New function. (objfile_relocate): Use EI.ENTRY_POINT_P. * objfiles.h (struct entry_info): Simplify entry_point comment. New field entry_point_p. (INVALID_ENTRY_POINT): Remove. (entry_point_address_query): New prototype. * solib-frv.c (enable_break): Check for NULL SYMFILE_OBJFILE and its EI.ENTRY_POINT_P. Return 0 if ".interp" is not found.
2009-11-022009-11-02 Paul Brook <paul@codesourcery.com>Paul Brook42-52/+679
ld/testsuite/ * ld-arm/arm-elf.exp: Add new attr-merge-vfp tests. * ld-arm/attr-merge-vfp-1.d: New test. * ld-arm/attr-merge-vfp-1r.d: New test. * ld-arm/attr-merge-vfp-2.d: New test. * ld-arm/attr-merge-vfp-2r.d: New test. * ld-arm/attr-merge-vfp-3.d: New test. * ld-arm/attr-merge-vfp-3r.d: New test. * ld-arm/attr-merge-vfp-4.d: New test. * ld-arm/attr-merge-vfp-4r.d: New test. * ld-arm/attr-merge-vfp-5.d: New test. * ld-arm/attr-merge-vfp-5r.d: New test. * ld-arm/attr-merge-vfp-2.s: New test. * ld-arm/attr-merge-vfp-3.s: New test. * ld-arm/attr-merge-vfp-3-d16.s: New test. * ld-arm/attr-merge-vfp-4.s: New test. * ld-arm/attr-merge-vfp-4-d16.s: New test. gas/ * doc/c-arm.texi: Document new -mfpu options. * config/tc-arm.c (fpu_vfp_ext_v3xd, fpu_vfp_fp16, fpu_neon_ext_fma, fpu_vfp_ext_fma): New. (NEON_ENC_TAB): Add vfma, vfms, vfnma and vfnms. (do_vfp_nsyn_fma_fms, do_neon_fmac): New functions. (insns): Move double precision load/store. Split out double precision VFPv3 instrucitons. Add VFPv4 instructions. (arm_fpus): Add VFPv3-FP16, VFPv3xD and VFPv4 variants. (aeabi_set_public_attributes): Set VFPv4 variants gas/testsuite/ * gas/arm/attr-mfpu-vfpv4.d: New test. * gas/arm/attr-mfpu-vfpv4-d16.d: New test. * gas/arm/neon-fma-cov.d: New test. * gas/arm/neon-fma-cov.s: New test. * gas/arm/vfp-fma-inc.s: New test. * gas/arm/vfp-fma-arm.d: New test. * gas/arm/vfp-fma-arm.s: New test. * gas/arm/vfp-fma-thumb.d: New test. * gas/arm/vfp-fma-thumb.s: New test. * gas/arm/vfma1.d: New test. * gas/arm/vfma1.s: New test. * gas/arm/vfpv3xd.d: New test. * gas/arm/vfpv3xd.s: New test. include/opcode/ * arm.h (FPU_VFP_EXT_V3xD, FPU_VFP_EXT_FP16, FPU_NEON_EXT_FMA, FPU_VFP_EXT_FMA, FPU_VFP_V3xD, FPU_VFP_V4D16, FPU_VFP_V4): Define. (FPU_ARCH_VFP_V3D16_FP16, FPU_ARCH_VFP_V3_FP16, FPU_ARCH_VFP_V3xD, FPU_ARCH_VFP_V3xD_FP16, FPU_ARCH_VFP_V4, FPU_ARCH_VFP_V4D16, FPU_ARCH_NEON_VFP_V4): Define. binutils/ * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16. bfd/ * elf32-arm.c (elf32_arm_merge_eabi_attributes): Handle VFPv4 attributes. opcodes/ * arm-dis.c (coprocessor_opcodes): Update to use new feature flags. Add VFPv4 instructions.
2009-11-02missed from last commitAlan Modra1-1/+2
2009-11-02 * ecoff.c (ecoff_symbol_clone_hook): New function.Alan Modra9-7/+41
* ecoff.h (ecoff_symbol_clone_hook): Declare. * obj.h (struct format_ops): Add symbol_clone_hook. * config/obj-aout.c (aout_format_ops): Init new field. * config/obj-coff.c (coff_format_ops): Likewise. * config/obj-ecoff.c (ecoff_format_ops): Likewise. * config/obj-elf.c (elf_format_ops): Likewise. * config/obj-ecoff.h (obj_symbol_clone_hook): Define. * config/obj-multi.h (obj_symbol_clone_hook): Define.
2009-11-02 * elflink.c (elf_link_add_object_symbols): Don't force debugAlan Modra2-1/+5
symbols local.
2009-11-02 * ld-scripts/phdrs3.exp (LDFLAGS): Add "--local-store 0:0" for SPU.Alan Modra2-2/+6
2009-11-02 * messages.c (as_fatal): Apply 2001-01-15 change and followupAlan Modra2-0/+7
to second copy of function.
2009-11-02*** empty log message ***gdbadmin1-1/+1
2009-11-01daily updateAlan Modra1-1/+1
2009-11-012009-11-01 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+12
* NEWS (New Commands): Mention record save/restore.
2009-11-01 * gdb.texinfo (GDB/MI Stack Manipulation): MakeVladimir Prus2-6/+14
-stack-list-arguments have the same documentation for parameter as -stack-list-locals. Add comas.
2009-11-01*** empty log message ***gdbadmin1-1/+1
2009-10-31daily updateAlan Modra1-1/+1
2009-10-312009-10-31 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+5
* breakpoint.c (bpstat_stop_status): Fix broken comment.
2009-10-31 * record.c (record_restore, cmd_record_save): Debug output goes toPedro Alves2-43/+49
gdb_stdlog.
2009-10-31Fixing the date format for the last ChangeLog entry.Sergio Durigan Junior2-2/+2
2009-10-31gdb/ChangeLog:Sergio Durigan Junior5-63/+68
2009-31-10 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> * breakpoint.c (catch_syscall_split_args): Remove unecessary warning displayed when the user provided a syscall name and there is no XML support. * xml-syscall.c: Renamed `_sysinfo' to `sysinfo'. (set_xml_syscall_file_name): Remove syscall_warn_user. (xml_init_syscalls_info): Remove warning. (init_sysinfo): Update warnings. gdb/testsuite/ChangeLog: 2009-31-10 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept the modified warnings for catch syscall. Verify if GDB was compiled with support for lib expat, and choose which tests to run depending on this.
2009-10-312009-10-30 Doug Kwan <dougkwan@google.com>Doug Kwan2-3/+7
* arm.cc (Stub_addend_reader): Fix bug in previouls check-in.
2009-10-312009-10-30 Doug Kwan <dougkwan@google.com>Doug Kwan2-1/+122
* arm.cc (Stub_addend_reader): New struct template definition and partial specializations. (Stub_addend_reader::operator()): New method definition for a partially specialized template.
2009-10-31*** empty log message ***gdbadmin1-1/+1
2009-10-30daily updateAlan Modra1-1/+1
2009-10-302009-10-30 Doug Kwan <dougkwan@google.com>Doug Kwan12-19/+391
elfcpp/ChangeLog: * arm.h (EF_ARM_BE8, EF_ARM_EABIMASK, EF_ARM_EABI_UNKNOWN, EF_ARM_EABI_VER1, EF_ARM_EABI_VER2, EF_ARM_EABI_VER3, EF_ARM_EABI_VER4, EF_ARM_EABI_VER5): New enums for processor-specific flags. (arm_eabi_version): New inline function. * elfcpp.h: Add a comment about DT_ENCODING. gold/ChangeLog: * arm.cc (Arm_relobj::processor_specific_flags): New method definition. (Arm_relobj::do_read_symbols): New method declaration. (Arm_relobj::processor_specific_flags_): New data member declaration. (Arm_dynobj): New class definition. (Target_arm::do_finalize_sections): Add input_objects parameter. (Target_arm::do_adjust_elf_header): New method declaration. (Target_arm::are_eabi_versions_compatible, (Target_arm::merge_processor_specific_flags): New method declaration. (Target_arm::do_make_elf_object): New overloaded method definitions and declaration. (Arm_relobj::do_read_symbols): New method definition. (Arm_dynobj::do_read_symbols): Ditto. (Target_arm::do_finalize_sections): Add input_objects parameters. Merge processor-specific flags from all input objects. (Target_arm::are_eabi_versions_compatible, Target_arm::merge_processor_specific_flags, Target_arm::do_adjust_elf_header, Target_arm::do_make_elf_object): New method definitions. * i386.cc (Target_i386::do_finalize_sections): Add unnamed Input_objects pointer type parameter. * layout.cc (Layout::finalize): Pass input objects to target's. finalize_sections function. * output.cc (Output_file_header::do_sized_write): Set ELF file header's processor-specific flags. * powerpc.cc (Target_powerpc::do_finalize_sections): Add unnamed Input_objects pointer type parameter. * sparc.cc (Target_sparc::do_finalize_sections): Same. * target.h (Input_objects): New forward class declaration. (Target::processor_specific_flags, Target::are_processor_specific_flags_sect): New method definitions. (Target::finalize_sections): Add input_objects parameter. (Target::Target): Initialize processor_specific_flags_ and are_processor_specific_flags_set_. (Target::do_finalize_sections): Add unnamed Input_objects pointer type parameter. (Target::set_processor_specific_flags): New method definition. (Target::processor_specific_flags_, Target::are_processor_specific_flags_set_): New data member declarations. * x86_64.cc (Target_x86_64::do_finalize_sections): Add unnamed Input_objects pointer type parameter.
2009-10-302009-10-30 Doug Kwan <dougkwan@google.com>Doug Kwan2-25/+29
* arm.cc: Use Arm_address instead of elfcpp::Elf_types<32>::Elf_Addr.
2009-10-30 Fix breakpoint commands in MI.Vladimir Prus5-1/+32
* mi/mi-main.c (mi_execute_command): Run bpstat_do_actions. * mi/mi-cmd-break.c (mi_cmd_break_commands): Pass 1 to read_command_line_1 to actually parse composite commands.
2009-10-30 * config/tc-hppa.c (pa_build_unwind_subspace): Replace start symbolDave Anglin2-2/+35
with local symbol.
2009-10-30 * ld-elfcomm/elfcomm.exp: Compile with -fcommon.Nathan Sidwell2-3/+8
2009-10-30*** empty log message ***gdbadmin1-1/+1
2009-10-29daily updateAlan Modra1-1/+1
2009-10-29gas/H.J. Lu7-216/+183
2009-10-29 Sebastian Pop <sebastian.pop@amd.com> * config/tc-i386.c (build_modrm_byte): Do not swap REG and NDS operands for FMA4. gas/testsuite/ 2009-10-29 Sebastian Pop <sebastian.pop@amd.com> * gas/i386/fma4.d: Updated patterns. * gas/i386/x86-64-fma4.d: Same. opcodes/ 2009-10-29 Sebastian Pop <sebastian.pop@amd.com> * i386-dis.c (OP_VEX_FMA): Removed. (VexFMA): Removed. (Vex128FMA): Removed. (prefix_table): First source operand of FMA4 insns is decoded with Vex not with VexFMA. (OP_EX_VexW): Second source operand is decoded with get_vex_imm8 when vex.w is set. Third source operand is decoded with get_vex_imm8 when vex.w is cleared. (OP_VEX_FMA): Removed.
2009-10-292009-10-29 Sandra Loosemore <sandra@codesourcery.com>Sandra Loosemore4-2/+16
PR gdb/10783 gdb/ * target.c (simple_search_memory): Correct read_addr initialization in loop for searching subsequent chunks. gdb/gdbserver/ * server.c (handle_search_memory_1): Correct read_addr initialization in loop for searching subsequent chunks.
2009-10-292009-10-29 Paul Brook <paul@codesourcery.com>Paul Brook5-18/+27
gas/ * config/tc-arm.c (neon_tab_entry): Fix VNMLA/VNMLS opcodes. gas/testsuite/ * gas/arm/vfp-neon-syntax.d: Update expected results. * gas/arm/vfp-neon-syntax_t2.d: Update expected results.
2009-10-292009-10-29 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov5-0/+90
* configure.ac: New --with-libthread-db option. * thread-db.c: Allow direct dependence on libthread_db. (thread_db_free): Adjust. * config.in: Regenerate. * configure: Likewise.
2009-10-29 * emulparams/vxworks.sh (OTHER_READONLY_SECTIONS): Move into ...Nathan Sidwell2-4/+8
(OTHER_READWRITE_SECTIONS): ... here.
2009-10-292009-10-29 Paul Brook <paul@codesourcery.com>Paul Brook3-0/+7
gas/ * doc/c-arm.texi: Document ARM -mcpu=cortex-a5. * config/arm/tc-arm.c (arm_cpu_option_table): Add cortex-a5.
2009-10-29 * ld-cris/dso12-pltdis.d: New test.Hans-Peter Nilsson2-0/+58
2009-10-29 * elf32-cris.c (cris_elf_plt_sym_val): New function.Hans-Peter Nilsson2-0/+21
(elf_backend_plt_sym_val): Define.
2009-10-292009-10-29 Tristan Gingold <gingold@adacore.com>Tristan Gingold5-10/+8
* config/tc-mep.c (md_pseudo_table): Remove dwarf2 pseudo as they are already defined in obj-elf.c * config/tc-m32c.c (md_pseudo_table): Ditto. * config/tc-spu.c (md_pseudo_table): Ditto. * config/tc-avr.c (md_pseudo_table): Ditto.
2009-10-29 * object.h (class Relobj): Drop options parameter fromIan Lance Taylor14-274/+182
gc_process_relocs, scan_relocs, relocate, do_gc_process_relocs, do_scan_relocs, do_relocate. Change all callers. (class Sized_relobj): Drop options parameters from do_gc_process_relocs, do_scan_relocs, do_relocate, do_relocate_sections, relocate_sections, emit_relocs_scan, emit_relocs_scan_reltype. Change all callers. (struct Relocate_info): Remove options field and all references to it. * reloc.h (class Read_relocs): Remove options constructor parameter and options_ field. Change all callers. (class Gc_process_relocs, class Scan_relocs): Likewise. (class Relocate_task): Likewise. * target-reloc.h (scan_relocs): Remove options parameter. Change all callers. (scan_relocatable_relocs): Likewise. * target.h (class Sized_target): Remove options parameter from gc_process_relocs, scan_relocs, scan_relocatable_relocs. Change all callers. * gc.h (gc_process_relocs): Remove options parameter. Change all callers. * arm.cc: Update functions to remove options parameters. * i386.cc: Likewise. * powerpc.cc: Likewise. * sparc.cc: Likewise. * x86_64.cc: Likewise. * testsuite/testfile.cc: Likewise.
2009-10-292009-10-28 Doug Kwan <dougkwan@google.com>Doug Kwan2-0/+355
* arm.cc (Arm_relobj): New class definition. (Arm_relobj::scan_sections_for_stubs, Arm_relobj::do_count_local_symbols, Arm_relobj::do_relocate_sections): New method definitions.