summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * configure.tgt: Add rx-*-elf target.Kevin Buettner2009-12-073-0/+875
| | | | * rx-tdep.c: New target.
* 2009-12-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-12-075-10/+36
| | | | | | | | | | | | | 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.
* 2009-12-07 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-0710-24/+26
| | | | | | | | | | | | | * 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.
* 2009-12-07 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-076-30/+12
| | | | | | | | | * 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.
* *** empty log message ***gdbadmin2009-12-071-1/+1
|
* daily updateAlan Modra2009-12-061-1/+1
|
* 2009-12-05 Doug Kwan <dougkwan@google.com>Doug Kwan2009-12-0611-10/+131
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 2009-12-05 Doug Kwan <dougkwan@google.com>Doug Kwan2009-12-062-45/+61
| | | | | | | | | | | | | | * 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.
* *** empty log message ***gdbadmin2009-12-061-1/+1
|
* 2009-12-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-12-053-154/+73
| | | | | | | | | | | | | | | | * 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.
* daily updateAlan Modra2009-12-051-1/+1
|
* 2009-12-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-12-053-0/+9
| | | | | | * resolve.cc (symbol_to_bits): Treat STB_GNU_UNIQUE as STB_GLOBAL. (Symbol_table::override_with_special): Likewise. (Symbol_table::add_from_object): Likewise.
* *** empty log message ***gdbadmin2009-12-051-1/+1
|
* daily updateAlan Modra2009-12-041-1/+1
|
* * valops.c (value_struct_elt_for_reference): Do not rely onDaniel Jacobowitz2009-12-042-14/+21
| | | | field order.
* 2009-12-04 Rafael Avila de Espindola <espindola@google.com>Rafael Ávila de Espíndola2009-12-042-4/+5
| | | | | * incremental.cc (Incremental_inputs::sized_create_inputs_section_data): Don't set the data_offset twice.
* pdaRafael Ávila de Espíndola2009-12-042-6/+20
|
* Support fxsave64 and fxrstor64.H.J. Lu2009-12-0410-6/+208
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * ld.texinfo: Make it clear that --nmagic disables linkingJie Zhang2009-12-042-2/+8
| | | | against shared libraries.
* *** empty log message ***gdbadmin2009-12-041-1/+1
|
* 2009-12-03 Doug Kwan <dougkwan@google.com>Doug Kwan2009-12-038-22/+57
| | | | | | | | | | | | | | | | | * 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.
* daily updateAlan Modra2009-12-031-1/+1
|
* 2009-12-03 Richard Ward <richard.j.ward1@googlemail.com>Phil Muldoon2009-12-038-1/+201
| | | | | | | | | | | | | | | | | | | | * 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.
* gdbTom Tromey2009-12-036-0/+64
| | | | | | | | | | * 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.
* gdb/Jan Kratochvil2009-12-032-3/+9
| | | | | | * 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.
* ChangeLog:Paul Pluzhnikov2009-12-035-0/+135
| | | | | | | | | | | | | | | | | | | 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.
* include/David Daney2009-12-034-0/+12
| | | | | | | | | | | | 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.
* 2009-12-03 Rafael Avila de Espindola <espindola@google.com>Rafael Ávila de Espíndola2009-12-033-162/+173
| | | | | | | | | * 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.
* 2009-12-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-032-0/+6
| | | | * machoread.c (macho_sym_fns): Set sym_segment routine.
* 2009-12-03 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-032-2/+12
| | | | | * mach-o.c (bfd_mach_o_make_bfd_section): Force debug flags for all sections of the __DWARF segment.
* PR binutils/11045Nick Clifton2009-12-036-15/+41
| | | | | | | | | | | | | | * 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.
* gdb/testsuite/Jan Kratochvil2009-12-033-20/+57
| | | | | | | | | | | 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}.
* PR ld/11047Alan Modra2009-12-033-13/+14
| | | | | | | * elf32-ppc.c (ppc_elf_relocate_section): Delete __tls_get_addr symbol reference from relocs belonging to calls that are optimized away. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* 2009-12-02 Rafael Avila de Espindola <espindola@google.com>Rafael Ávila de Espíndola2009-12-033-0/+16
| | | | | | * incremental.cc (make_sized_incremental_binary): Set the target. Error if it is incompatible. * output.h (Output_file): Add filename method.
* *** empty log message ***gdbadmin2009-12-031-1/+1
|
* daily updateAlan Modra2009-12-021-1/+1
|
* PR gas/11013Nick Clifton2009-12-027-16/+55
| | | | | | | | | | | * arm-dis.c (thumb32_opc): Adjust disassembly of QADD, QDADD, QSUB and QDSUB. * gas/arm/arch7em.d: Update expected disassembly. * gas/arm/thumb32.d: Likewise. * config/tc-arm.c (do_t_simd2): New function. (insns): Use do_t_simd2 for QADD, QDADD, QSUB and QDSUB.
* gdb/ChangeLog:Paul Pluzhnikov2009-12-028-10/+21
| | | | | | | | | | | | | | | | | | | | | | | 2009-12-02 Paul Pluzhnikov <ppluzhnikov@google.com> * ada-lang.c (ada_value_assign): Use observer_notify_memory_changed. * valops.c (value_assign): Likewise. * defs.h (deprecated_memory_changed_hook): Remove. * top.c (deprecated_memory_changed_hook): Likewise. * interps.c (clear_interpreter_hooks): Adjust. gdb/gdbtk/ChangeLog: 2009-12-02 Paul Pluzhnikov <ppluzhnikov@google.com> * generic/gdbtk-hooks.c (gdbtk_memory_changed): Adjust. (gdbtk_add_hooks): Adjust. gdb/doc/ChangeLog: 2009-12-02 Paul Pluzhnikov <ppluzhnikov@google.com> * observer.texi: New memory_changed observer.
* 2009-12-02 Rafael Avila de Espindola <espindola@google.com>Rafael Ávila de Espíndola2009-12-022-6/+11
| | | | | * incremental.cc (Incremental_inputs_entry): Remove unused argument from the get_* methods.
* * cgen-engine.h: Remove duplicated comment.Doug Evans2009-12-022-12/+4
|
* 2009-12-02 Rafael Avila de Espindola <espindola@google.com>Rafael Ávila de Espíndola2009-12-023-0/+28
| | | | | | * incremental-dump.cc (main): Check that the offeset of a script is 0. * incremental.cc (Incremental_inputs::sized_create_inputs_section_data): Write 0 for the data_offset of scripts.
* 2009-12-02 Rafael Avila de Espindola <espindola@google.com>Rafael Ávila de Espíndola2009-12-025-0/+99
| | | | | | | * testsuite/Makefile.am: Add the incremental_test.sh test. * testsuite/incremental_test.sh: New. * testsuite/incremental_test_1.c: New. * testsuite/incremental_test_2.c: New.
* PR binutils/11017Nick Clifton2009-12-027-26/+56
| | | | | | | | | | | * dlltool.c (PAGE_SIZE): Delete. (PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE. Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386. * coff-i386.h (COFF_PAGE_SIZE): Definition moved to coff/i386.h * i386lh (COFF_PAGE_SIZE): Define. * x86_64.h (COFF_PAGE_SIZE): Define.
* 2009-12-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-026-8/+22
| | | | | | | | | | | * symfile.h (dwarf2_build_psymtabs): Remove mainline parameter in prototype. * dwarf2read.c (dwarf2_build_psymtabs): Remove mainline paramter in definition, simplify code assuming it is always 0. * coffread.c (coff_symfile_read): Adjust call. * elfread.c (elf_symfile_read): Ditto. * machoread.c (macho_symfile_read): Explicitely calls init_psymbol_list if mainline is set.
* 2009-12-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-027-25/+30
| | | | | | | | | | | | | | | | | * dwarf2read.c (dwarf2_build_psymtabs_easy): Remove mainline parameter. (dwarf2_build_psymtabs_hard): Ditto. (dwarf2_build_psymtabs): Ajust calls. * stabsread.h (elfstab_build_psymtabs): Remove mainline parameter on the prototype. (coffstab_build_psymtabs): Ditto. (stabsect_build_psymtabs): Ditto. * dbxread.c (coffstab_build_psymtabs): Remove mainline parameter on the definition. (elfstab_build_psymtabs): Ditto. (stabsect_build_psymtabs): Ditto. * coffread.c (coff_symfile_read): Adjust call. * elfread.c (elf_symfile_read): Ditto. * somread.c (som_symfile_read): Ditto.
* 2009-10-23 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-12-022-2/+8
| | | | | * charset.c (_initialize_charset): Set a default value to auto_host_charset_name if empty.
* *** empty log message ***gdbadmin2009-12-021-1/+1
|
* daily updateAlan Modra2009-12-011-1/+1
|
* * gcore.c: Include solib.h.Joseph Myers2009-12-016-1/+92
| | | | | | | | | | | (gcore_create_callback): Call solib_keep_data_in_core when considering not saving memory in core file. * solib-svr4.c (svr4_keep_data_in_core): New. (_initialize_svr4_solib): Initialize svr4_so_ops.keep_data_in_core. * solib.c (solib_keep_data_in_core): New. * solib.h (solib_keep_data_in_core): Declare. * solist.h (struct target_so_ops): Add keep_data_in_core.
* * gdb.texinfo (Reverse Execution): Fix typo.Tom Tromey2009-12-012-1/+5
|