deliverable/binutils-gdb.git
14 years ago2009-12-15 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 15 Dec 2009 09:37:14 +0000 (09:37 +0000)] 
2009-12-15  Tristan Gingold  <gingold@adacore.com>

        * machoread.c (macho_symtab_read): Add comments.  Always set
        first_offset.

14 years ago2009-12-15 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 15 Dec 2009 09:28:28 +0000 (09:28 +0000)] 
2009-12-15  Tristan Gingold  <gingold@adacore.com>

        * 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.

14 years ago2009-12-14 Doug Kwan <dougkwan@google.com>
Doug Kwan [Tue, 15 Dec 2009 02:02:39 +0000 (02:02 +0000)] 
2009-12-14  Doug Kwan  <dougkwan@google.com>

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.

14 years agoReformat vex_len_table.
H.J. Lu [Tue, 15 Dec 2009 01:42:57 +0000 (01:42 +0000)] 
Reformat vex_len_table.

2009-12-14  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (vex_len_table): Reformat.

14 years ago*** empty log message ***
gdbadmin [Tue, 15 Dec 2009 00:00:32 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Mon, 14 Dec 2009 23:00:04 +0000 (23:00 +0000)] 
daily update

14 years agoRename MOD_VEX_51 to MOD_VEX_50.
H.J. Lu [Mon, 14 Dec 2009 20:22:16 +0000 (20:22 +0000)] 
Rename MOD_VEX_51 to MOD_VEX_50.

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.

14 years ago * elfcpp_file.h: Revert last patch.
Ian Lance Taylor [Mon, 14 Dec 2009 19:57:47 +0000 (19:57 +0000)] 
* elfcpp_file.h: Revert last patch.

14 years ago Revert -Wshadow changes, all changes from:
Ian Lance Taylor [Mon, 14 Dec 2009 19:53:05 +0000 (19:53 +0000)] 
Revert -Wshadow changes, all changes from:
2009-12-11  Doug Kwan  <dougkwan@google.com>
2009-12-11  Nick Clifton  <nickc@redhat.com>
* configure.ac: Remove -Wshadow when setting WARN_CXXFLAGS.

14 years ago PR binutils/10924
Nick Clifton [Mon, 14 Dec 2009 16:38:23 +0000 (16:38 +0000)] 
    PR binutils/10924
        * 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.

14 years ago2009-12-11 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 14 Dec 2009 12:50:39 +0000 (12:50 +0000)] 
2009-12-11  Tristan Gingold  <gingold@adacore.com>

* 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.

14 years agoFix PR number typo.
Nick Clifton [Mon, 14 Dec 2009 11:01:25 +0000 (11:01 +0000)] 
Fix PR number typo.

14 years ago PR gas/11089
Nick Clifton [Mon, 14 Dec 2009 10:59:37 +0000 (10:59 +0000)] 
    PR gas/11089
        * config/tc-rx.c (rx_equ): Rename 'expr' to 'expression' in order
        to avoid shadowing a global symbol of the same name.

14 years ago * config/tc-microblaze.c (md_assemble): Rename 'imm' to 'immed' in
Nick Clifton [Mon, 14 Dec 2009 09:50:18 +0000 (09:50 +0000)] 
    * config/tc-microblaze.c (md_assemble): Rename 'imm' to 'immed' in
        order to avoid shadowing global variable of the same name.

14 years ago* dwarf2read.c (struct attribute): Increase sizes of unsnd and snd
Paul N. Hilfinger [Mon, 14 Dec 2009 06:19:13 +0000 (06:19 +0000)] 
* dwarf2read.c (struct attribute): Increase sizes of unsnd and snd
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.

14 years ago*** empty log message ***
gdbadmin [Mon, 14 Dec 2009 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Sun, 13 Dec 2009 23:00:04 +0000 (23:00 +0000)] 
daily update

14 years ago*** empty log message ***
gdbadmin [Sun, 13 Dec 2009 03:00:02 +0000 (03:00 +0000)] 
*** empty log message ***

14 years ago * coff-arm.c (coff_arm_rtype_to_howto): Fix shadowed variable
Nick Clifton [Sat, 12 Dec 2009 10:07:53 +0000 (10:07 +0000)] 
    * coff-arm.c (coff_arm_rtype_to_howto): Fix shadowed variable
        warning.

