summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2009-12-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-12-165-0/+28
| | | | | | | | * as.h (mempcpy): New. * configure.in: Check if mempcpy is declared. * configure: Regenerated. * config.in: Likewise.
* *** empty log message ***gdbadmin2009-12-161-1/+1
|
* Add VEX_W_3818_P_2_M_0.H.J. Lu2009-12-152-1/+13
| | | | | | | | 2009-12-15 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (VEX_W_3818_P_2_M_0): New. (vex_w_table): Add VEX_W_3818_P_2_M_0. (mod_table): Use VEX_W_3818_P_2_M_0.
* daily updateAlan Modra2009-12-151-1/+1
|
* Reformat vex_w_table.H.J. Lu2009-12-152-2/+6
| | | | | | 2009-12-15 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (vex_w_table): Reformat.
* * layout.cc (Layout::create_shstrtab): Only write out after inputIan Lance Taylor2009-12-152-4/+13
| | | | sections if we are compressing debug sections.
* Add VEX_W_382X_P_2_M_0.H.J. Lu2009-12-152-4/+34
| | | | | | | | 2009-12-15 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (VEX_W_382X_P_2_M_0): New. (vex_w_table): Add VEX_W_382X_P_2_M_0. (mod_table): Use VEX_W_382X_P_2_M_0.
* * archive.cc (Archive::add_symbols): Only look up a symbol withoutIan Lance Taylor2009-12-152-0/+6
| | | | a version if there is, in fact, a version.
* Reformat vex_w_table.H.J. Lu2009-12-152-3/+7
| | | | | | 2009-12-15 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (vex_w_table): Reformat.
* Add USE_VEX_W_TABLE, VEX_W_TABLE and VEX_W_XXX.H.J. Lu2009-12-154-1987/+3507
| | | | | | | | | | | | | | | | | | 2009-12-15 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (USE_VEX_W_TABLE): New. (VEX_W_TABLE): Likewise. (VEX_W_XXX): Likewise. (vex_w_table): Likewise. (prefix_table): Use VEX_W_XXX. (vex_table): Likewise. (vex_len_table): Likewise. (mod_table): Likewise. (get_valid_dis386): Handle USE_VEX_W_TABLE. * i386-opc.tbl: Add VexW0 to AVX instructions where the VEX.W bit isn't used. * i386-tbl.h: Regenerated.
* 2009-12-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-12-153-27/+34
| | | | | | | * opncls.c (bfd_opnr_iovec): Replace _XXX with XXX_P in parameters. * tekhex.c (pass_over): Replace eof with is_eof.
* Define VEX128 and VEX256.H.J. Lu2009-12-154-1/+12
| | | | | | | | | | | | | | | gas/ 2009-12-15 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (build_vex_prefix): Use VEX256. opcodes/ 2009-12-15 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.h (VEX128): New. (VEX256): Likewise.
* 2009-12-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-152-0/+17
| | | | | * machoread.c (macho_symfile_read): Set section size of dsym bfd from main bfd.
* 2009-12-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-153-21/+6
| | | | | | * mach-o.h (bfd_mach_o_uuid_command): Remove section field. * mach-o.c (bfd_mach_o_scan_read_uuid): Do not create a section from this command.
* 2009-12-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-152-24/+13
| | | | | * machoread.c (macho_check_dsym): Read uuid directly from load command instead of from a fake section.
* 2009-12-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-152-5/+24
| | | | | * machoread.c (macho_symtab_read): Add comments. Always set first_offset.
* 2009-12-15 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-152-44/+73
| | | | | | | | | | | * mach-o.c (struct mach_o_section_name_xlat): Add flags field. (dwarf_section_names_xlat): Add section flags. (text_section_names_xlat): Ditto. (data_section_names_xlat): Ditto. (bfd_mach_o_convert_section_name_to_bfd): Now return name and section flags by reference. (bfd_mach_o_make_bfd_section): Use section flags when know, otherwise try to guess.
* 2009-12-14 Doug Kwan <dougkwan@google.com>Doug Kwan2009-12-156-35/+49
| | | | | | | | | | | | | | | | bfd/ChangeLog: * opncls.c (bfd_opnr_iovec): Rename parameters to avoid shawdowed variable warnings. * bfd-in2.h: Regnenerate. include/ChangeLog: * bfdlink.h (struct bfd_link_callbacks): Rename function parameters to avoid shadowed variable warnings. * dis-asm.h (struct disassemble_info): Ditto. (disassemble_init_for_target): Ditto. (init_disassemble_info): Ditto.
* Reformat vex_len_table.H.J. Lu2009-12-152-4/+10
| | | | | | 2009-12-14 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (vex_len_table): Reformat.
* *** empty log message ***gdbadmin2009-12-151-1/+1
|
* daily updateAlan Modra2009-12-141-1/+1
|
* Rename MOD_VEX_51 to MOD_VEX_50.H.J. Lu2009-12-142-3/+10
| | | | | | | | | 2009-12-14 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (MOD_VEX_51): Renamed to ... (MOD_VEX_50): This. (vex_table): Updated. (mod_table): Likewise.
* * elfcpp_file.h: Revert last patch.Ian Lance Taylor2009-12-142-5/+9
|
* Revert -Wshadow changes, all changes from:Ian Lance Taylor2009-12-1453-1768/+1778
| | | | | | 2009-12-11 Doug Kwan <dougkwan@google.com> 2009-12-11 Nick Clifton <nickc@redhat.com> * configure.ac: Remove -Wshadow when setting WARN_CXXFLAGS.
* PR binutils/10924Nick Clifton2009-12-145-24/+221
| | | | | | | | | | * arm-dis.c (arm_opcodes): Specify %R in cases where using r15 results in unpredictable behaviour. (print_insn_arm): Handle %R. * gas/arm/unpredictable.s: New test case - checks the disassembly of instructions with unpredictable behaviour. * gas/arm/unpredictable.d: New file - expected disassembly.
* 2009-12-11 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-144-164/+181
| | | | | | | | | | | | | * symfile.h (find_separate_debug_file_by_buildid): Remove prototype. (bfd_open_maybe_remote): New prototype. * symfile.c (bfd_open_maybe_remote): New function. (separate_debug_file_exists, reread_symbols): Use it. (struct build_id, build_id_bfd_get, build_id_verify) (build_id_to_debug_filename) (find_separate_debug_file_by_buildid): Move these ... * elfread.c (struct build_id) (build_id_bfd_get, build_id_verify, build_id_to_debug_filename) (find_separate_debug_file_by_buildid): ... here.
* Fix PR number typo.Nick Clifton2009-12-141-1/+1
|
* PR gas/11089Nick Clifton2009-12-142-3/+9
| | | | | * config/tc-rx.c (rx_equ): Rename 'expr' to 'expression' in order to avoid shadowing a global symbol of the same name.
* * config/tc-microblaze.c (md_assemble): Rename 'imm' to 'immed' inNick Clifton2009-12-142-67/+72
| | | | order to avoid shadowing global variable of the same name.
* * dwarf2read.c (struct attribute): Increase sizes of unsnd and sndPaul N. Hilfinger2009-12-1410-168/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fields to allow larger integer sizes. (read_subrange_type): Increase size of bound values. Add logic to determine signedness based on base-type size, signedness. (read_attribute_value): Change format for bad byte size in message. (read_8_bytes): Increase size of result type. (dump_die_shallow): Change format for value. (dwarf2_get_attr_constant_value): Increase size of return type. Correct comment. * gdbtypes.c (create_range_type): Change API to increase size of bounds. struct field -> union field. Always take signedness from base type. (check_typedef): Use new API for TYPE_LOW_BOUND, TYPE_HIGH_BOUND. (recursive_dump_type, copy_type_recursive): Adjust to new representation of range types. * gdbtypes.h (fields_or_bounds): New union containing struct field and new struct range_bounds, used for range types. (TYPE_RANGE_DATA): New macro to access range_bounds member. (TYPE_LOW_BOUND, TYPE_HIGH_BOUND): Represent with new TYPE_RANGE_DATA. (TYPE_LOW_BOUND_UNDEFINED, TYPE_HIGH_BOUND_UNDEFINED): New macros, taking over the job of TYPE_FIELD_ARTIFICIAL for range bounds. (SET_TYPE_LOW_BOUND, SET_TYPE_HIGH_BOUND, SET_TYPE_LOW_BOUND_DEFINED) (SET_TYPE_HIGH_BOUND_DEFINED): New macros. (TYPE_FIELDS, TYPE_BASECLASS, TYPE_BASECLASS_NAME, TYPE_FIELD) (TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED) (TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED, TYPE_ARRAY_UPPER_BOUND_VALUE) (TYPE_ARRAY_LOWER_BOUND_VALUE): Adjust to new representation. (create_range_type): Adjust API. * ada-lang.c (ada_modulus): Use new extended bound values. (discrete_type_low_bound): Rename to... (ada_discrete_type_low_bound): ... and make external. (discrete_type_high_bound): Rename to... (ada_discrete_type_high_bound): ... and make external. (ada_value_slice_from_ptr, ada_array_bound_from_type) (ada_evaluate_subexp, to_fixed_range_type): Use ada_discrete_type_low_bound, ada_discrete_type_high_bound. * ada-typeprint.c (print_range): Use ada_discrete_type_low_bound, ada_discrete_type_high_bound. Don't look at field count, which is no longer meaningful. Print bounds whenever argument is a range or enumeration. * ada-lang.h (ada_discrete_type_low_bound,ada_discrete_type_high_bound): Declare. * varobj.c (c_describe_child): Adjust to render larger values. * mdebugread.c (parse_type): Use proper abstractions for range types: TYPE_RANGE_DATA, SET_TYPE_LOW_BOUND_DEFINED, SET_TYPE_HIGH_BOUND_DEFINED. * p-typeprint.c (pascal_type_print_varspec_prefix): Use larger format for bounds.
* *** empty log message ***gdbadmin2009-12-141-1/+1
|
* daily updateAlan Modra2009-12-131-1/+1
|
* *** empty log message ***gdbadmin2009-12-131-1/+1
|
* * coff-arm.c (coff_arm_rtype_to_howto): Fix shadowed variableNick Clifton2009-12-122-1/+5
| | | | warning.
* 2009-12-11 Doug Kwan <dougkwan@google.com>Doug Kwan2009-12-125-23/+32
| | | | | | | | | | | * arm.cc (Target_arm::do_finalize_sections): Fix build breakage due to -Wshadow. * attributes.cc (Object_attribute::size): Ditto. (Attributes_section_data::size): Ditto. (Attributes_section_data::Attributes_section_data): Ditto. (Output_attributes_section_data::do_write): Ditto. * attributes.h (Object_attribute::set_type): Ditto. * testsuite/tls_test_main.cc (safe_lock, safe_unlock): Ditto.
* Set vex.w to 0 for VEX C5 prefix.H.J. Lu2009-12-122-1/+8
| | | | | | | | 2009-12-11 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (get_valid_dis386): Set vex.w to 0 for VEX C5 prefix. (print_insn): Don't set vex.w here.
* 2009-12-11 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-12-122-0/+5
| | | | * i386-dis.c (print_insn): Set vex.w to 0.
* *** empty log message ***gdbadmin2009-12-121-1/+1
|
* 2009-12-11 Michael Snyder <msnyder@vmware.com>Michael Snyder2009-12-112-1/+5
| | | | * main.c (captured_main): Indentation.
* daily updateAlan Modra2009-12-111-1/+1
|
* 2009-12-11 Quentin Neill <quentin.neill@amd.com>Sebastian Pop2009-12-117-54/+84
| | | | | | | | | | | | | gas/testsuite/ * gas/i386/fma4.d: Add test cases. * gas/i386/fma4.s: Add test cases. * gas/i386/x86-64-fma4.d: Add test cases. * gas/i386/x86-64-fma4.s: Add test cases. opcodes/ * i386-dis.c (get_vex_imm8): Extend logic to apply in all cases, to avoid fetching ahead for the immediate bytes when OP_E_memory has already been called. Fix indentation.
* * config/tc-arm.c (arm_init_frag): Set thumb MODE_RECORDED flag forAndrew Jenner2009-12-112-3/+7
| | | | | non-elf. (arm_handle_align): Re-enable assert for non-elf.
* 2009-12-11 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-113-19/+26
| | | | | | | * som.c (bfd_som_set_subsection_attributes) (bfd_section_from_som_symbol, som_reloc_queue_fix): Fix shadowed variable warnings. * cache.c (close_one): Likewise.
* Add -Wshadow to the gcc command line options used when compiling the binutils.Nick Clifton2009-12-11228-4662/+4824
| | | | Fix up all warnings generated by the addition of this switch.
* 2009-12-10 Michael Snyder <msnyder@vmware.com>Michael Snyder2009-12-112-16/+22
| | | | | | * i386-tdep.c (i386_record_lea_modrm_addr): Indent goto label. (i386_process_record): Indent goto label. Use prefix opcode constants from include/opcode/i386.h in switch statement.
* *** empty log message ***gdbadmin2009-12-111-1/+1
|
* daily updateAlan Modra2009-12-101-1/+1
|
* Fix for PR 9399 gdb can't call or print a const function that uses virtual ↵Chris Moller2009-12-107-2/+120
| | | | inheritance
* 2009-12-10 Doug Kwan <dougkwan@google.com>Doug Kwan2009-12-104-18/+1084
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | elfcpp/ChangeLog * arm.h: New enums for EABI object attribute tags and values. gold/ChangeLog * arm.cc (attributes.h): New include. (Arm_relobj::Arm_relobj): Initialize attributes_section_data_. (Arm_relobj::~Arm_relobj): Delete object pointed by attributes_section_data_. (Arm_relobj::attributes_section_data): New method definition. (Arm_relobj::attributes_section_data_): New data member declaration. (Arm_dynobj::Arm_dynobj): Initialize attributes_section_data_. (Arm_dynobj::~Arm_dynobj): Delete object pointed by attributes_section_data_. (Arm_dynobj::attributes_section_data): New method definition. (Arm_dynobj::attributes_section_data_): New data member declaration. (Target_arm::Target_arm): Initialize attributes_section_data_. Change initialization value of may_use_blx_ to false. (Target_arm::using_thumb2, Target_arm::using_thumb_only, Target_arm::may_use_arm_nop, Target_arm::may_use_thumb2_nop): Use object attributes to compute results instead of hard-coding. (Target_arm::do_attribute_arg_type, Target_arm::do_attributes_order, Target_arm::get_secondary_compatible_arch, Target_arm::set_secondary_compatible_arch Target_arm::tag_cpu_arch_combine, Target_arm::aeabi_enum_name, Target_arm::tag_cpu_name_value, Target_arm::merge_object_attributes): New method declarations. (Target_arm::get_aeabi_object_attribute): New method definition. (Target_arm::attributes_section_data_): New data member declaration. (read_arm_attributes_section): New template definition. (Arm_relobj::do_read_symbols): Read attributes section if it exists. (Arm_dynobj::do_read_symbols): Ditto. (Target_arm::do_finalize_sections): Merge attributes sections from input. Check for BLX use after attributes section merging. Fix __exidx_start and __exidx_end visibility. Create an .ARM.attributes section if necessary. (Target_arm::get_secondary_compatible_arch, Target_arm::set_secondary_compatible_arch, Target_arm::tag_cpu_arch_combine, Target_arm::aeabi_enum_name, Target_arm::tag_cpu_name_value, Target_arm::merge_object_attributes, Target_arm::do_attribute_arg_type, Target_arm::do_attributes_order): New method definitions.
* 2009-12-10 Oza Pawandeep (paawan1982@yahoo.comMichael Snyder2009-12-105-0/+429
| | | | | | | * gdb.reverse/i387-env-reverse.c: New file. * gdb.reverse/i387-env-reverse.exp: New file. * gdb.reverse/i387-stack-reverse.c: New file. * gdb.reverse/i387-stack-reverse.exp: New file.