aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-222010-02-21 Doug Kwan <dougkwan@google.com>Doug Kwan12-17/+543
* arm.cc (Arm_relocate_functions::arm_branch_common): Fix bug in handling of the maximum backward branch offset. (Arm_relocate_functions::thumb_branch_common): Ditto. * testsuite/Makefile.am (check_SCRIPTS): Add arm_branch_in_range.sh. (check_DATA): Add arm_bl_in_range.stdout, arm_bl_out_of_range.stdout thumb_bl_in_range.stdout, thumb_bl_out_of_range.stdout, thumb2_bl_in_range.stdout and thumb2_bl_out_of_range.stdout. (arm_bl_in_range.stdout, arm_bl_in_range, arm_bl_in_range.o, arm_bl_out_of_range.stdout, arm_bl_out_of_range, arm_bl_out_of_range.o, thumb_bl_in_range.stdout, thumb_bl_in_range, thumb_bl_in_range.o, thumb_bl_out_of_range.stdout, thumb_bl_out_of_range thumb_bl_out_of_range.o, thumb2_bl_in_range.stdout, thumb2_bl_in_range, thumb2_bl_in_range.o thumb2_bl_out_of_range.stdout, thumb2_bl_out_of_range, thumb2_bl_out_of_range.o): New rules. (MOSTLYCLEANFILES): Add arm_bl_in_range, arm_bl_out_of_range, thumb_bl_in_range, thumb_bl_out_of_range, thumb2_bl_in_range and thumb2_bl_out_of_range * testsuite/Makefile.in: Regenerate. * testsuite/arm_bl_in_range.s: New file. * testsuite/arm_bl_out_of_range.s: Ditto. * testsuite/arm_branch_in_range.sh: Ditto. * testsuite/arm_branch_range.t: Ditto. * testsuite/thumb2_branch_range.t: Ditto. * testsuite/thumb_bl_in_range.s: Ditto. * testsuite/thumb_bl_out_of_range.s: Ditto. * testsuite/thumb_branch_range.t: Ditto.
2010-02-22*** empty log message ***gdbadmin1-1/+1
2010-02-21daily updateAlan Modra1-1/+1
2010-02-21 * reloc.c (bfd_check_overflow): When forming addrmask, shiftAlan Modra2-4/+17
fieldmask left by rightshift. (_bfd_relocate_contents): Likewise. Use rightshift addrmask in all overflow checks.
2010-02-212010-02-20 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam4-55/+74
* gc.h (gc_process_relocs): Change vectors to point to the new list. Add reloc offset information. * icf.cc (get_section_contents): Change iterators to point to the new vectors. Add reloc offset information to the contents. * icf.h (Icf::Sections_reachable_info): New typedef. (Icf::Sections_reachable_list): New typedef. (Icf::Offset_info): New typedef. (Icf::Reloc_info): New struct typedef. (Icf::Reloc_info_list): New typedef. (Icf::symbol_reloc_list): Delete method. (Icf::addend_reloc_list): Delete method. (Icf::section_reloc_list): Delete method. (Icf::reloc_info_list): New method. (Icf::reloc_info_list_): New member.
2010-02-21*** empty log message ***gdbadmin1-1/+1
2010-02-20daily updateAlan Modra1-1/+1
2010-02-20Don't check STT_GNU_IFUNC on large common symbol.H.J. Lu2-1/+6
2010-02-20 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Don't check STT_GNU_IFUNC on large common symbol.
2010-02-20*** empty log message ***gdbadmin1-1/+1
2010-02-19daily updateAlan Modra1-1/+1
2010-02-192010-02-18 Doug Kwan <dougkwan@google.com>Doug Kwan3-12/+448
* arm-reloc.def: Mark R_ARM_TLS_GD32, R_ARM_TLS_LDM32, R_ARM_TLS_LDO32, R_ARM_TLS_IE32 and R_ARM_TLS_LE32 are implemented. * arm.cc (Arm_relocation_functions): New forward declaration. (Target_arm::Target_arm): Initialize new data members got_mod_index_offset_ and tls_base_symbol_defined_. (Target_arm::Relocate::relocate_tls): New method. (Target_arm::optimize_tls_reloc, Target_arm::define_tls_base_symbol, Target_arm::got_mod_index_entry, Target_arm::rel_tls_desc_section): New methods. (Target_arm::Got_type): Add GOT_TYPE_TLS_NOFFSET, GOT_TYPE_OFFSET, GOT_TYPE_TLS_PAIR and GOT_TYPE_TLS_DESC. (Target_arm::got_mod_index_offset_, Target_arm::tls_base_symbol_defined_): New data members. (Target_arm::Scan::local, Target::Scan::global, Target_arm::Relocate::relocate): Handle 32-bit initial TLS relocations.
2010-02-19 * p-typeprint.c (pascal_type_print_varspec_prefix): Update.Tom Tromey6-63/+23
* m2-typeprint.c (m2_print_type): Update. * gdbtypes.c (recursive_dump_type): Update. (copy_type_recursive): Update. * c-typeprint.c (c_type_print_varspec_prefix): Update. (c_type_print_base): Update. * gdbtypes.h (TYPE_CODE_TEMPLATE, TYPE_CODE_TEMPLATE_ARG): Remove. (struct cplus_struct_type) <ntemplate_args>: Remove. <struct template_arg>: Remove. <is_dynamic>: Move earlier. (TYPE_TEMPLATE_ARGS): Remove. (TYPE_NTEMPLATE_ARGS): Remove. (TYPE_TEMPLATE_ARG): Remove.
2010-02-19gdbTom Tromey5-155/+290
PR c++/8693, PR c++/9496: * cp-namespace.c (cp_lookup_nested_type): Handle TYPE_CODE_UNION. * c-exp.y (lex_one_token): Rename from yylex. Don't call write_dollar_variable. Don't try to classify NAME tokens. (token_and_value): New type. (token_fifo, popping, name_obstack): New globals. (classify_name): New function. (classify_inner_name): Likewise. (yylex): Likewise. (VARIABLE): Now has type sval. (exp : VARIABLE): Call write_dollar_variable. (qualified_name): Use TYPENAME, not typebase. Add production for multiple "::" instances. (variable): Use name_not_typename. (qualified_type): Remove. (typebase): Update. gdb/testsuite PR c++/8693, PR c++/9496: * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added regression tests.
2010-02-19 * gdbint.texinfo (Getting Started): Fix @node.Tom Tromey2-2/+7
(Debugging GDB): Likewise.
2010-02-19gdb/testsuite/Jan Kratochvil2-225/+231
Fix compatibility with m68k as. * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte. Use only /* comments */.
2010-02-19testsuite/Ulrich Weigand3-3/+9
* configure.ac: Add gdb.multi/Makefile to AC_OUTPUT. * configure: Regenerate.
2010-02-19gdb/Jan Kratochvil3-13/+26
* symfile.c (addr_info_make_relative): Extend comment. Move SECT to a more inner block. Initialize ADDR by LOWER_OFFSET only if it was found by bfd_get_section_by_name. * symfile.h (struct section_addr_info) <sectindex>: New comment.
2010-02-19Don't set ELFOSABI_LINUX in dynamic ifunc-using executable.H.J. Lu9-11/+34
bfd/ 2010-02-18 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c (elf_i386_add_symbol_hook): Don't set has_ifunc_symbols if the symbol comes from a shared library. * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise. * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise. * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise. * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise. * elf64-x86-64.c (elf64_x86_64_add_symbol_hook): Likewise. ld/testsuite/ 2010-02-18 H.J. Lu <hongjiu.lu@intel.com> * ld-ifunc/ifunc.exp: Expect System V OSABI in dynamic ifunc-using executable.
2010-02-19 * configure.tgt: Whiltespace. Sort moxie entry.Alan Modra2-15/+19
2010-02-19 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.Alan Modra3-2/+7
* Makefile.in: Regenerate.
2010-02-192010-02-18 Doug Kwan <dougkwan@google.com>Doug Kwan2-43/+227
* arm.cc (Arm_relobj::find_linked_text_section): New method. (Arm_relobj::make_exidx_input_section): Pass section index of linked text section as a parameter becuase some broken tools may not set the link in section header. (Target_arm::has_got_section): New method. (Target_arm::scan_section_for_cortex_a8_stubs): Treat an input section without any mapping symbol as data only. Remove warning. (Arm_relobj::do_read_synbols): If an EXIDX input section has no link in its section header, try to discover the link by inspecting the REL31 relocation at the beginning of the section. (Target_arm::Scan::check_non_pic): Report name of offending relocation in error message. (Target_arm::Scan::global): Treat any reference to the symbol _GLOBAL_OFFSET_TABLE_ as a GOT access.
2010-02-19bfd/Alan Modra11-36/+159
* elf.c (_bfd_elf_fixup_group_sections): New function, split out from.. (_bfd_elf_copy_private_header_data): ..here. * elflink.c (_bfd_elf_size_group_sections): New function. (bfd_elf_size_dynamic_sections): Call it. * elf-bfd.h (_bfd_elf_size_group_sections): Declare. (_bfd_elf_fixup_group_sections): Declare. ld/ * ldlang.c (unique_section_p): Add os param. Allow group sections to match /DISCARD/. Update all callers. * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New. (LDEMUL_BEFORE_ALLOCATION): Define. ld/testsuite/ * ld-elf/group.ld: Discard .dropme sections. * ld-elf/group10.d, * ld-elf/group10.s: New test.
2010-02-19 * readelf.c (get_group_flags): Return empty string when flags zero.Alan Modra2-3/+12
Add space in other returned values. (process_section_groups): Adjust format string.
2010-02-19 * NEWS: Add new "[...] since 7.1" section. Rename the "[...] sinceJoel Brobecker2-1/+8
7.0 section" into "Changes in 7.1".
2010-02-19Record GDB 7.1 branch creation. Bump version number to 7.1.50.20100219-cvs.gdbadmin2-1/+6
2010-02-19*** empty log message ***gdbadmin1-1/+1
2010-02-18daily updateAlan Modra1-1/+1
2010-02-182010-02-18 Harald Koenig <H.Koenig@science-computing.de>gdb_7_1-branchpointPedro Alves3-2/+7
* mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'. * symfile.c (symfile_map_offsets_to_segments): Fix assertion.
2010-02-18 * ld-arm/attr-merge-6.attr: Add new test. Missed off last commit.Matthew Gretton-Dann2-0/+13
2010-02-18 * NEWS: Add Python API Improvements section.Tom Tromey2-0/+18
2010-02-18 * NEWS: Correct typo.Daniel Jacobowitz2-1/+5
2010-02-18 * gdb.python/py-type.exp: Check for Python support.Daniel Jacobowitz2-0/+13
2010-02-18 * bfd/elf32-arm.c (elf32_arm_merge_eabi_attributes): Add support forMatthew Gretton-Dann22-14/+178
merging Tag_DIV_use, Tag_MPextension_use, and Tag_MPextension_use_legacy tags. * binutils/readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of newly permitted attribute values. (arm_attr_tag_Virtualization_use): Likewise. (arm_attr_tag_DIV_use): Add description of new attribute. (arm_attr_tag_MPextension_use_legacy): Likewise. * gas/config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use. * gas/doc/c-arm.texi: Likewise. * gas/testsuite/gas/arm/attr-order.d: Fix test for new names for attribute values. * include/elf/arm.h (Tag_MPextension_use): Renumber. (Tag_DIV_use): Add. (Tag_MPextension_use_legacy): Likewise. * ld/testsuite/ld-arm/attr-merge-3.attr: Fix test for new attribute values. * ld/testsuite/ld-arm/attr-merge-3b.s: Likewise. * ld/testsuite/ld-arm/attr-merge-unknown-1.d: Fix test now that 42 is a recognised attribute ID. * ld/testsuite/ld-arm/attr-merge-unknown-1.s: Likewise. * ld/testsuite/ld-arm/attr-merge-6.attr: New test. * ld/testsuite/ld-arm/attr-merge-6a.s: Likewise. * ld/testsuite/ld-arm/attr-merge-6b.s: Likewise. * ld/testsuite/ld-arm/attr-merge-7.attr: Likewise. * ld/testsuite/ld-arm/attr-merge-7a.s: Likewise. * ld/testsuite/ld-arm/attr-merge-7b.s: Likewise. * ld/testsuite/ld-arm/arm-elf.exp: Run the new tests.
2010-02-18 * binutils-all/group-5.s, * binutils-all/group-5.d: New test.Alan Modra4-0/+37
* binutils-all/objcopy.exp: Run it.
2010-02-18 * elf.c (bfd_elf_set_group_contents): Revert accidental 2009-01-15Alan Modra2-13/+25
commit. Don't write zeros for removed group members. (_bfd_elf_copy_private_header_data): Adjust size of group section when group members are removed by objcopy.
2010-02-18*** empty log message ***gdbadmin1-1/+1
2010-02-17 * lib/gdb.exp (build_id_debug_filename_get): Don't assume newPedro Alves2-1/+6
`regsub' syntax available.
2010-02-17daily updateAlan Modra1-1/+1
2010-02-17 * gdb.base/shmain.c (main): Remove printf call.Pedro Alves5-22/+29
* gdb.base/sizeof.c (main): Cast return of sizeof to int. * gdb.base/unload.c (main): Make format of fprintf a string literal. Add missing endlines to prints to stderr. * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
2010-02-17gdbTom Tromey5-2/+23
* objfiles.c (gdb_bfd_ref): Handle abfd==NULL. gdb/testsuite * gdb.java/jprint.java (jprint.props): New field. * gdb.java/jprint.exp (set_lang_java): Add regression test.
2010-02-17Use tab, not spaces.Pedro Alves1-1/+1
2010-02-17 * gdb.base/charset.exp: Don't assume new `regsub' syntaxPedro Alves2-2/+7
available.
2010-02-17gdb/Jan Kratochvil2-10/+15
* symfile.c (build_section_addr_info_from_objfile): Include sections only if they are SEC_ALLOC or SEC_LOAD.
2010-02-17Use CORE_ADDR instead of ULONGEST on address.H.J. Lu2-2/+8
2010-02-17 H.J. Lu <hongjiu.lu@intel.com> PR shlibs/11293 * solib-svr4.c (enable_break): Check size of CORE_ADDR instead of ULONGEST for address size.
2010-02-17 * NEWS: Add C++ improvements section.Tom Tromey2-1/+18
2010-02-17 * python/python-internal.h [!WITH_THREAD] (PyGILState_Release,Ulrich Weigand2-2/+7
PyThreadState_Swap): Avoid "statement with no effect" warning.
2010-02-17gdb/Jan Kratochvil2-1/+31
* solib-svr4.c (enable_break <target_auxv_search>): New variable addr_bit. Adjust LOAD_ADDR sign for cross-arch inferiors.
2010-02-17 * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to deleteNick Clifton2-1/+4
the config.cache files found by the find command.
2010-02-172010-02-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-4/+8
Petr HluzĂ­<petr.hluzin@gmail.com> * avr-tdep.c (avr_scan_prologue): Convert an if statement to a gdb_assert. Fix info->size for SIG prologue.
2010-02-172010-02-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold22-0/+1409
* dmt.h, dst.h, eeom.h, egps.h, egsd.h, egst.h, egsy.h: New Files. * eiaf.h, eicp.h, eiha.h, eihd.h, eihi.h, eihs.h, eihvn.h: Ditto. * eisd.h, emh.h, eobjrec.h, esdf.h, esrf.h, etir.h, shl.h: Ditto.