14 years ago2009-12-11 Doug Kwan <dougkwan@google.com>
Doug Kwan [Sat, 12 Dec 2009 01:26:12 +0000 (01:26 +0000)] 
2009-12-11  Doug Kwan  <dougkwan@google.com>

* 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.

14 years agoSet vex.w to 0 for VEX C5 prefix.
H.J. Lu [Sat, 12 Dec 2009 01:17:41 +0000 (01:17 +0000)] 
Set vex.w to 0 for VEX C5 prefix.

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.

14 years ago2009-12-11 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 12 Dec 2009 00:13:11 +0000 (00:13 +0000)] 
2009-12-11  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (print_insn): Set vex.w to 0.

14 years ago*** empty log message ***
gdbadmin [Sat, 12 Dec 2009 00:00:02 +0000 (00:00 +0000)] 
*** empty log message ***

14 years ago2009-12-11 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 11 Dec 2009 23:43:42 +0000 (23:43 +0000)] 
2009-12-11  Michael Snyder  <msnyder@vmware.com>

* main.c (captured_main): Indentation.

14 years agodaily update
Alan Modra [Fri, 11 Dec 2009 23:00:04 +0000 (23:00 +0000)] 
daily update

14 years ago2009-12-11 Quentin Neill <quentin.neill@amd.com>
Sebastian Pop [Fri, 11 Dec 2009 20:38:51 +0000 (20:38 +0000)] 
2009-12-11  Quentin Neill  <quentin.neill@amd.com>

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.

14 years ago * config/tc-arm.c (arm_init_frag): Set thumb MODE_RECORDED flag for
Andrew Jenner [Fri, 11 Dec 2009 17:44:24 +0000 (17:44 +0000)] 
   * config/tc-arm.c (arm_init_frag): Set thumb MODE_RECORDED flag for
       non-elf.
       (arm_handle_align): Re-enable assert for non-elf.

14 years ago2009-12-11 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Fri, 11 Dec 2009 15:42:38 +0000 (15:42 +0000)] 
2009-12-11  Tristan Gingold  <gingold@adacore.com>

* 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.

14 years agoAdd -Wshadow to the gcc command line options used when compiling the binutils.
Nick Clifton [Fri, 11 Dec 2009 13:42:17 +0000 (13:42 +0000)] 
Add -Wshadow to the gcc command line options used when compiling the binutils.
Fix up all warnings generated by the addition of this switch.

14 years ago2009-12-10 Michael Snyder <msnyder@vmware.com>
Michael Snyder [Fri, 11 Dec 2009 03:39:47 +0000 (03:39 +0000)] 
2009-12-10  Michael Snyder  <msnyder@vmware.com>

* 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.

14 years ago*** empty log message ***
gdbadmin [Fri, 11 Dec 2009 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Thu, 10 Dec 2009 23:00:05 +0000 (23:00 +0000)] 
daily update

14 years agoFix for PR 9399 gdb can't call or print a const function that uses virtual inheritance
Chris Moller [Thu, 10 Dec 2009 20:57:10 +0000 (20:57 +0000)] 
Fix for PR 9399 gdb can't call or print a const function that uses virtual inheritance

14 years ago2009-12-10 Doug Kwan <dougkwan@google.com>
Doug Kwan [Thu, 10 Dec 2009 20:55:33 +0000 (20:55 +0000)] 
2009-12-10  Doug Kwan  <dougkwan@google.com>

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.

14 years ago2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
Michael Snyder [Thu, 10 Dec 2009 19:36:20 +0000 (19:36 +0000)] 
2009-12-10  Oza Pawandeep (paawan1982@yahoo.com

* 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.

14 years ago2009-12-10 Oza Pawandeep <paawan1982@yahoo.com>
Michael Snyder [Thu, 10 Dec 2009 19:31:33 +0000 (19:31 +0000)] 
2009-12-10  Oza Pawandeep <paawan1982@yahoo.com>

* i386-tdep.c:  Support for floating point recording.
Records and Replay the i386 floating point registers,
of i387 FPU.
(i386_record_floats): New function.
(i386_process_record): Implement FP insns.

14 years ago2009-12-10 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 10 Dec 2009 16:12:33 +0000 (16:12 +0000)] 
2009-12-10  Tristan Gingold  <gingold@adacore.com>

* addr2line.c (pretty_print): New variable.
(long_options): Add an entry for -p/--pretty-print.
(usage): Document -p/--pretty-print.
(translate_addresses): Handle pretty_print.  Reindent.
(main): Handle option -p.
* doc/binutils.texi (addr2line): Document -p/--pretty-print.
* NEWS: Mention new feature.

14 years ago bfd/
Maciej W. Rozycki [Thu, 10 Dec 2009 14:20:04 +0000 (14:20 +0000)] 
bfd/
* elfxx-mips.c (mips_elf_calculate_relocation): Correct handling
of undefined symbols.

ld/testsuite/
* ld-mips-elf/undefined.d: New test.
* ld-mips-elf/undefined.s: Source for the new test.
* ld-mips-elf/mips-elf.exp: Run the new test.

14 years ago * plugin.cc (Plugin::load): Don't cast from void* to a function
Ian Lance Taylor [Thu, 10 Dec 2009 07:44:28 +0000 (07:44 +0000)] 
* plugin.cc (Plugin::load): Don't cast from void* to a function
pointer.

14 years ago2009-12-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 10 Dec 2009 02:51:39 +0000 (02:51 +0000)] 
2009-12-09  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (arch_entry): Add len and skip.
(cpu_arch): Use STRING_COMMA_LEN.
(MESSAGE_TEMPLATE): New.
(show_arch): Likewise.
(md_show_usage): Use show_arch.

14 years ago * dynobj.cc (Sized_dynobj::do_read_symbols): Clear version
Ian Lance Taylor [Thu, 10 Dec 2009 01:10:09 +0000 (01:10 +0000)] 
* dynobj.cc (Sized_dynobj::do_read_symbols): Clear version
information fields.

14 years ago*** empty log message ***
gdbadmin [Thu, 10 Dec 2009 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Wed, 9 Dec 2009 23:00:04 +0000 (23:00 +0000)] 
daily update

14 years ago bfd/
Daniel Jacobowitz [Wed, 9 Dec 2009 21:42:00 +0000 (21:42 +0000)] 
bfd/
* elf32-arm.c (elf32_arm_next_input_section): Skip sections without
SEC_CODE.

ld/testsuite/
* ld-arm/arm-elf.exp (armeabitests): Add farcall-data.
* ld-arm/farcall-data.d, ld-arm/farcall-data.s: New.
* lib/ld-lib.exp (run_ld_link_tests, run_cc_link_tests): Correct
regular expression for archives.

14 years ago2009-12-09 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 9 Dec 2009 16:26:36 +0000 (16:26 +0000)] 
2009-12-09  H.J. Lu  <hongjiu.lu@intel.com>

* testsuite/Makefile.am (two_file_shared_1_pic_2_test_DEPENDENCIES):
Replace two_file_shared_1.so with two_file_shared_2.so.
* testsuite/Makefile.in: Regenerated.

14 years ago2009-12-03 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 9 Dec 2009 14:53:25 +0000 (14:53 +0000)] 
2009-12-03  Tristan Gingold  <gingold@adacore.com>

* machoread.c (macho_symfile_read): Use symbol_file_add_separate
to add dsym files.

14 years ago2009-12-02 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 9 Dec 2009 13:44:53 +0000 (13:44 +0000)] 
2009-12-02  Tristan Gingold  <gingold@adacore.com>

* symfile.h (symbol_file_add_separate): New prototype.
(find_separate_debug_file_by_buildid): Ditto.
(find_separate_debug_file_by_debuglink): Ditto.
* symfile.c (reread_separate_symbols): Remove.
(find_separate_debug_file): Split into ...
(find_separate_debug_file_by_buildid): ... this and ...
(find_separate_debug_file_by_debuglink): ... this.
(symbol_file_add_with_addrs_or_offsets): Do not save orig_addrs.
Remove separate debug file handling.
(symbol_file_add_separate): New function.
(reread_symbols): Do not considere separate debug files, but free
them while handling their parent.  Reindent.
* coffread.c (coff_symfile_read): Handle separate object file.
* elfread.c (elf_symfile_read): Ditto.

14 years ago2009-12-09 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 9 Dec 2009 12:58:23 +0000 (12:58 +0000)] 
2009-12-09  Tristan Gingold  <gingold@adacore.com>

* addr2line.c (translate_addresses): Display addresses
if option -a is used.
(with_addresses): New variable.
(long_options): Add option '-a'.
(usage): Add usage for option '-a'.
(main): Handle option '-a'.
* doc/binutils.texi (addr2line): Document option '-a'.
* NEWS: Mention new feature.

14 years ago * acinclude.m4: Update comment.
Joel Brobecker [Wed, 9 Dec 2009 10:10:49 +0000 (10:10 +0000)] 
    * acinclude.m4: Update comment.

14 years ago * acinclude.m4: Link against in-tree libiconv by adding
Joel Brobecker [Wed, 9 Dec 2009 10:07:15 +0000 (10:07 +0000)] 
        * acinclude.m4: Link against in-tree libiconv by adding
            libiconv.a to the LIBS instead of using -liconv.
            * configure: Regenerate.

14 years ago PR 10924
Nick Clifton [Wed, 9 Dec 2009 08:38:04 +0000 (08:38 +0000)] 
    PR 10924
        * arm-dis.c (print_insn_arm): Mark insns that use the PC in
        post-indexed addressing as unpredictable.

14 years ago2009-12-09 Phil Muldoon <pmuldoon@redhat.com>
Phil Muldoon [Wed, 9 Dec 2009 07:49:31 +0000 (07:49 +0000)] 
2009-12-09  Phil Muldoon  <pmuldoon@redhat.com>

* python/py-type.c (typy_range): Initialize variables to zero.

14 years ago2009-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>
Yoshinori Sato [Wed, 9 Dec 2009 05:32:16 +0000 (05:32 +0000)] 
2009-12-09  Yoshinori Sato <ysato@users.sourceforge.jp>
* compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc.
Index registers not masked memory areas.
Only simply increment or decrement.
* compile.c(store_1): Ditto.

14 years ago2009-12-08 Doug Kwan <dougkwan@google.com>
Doug Kwan [Wed, 9 Dec 2009 03:02:28 +0000 (03:02 +0000)] 
2009-12-08  Doug Kwan  <dougkwan@google.com>

* Makefile.am (CCFILES): Add attributes.cc and int_encoding.cc.
(HFILES): Add attributes.h and int_encoding.h.
* Makefile.in: Regenerate.
* dwarf_reader.cc (read_unsigned_LEB_128, read_signed_LEB_128): Move
function definitions to int_encoding.cc
* dwarf_reader.h (read_unsigned_LEB_128, read_signed_LEB_128): Move
prototypes to int_encoding.h
* reduced_debug_output.cc (int_encoding.h): New include.
(write_unsigned_LEB_128, get_length_as_unsigned_LEB_128): Move
function definitions to int_encoding.cc
(insert_into_vector, read_from_pointer): Move template definitions to
int_encoding.h
* attributes.cc: New file.
* attributes.h: New file.
* int_encoding.cc: New file.
* int_encoding.h: New file.

14 years ago PR ld/11012
Alan Modra [Wed, 9 Dec 2009 01:26:03 +0000 (01:26 +0000)] 
PR ld/11012
* emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Move .rela.opd ..
(INITIAL_RELOC_SECTIONS): .. to here.  New define.
* scripttempl/elf.sc: Expand INITIAL_RELOC_SECTIONS.

14 years ago*** empty log message ***
gdbadmin [Wed, 9 Dec 2009 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Tue, 8 Dec 2009 23:00:04 +0000 (23:00 +0000)] 
daily update

14 years ago * dwarf.c (dwarf_select_sections_by_names): Handle pubtypes correctly.
Cary Coutant [Tue, 8 Dec 2009 19:01:51 +0000 (19:01 +0000)] 
* dwarf.c (dwarf_select_sections_by_names): Handle pubtypes correctly.
(debug_displays): Remove duplicate entry for debug_pubtypes.

14 years ago2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
Phil Muldoon [Tue, 8 Dec 2009 14:06:04 +0000 (14:06 +0000)] 
2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>

PR python/10804

* python/py-type.c (typy_range): New Function.

2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.python/py-type.exp (test_range): New test.

2009-12-08  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.texinfo (Types In Python): Describe range function.

14 years ago * charset.c: Include environ.h.
Doug Evans [Tue, 8 Dec 2009 07:25:32 +0000 (07:25 +0000)] 
* charset.c: Include environ.h.
(ignore_line_p): New function.
(find_charset_names): Handle older versions of iconv that print
human-readable output even if stdout is not a tty.

14 years ago * pex-unix.c (pex_unix_exec_child): Save/restore environ.
Doug Evans [Tue, 8 Dec 2009 07:15:36 +0000 (07:15 +0000)] 
* pex-unix.c (pex_unix_exec_child): Save/restore environ.

14 years ago * elf.c (write_zeros): New function.
Alan Modra [Tue, 8 Dec 2009 03:43:23 +0000 (03:43 +0000)] 
* elf.c (write_zeros): New function.
(assign_file_positions_for_load_sections): Allocate file space for
NOBITS sections that are followed by PROGBITS sections in a segment.

14 years agoCall symbol_same_p to check to if 2 symbols are the same.
H.J. Lu [Tue, 8 Dec 2009 03:14:29 +0000 (03:14 +0000)] 
Call symbol_same_p to check to if 2 symbols are the same.

gas/

2009-12-07  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/11037
* expr.c (resolve_expression): Call symbol_same_p to check
if 2 symbols are the same.

* symbols.c (symbol_same_p): New.
* symbols.h (symbol_same_p): Likewise.

gas/testsuite/

2009-12-07  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/11037
* gas/i386/intelpic.s: Add testcases.
* gas/i386/intelpic.d: Updated.

14 years ago * NEWS: Announce Renesas RX support.
Kevin Buettner [Tue, 8 Dec 2009 00:17:45 +0000 (00:17 +0000)] 
* NEWS: Announce Renesas RX support.

14 years ago*** empty log message ***
gdbadmin [Tue, 8 Dec 2009 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Mon, 7 Dec 2009 23:00:04 +0000 (23:00 +0000)] 
daily update

14 years ago2009-12-07 Rafael Avila de Espindola <espindola@google.com>
Rafael Ávila de Espíndola [Mon, 7 Dec 2009 21:36:52 +0000 (21:36 +0000)] 
2009-12-07  Rafael Avila de Espindola  <espindola@google.com>

PR gold/11055
* incremental-dump.cc (dump_incremental_inputs): New.
(main): Use dump_incremental_inputs.

14 years agoSync with GCC:
Kaveh Ghazi [Mon, 7 Dec 2009 20:24:59 +0000 (20:24 +0000)] 
Sync with GCC:

PR middle-end/30447
PR middle-end/30789
PR other/40302

* configure.ac: Require MPC.
* configure: Regenerate.

* configure.ac: Update minimum MPC version to 0.8.
* configure: Regenerate.

14 years ago * configure.tgt: Add rx-*-elf target.
Kevin Buettner [Mon, 7 Dec 2009 19:58:41 +0000 (19:58 +0000)] 
* configure.tgt: Add rx-*-elf target.
* rx-tdep.c: New target.

14 years ago2009-12-07 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 7 Dec 2009 17:14:55 +0000 (17:14 +0000)] 
2009-12-07  H.J. Lu  <hongjiu.lu@intel.com>

PR gold/10893
* i386.cc (Target_i386::Scan::globa): Use is_func instead of
checking elfcpp::STT_FUNC.
(Target_i386::Relocate::relocate): Likewise.
* x86_64.cc (Target_x86_64::Scan::global): Likewise.

* symtab.cc (Symbol_table::sized_write_symbol): Turn IFUNC
symbols from shared libraries into normal FUNC symbols.

* symtab.h (Symbol): Add is_func and use it.

14 years ago2009-12-07 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 7 Dec 2009 09:47:40 +0000 (09:47 +0000)] 
2009-12-07  Tristan Gingold  <gingold@adacore.com>

* symfile.h (struct sym_fns): Adjust comment on sym_read.
* symfile.c (syms_from_objfile): Pass all symfile flags to sym_read.
* dbxread.c (dbx_symfile_read): Rename mainline to symfile_flags,
adjust header comment.
* elfread.c (elf_symfile_read): Ditto.
* somread.c (som_symfile_read): Ditto.
* xcoffread.c (xcoff_initial_scan): Ditto.
* coffread.c (coff_symfile_read): Rename mainline to symfile_flags.
* machoread.c (macho_symfile_read): Ditto.
* mipsread.c (mipscoff_symfile_read): Ditto.

14 years ago2009-12-07 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 7 Dec 2009 09:36:44 +0000 (09:36 +0000)] 
2009-12-07  Tristan Gingold  <gingold@adacore.com>

* dbxread.c (dbx_symfile_read): No need to test mainline to call
init_psymbol_list.
* xcoffread.c (xcoff_initial_scan): Ditto;
* coffread.c (coff_symfile_read): Remove call to init_psymbol_list.
* elfread.c (elf_symfile_read): Ditto.
* machoread.c (macho_symfile_read): Ditto.

14 years ago*** empty log message ***
gdbadmin [Mon, 7 Dec 2009 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Sun, 6 Dec 2009 23:00:05 +0000 (23:00 +0000)] 
daily update

14 years ago2009-12-05 Doug Kwan <dougkwan@google.com>
Doug Kwan [Sun, 6 Dec 2009 02:49:46 +0000 (02:49 +0000)] 
2009-12-05  Doug Kwan  <dougkwan@google.com>

elfcpp/ChangeLog:

* arm.h: Define enums for Tag_CPU_arch EABI attribute.

gold/ChangeLog:
* arm.cc (Target_arm::arm_info): Initialize new fields
attributes_section and attributes_vendor.
* i386.cc (Target_i386::i386_info): Same.
* object.cc (Sized_relobj::do_layout): Skip attribute section.
* gold/powerpc.cc (Target_powerpc::powerpc_info): Initialize new
fields attributes_section and attributes_vendor.
  * sparc.cc (Target_sparc::sparc_info): Same.
* target.h (Target::attributes_section, Target::attributes_vendor,
Target::is_attributes_section, Target::attribute_arg_type,
Target::attributes_order): New method definitions.
(Target::Target_info::attributes_section,
Target::Target_info::attributes_vendor): New fields.
(Target::do_attribute_arg_type, Target::do_attributes_order): New
virtual method definitions.
* x86_64.cc (Target_x86_64::x86_64_info): Initialize new fields
attributes_section and attributes_vendor.
* testsuite/testfile.cc (Target_test::test_target_info): Same.

14 years ago2009-12-05 Doug Kwan <dougkwan@google.com>
Doug Kwan [Sun, 6 Dec 2009 02:20:53 +0000 (02:20 +0000)] 
2009-12-05  Doug Kwan  <dougkwan@google.com>

* arm.cc: Update comments about interworking and stub generation.
(Target_arm::Relocate::reloc_is_non_pic): Update list of relocations
considered as non-PIC.
(Arm_relocate_functions::base_abs): Fix formatting.
(Arm_relocate_functions::got_prel): Fix comment.  Change interface
of function to use GOT entry address instead of offset.
(Target_arm::Scan::global): Issue an error if a symbol would need a
PLT does not get one because it is untyped.  Remove code to create
dynamic symbols for relative branches.
(Target_arm::Relocate::relocate: Use 0 instead of false since function
takes unsigned integer instead of boolean.

14 years ago*** empty log message ***
gdbadmin [Sun, 6 Dec 2009 00:00:33 +0000 (00:00 +0000)] 
*** empty log message ***

14 years ago2009-12-05 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 5 Dec 2009 23:22:54 +0000 (23:22 +0000)] 
2009-12-05  H.J. Lu  <hongjiu.lu@intel.com>

* testsuite/Makefile.am (constructor_test_LDADD): New. Empty.
(two_file_test_LDADD): Likewise.
(common_test_1_LDADD): Likewise.
(exception_test_LDADD) Likewise.
(weak_test_LDADD): Likewise.
(many_sections_test_LDADD): Likewise.
(initpri1_LDADD): Likewise.
(script_test_1_LDADD): Likewise.
(script_test_2_LDADD): Likewise.
(justsyms_LDADD): Likewise.
(binary_test_LDADD): Likewise.
(large_LDADD): Likewise.
* testsuite/Makefile.in: Regenerated.

14 years agodaily update
Alan Modra [Sat, 5 Dec 2009 23:00:04 +0000 (23:00 +0000)] 
daily update

14 years ago2009-12-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sat, 5 Dec 2009 07:28:45 +0000 (07:28 +0000)] 
2009-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* resolve.cc (symbol_to_bits): Treat STB_GNU_UNIQUE as STB_GLOBAL.
(Symbol_table::override_with_special): Likewise.
(Symbol_table::add_from_object): Likewise.

14 years ago*** empty log message ***
gdbadmin [Sat, 5 Dec 2009 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

14 years agodaily update
Alan Modra [Fri, 4 Dec 2009 23:00:04 +0000 (23:00 +0000)] 
daily update

14 years ago * valops.c (value_struct_elt_for_reference): Do not rely on
Daniel Jacobowitz [Fri, 4 Dec 2009 20:26:33 +0000 (20:26 +0000)] 
* valops.c (value_struct_elt_for_reference): Do not rely on
field order.

14 years ago2009-12-04 Rafael Avila de Espindola <espindola@google.com>
Rafael Ávila de Espíndola [Fri, 4 Dec 2009 18:18:18 +0000 (18:18 +0000)] 
2009-12-04  Rafael Avila de Espindola  <espindola@google.com>

* incremental.cc (Incremental_inputs::sized_create_inputs_section_data):
Don't set the data_offset twice.

14 years agopda
Rafael Ávila de Espíndola [Fri, 4 Dec 2009 15:47:49 +0000 (15:47 +0000)] 
pda

14 years agoSupport fxsave64 and fxrstor64.
H.J. Lu [Fri, 4 Dec 2009 07:51:41 +0000 (07:51 +0000)] 
Support fxsave64 and fxrstor64.

gas/testsuite/

2009-12-03  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Run x86-64-fxsave and x86-64-fxsave-intel.

* gas/i386/rex.d: Updated for fxsave64.

* gas/i386/x86-64-fxsave-intel.d: New.
* gas/i386/x86-64-fxsave.d: Likewise.
* gas/i386/x86-64-fxsave.s: Likewise.

opcodes/

2009-12-03  H.J. Lu  <hongjiu.lu@intel.com>

* i386-dis.c (FXSAVE_Fixup): New.
(FXSAVE): Likewise.
(mod_table): Use FXSAVE on fxsave and fxrstor.

* i386-opc.tbl: Add fxsave64 and fxrstor64.
* i386-tbl.h: Regenerated.

14 years ago * ld.texinfo: Make it clear that --nmagic disables linking
Jie Zhang [Fri, 4 Dec 2009 07:28:13 +0000 (07:28 +0000)] 
* ld.texinfo: Make it clear that --nmagic disables linking
against shared libraries.

14 years ago*** empty log message ***
gdbadmin [Fri, 4 Dec 2009 00:00:03 +0000 (00:00 +0000)] 
*** empty log message ***

14 years ago2009-12-03 Doug Kwan <dougkwan@google.com>
Doug Kwan [Thu, 3 Dec 2009 23:13:55 +0000 (23:13 +0000)] 
2009-12-03  Doug Kwan  <dougkwan@google.com>

* arm.cc: Remove comment about missing .ARM.exidx section symbols.
(Target_arm::do_finalize_sections): Add parameter for symbol table
pointer.  Add __exidx_start and __exidx_end symbols as appropriate.
* i386.cc (Target_i386::do_finalize_sections): Add an additional
parameter for symbol table pointer.
* layout.cc (Layout::finalize): Call Target::finalize_sections with
an additional parameter for a pointer to symbol table.
* powerpc.cc (Target_powerpc::do_finalize_sections): Add an additional
parameter for a symbol table pointer.
* sparc.cc (Target_sparc::do_finalize_sections): Ditto.
* target.h (Target::finalize_sections, Target::do_finalize_sections):
Ditto.
* x86_64.cc (Target_x86_64::do_finalize_sections): Add an additional
parameter for a symbol table pointer.

14 years agodaily update
Alan Modra [Thu, 3 Dec 2009 23:00:04 +0000 (23:00 +0000)] 
daily update

14 years ago2009-12-03 Richard Ward <richard.j.ward1@googlemail.com>
Phil Muldoon [Thu, 3 Dec 2009 21:19:49 +0000 (21:19 +0000)] 
2009-12-03  Richard Ward  <richard.j.ward1@googlemail.com>

* python/py-type.c (convert_field): New attribute "is_base_class".

doc/

2009-12-03  Richard Ward  <richard.j.ward1@googlemail.com>

* gdb.texinfo (Types In Python): Describe "is_base_class".

testsuite/

2009-12-03  Phil Muldoon <pmuldoon@redhat.com>

PR python/10805

* gdb.python/py-type.exp: New file.
* gdb.python/py-type.c: New file.
* Makefile.in: Add py-type.

14 years agogdb
Tom Tromey [Thu, 3 Dec 2009 18:30:02 +0000 (18:30 +0000)] 
gdb
* python/python.c (gdbpy_parse_and_eval): New function.
(GdbMethods): Add "parse_and_eval".
gdb/testsuite
* gdb.python/py-value.exp (test_parse_and_eval): New
function.
gdb/doc
* gdb.texinfo (Basic Python): Document gdb.parse_and_eval.

14 years agogdb/
Jan Kratochvil [Thu, 3 Dec 2009 17:59:02 +0000 (17:59 +0000)] 
gdb/
* linux-thread-db.c (find_new_threads_once): Change errp and err types
to td_err_e.
(thread_db_find_new_threads_2): Change err type to td_err_e.

14 years agoChangeLog:
Paul Pluzhnikov [Thu, 3 Dec 2009 17:47:08 +0000 (17:47 +0000)] 
ChangeLog:

2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>

PR gdb/11022

* breakpoint.c (invalidate_bp_value_on_memory_change):
New function.
(_initialize_breakpoint): Add it as memory change observer.

testsuite/ChangeLog:

2009-12-03  Paul Pluzhnikov  <ppluzhnikov@google.com>

       PR gdb/11022

       * gdb.base/pr11022.exp: New test.
       * gdb.base/pr11022.c: New test.

14 years agoinclude/
David Daney [Thu, 3 Dec 2009 17:01:46 +0000 (17:01 +0000)] 
include/
2009-12-03  David Daney  <ddaney@caviumnetworks.com>
Adam Nemet  <adambnemet@gmail.com>

* elf/mips.h (E_MIPS_MACH_OCTEON2): New machine flag.
binutils/
2009-12-03  David Daney  <ddaney@caviumnetworks.com>
Adam Nemet  <adambnemet@gmail.com>

* readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case.

14 years ago2009-12-03 Rafael Avila de Espindola <espindola@google.com>
Rafael Ávila de Espíndola [Thu, 3 Dec 2009 15:43:01 +0000 (15:43 +0000)] 
2009-12-03  Rafael Avila de Espindola  <espindola@google.com>

* incremental.cc (Incremental_inputs_header)
(Incremental_inputs_header_write, Incremental_inputs_entry)
(Incremental_inputs_entry_write): Move ...
* incremental.h (Incremental_inputs_header)
(Incremental_inputs_header_write, Incremental_inputs_entry)
(Incremental_inputs_entry_write): here.

14 years ago2009-12-03 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 3 Dec 2009 14:21:22 +0000 (14:21 +0000)] 
2009-12-03  Tristan Gingold  <gingold@adacore.com>

* machoread.c (macho_sym_fns): Set sym_segment routine.

14 years ago2009-12-03 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 3 Dec 2009 14:14:03 +0000 (14:14 +0000)] 
2009-12-03  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_make_bfd_section): Force debug flags for
all sections of the __DWARF segment.

14 years ago PR binutils/11045
Nick Clifton [Thu, 3 Dec 2009 12:28:37 +0000 (12:28 +0000)] 
    PR binutils/11045
        * dwarf.c (do_debug_pubtypes): New variable.
        (dwarf_select_sections_by_names): Handle .debug_pubtypes.
        (dwarf_select_sections_by_letters): Add 't' for .debug_pubtype.
        (dwarf_select_sections_all): Set do_debug_pubtypes.
        (debug_displays): Add support for .debug_pubtypes.
        * dwarf.h (do_debug_pubtypes): Export.
        * objdump.c (usage): Add -wt or --dwarf=pubtypes.
        * readelf.c (usage): Likewise.
        (process_section_headers): Enable debug display if
        do_debug_pubtypes is set.
        * doc/binutils.texi: Document -wt/--dwarf=pubtypes option.

14 years agogdb/testsuite/
Jan Kratochvil [Thu, 3 Dec 2009 11:40:18 +0000 (11:40 +0000)] 
gdb/testsuite/
Fix spurious false FAILs.
* gdb.base/structs.c (chartest): New.
(main): Fill-in chartest.
* gdb.base/structs.exp (anychar_re, first): New.
(start_structs_test): Import global anychar_re and first.
New gdb_test call "set print elements 300; ${testfile}"
(start_structs_test <$first>): New block.
(any): Import global anychar_re.  New variable ac.  Use ${ac}.

This page took 0.044263 seconds and 4 git commands to generate.