aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-07-17merge from gccDJ Delorie4-18/+63
2009-07-172009-07-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-9/+23
* config/tc-i386.c (md_assemble): Update operand types. (update_imm): Updated. (finalize_imm): Update the first 2 immediate operands only for instructions with 2 operands or more.
2009-07-172009-07-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-6/+14
* config/tc-i386.c (md_assemble): Check implicit registers only for instructions with 3 operands or less.
2009-07-17 * solib.c (solib_bfd_open): Do not call ops->bfd_open.Ulrich Weigand11-8/+25
(solib_map_sections): Call ops->bfd_open instead of solib_bfd_open. * solib-frv.c (_initialize_frv_solib): Initialize bfd_open member. * solib-irix.c (_initialize_irix_solib): Likewise. * solib-null.c (_initialize_null_solib): Likewise. * solib-osf.c (_initialize_osf_solib): Likewise. * solib-pa64.c (_initialize_pa64_solib): Likewise. * solib-som.c (_initialize_som_solib): Likewise. * solib-sunos.c (_initialize_sunos_solib): Likewise. * solib-svr4.c (_initialize_svr4_solib): Likewise. * solib-target.c (_initialize_solib_target): Likewise.
2009-07-17 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Respect mixed_mode flag.Ulrich Weigand2-2/+6
2009-07-17 * config/tc-avr.c (md_apply_fix): Cast fixup reloc type to avoidNick Clifton2-1/+6
compile time warning.
2009-07-17 * dwarf.c (display_debug_lines): If do_debug_lines has not beenNick Clifton2-0/+8
set then default to displaying raw .debug_line section contents.
2009-07-17 PR other/40784Joseph Myers2-2/+8
* tls.m4 (GCC_CHECK_TLS): Add extra quoting around argument to AC_LINK_IFELSE.
2009-07-17 * ld-mips-elf/pic-and-nonpic-3b.dd: Updated to use new PLTNick Clifton3-8/+8
entries. * ld-mips-elf/pic-and-nonpic-5b.dd: Likewise. * ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise. * ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise. * ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise.
2009-07-17 * elfxx-mips.c (LOAD_INTERLOCKS_P): New define.Nick Clifton6-20/+57
(_bfd_mips_elf_size_dynamic_sections): For CPUs without load interlocking, the last PLT entry needs a nop in the branch delay slot. (_bfd_mips_elf_finish_dynamic_symbol): For CPUs with load itnerlocking, output the last two PLT entries in reverse order. * ld-mips-elf/pic-and-nonpic-3b.dd, ld-mips-elf/pic-and-nonpic-5b.dd, ld-mips-elf/pic-and-nonpic-6-o32.dd: Updated to use new PLT entries.
2009-07-17 PR 10400Ian Lance Taylor6-165/+366
* layout.h: #include <map>. (class Kept_section): Change from struct to class. Add accessors and setters. Add section size to Comdat_group mapping. Change Comdat_group to std::map. Add is_comdat_ field. Add linkonce_size field in union. (class Layout): Update declaration of find_or_add_kept_section. Don't declare find_kept_object. * layout.cc (Layout::find_or_add_kept_section): Remove candidate parameter. Add object, shndx, is_comdat, and is_group_name parameters. Change all callers. Adjust for new Kept_section. (Layout::find_kept_object): Remove. * object.cc (Sized_relobj::include_section_group): Update use of Kept_section. Rename secnum to shndx. Only record Kept_comdat_section if sections are the same size. (Sized_relobj::include_linkonce_section): Update use of Kept_section. Only record Kept_comdat_section if sections are the same size. Set size of linkonce section. (Sized_relobj::map_to_kept_section): Update call to get_kept_comdat_section. * object.h (class Sized_relobj): Rename fields in Kept_comdat_section to drop trailing underscores; change object field to Relobj*. Change Kept_comdat_section_table to store struct rather than pointer. (Sized_relobj::set_kept_comdat_section): Remove kept parameter. Add kept_object and kept_shndx parameters. Change all callers. (Sized_relobj::get_kept_comdat_section): Change return type to bool. Add kept_object and kept_shndx parameters. Change all callers. * plugin.cc (Pluginobj::include_comdat_group): Update call to Layout::find_or_add_kept_section.
2009-07-17daily updateAlan Modra1-1/+1
2009-07-17*** empty log message ***gdbadmin1-1/+1
2009-07-16 * tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library whenJoseph Myers2-1/+24
cross-compiling.
2009-07-162009-07-16 Dave Korn <dave.korn.cygwin@gmail.com>H.J. Lu2-2/+8
H.J. Lu <hongjiu.lu@intel.com> * binutils-all/objcopy.exp: Run testranges and testranges-ia64 for ELF targets only.
2009-07-162009-07-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-0/+83
* binutils-all/objcopy.exp; Run testranges-ia64. * binutils-all/testranges.d: Don't run for ia64. * binutils-all/testranges-ia64.d: New. * binutils-all/testranges-ia64.s: Likewise.
2009-07-16 * linux-thread.db.c (try_thread_db_load_1): Tweak comment.Doug Evans2-4/+8
2009-07-162007-07-16 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2-1/+32
* linux-thread-db.c (thread_db_find_new_threads_silently): New function. (try_thread_db_load_1): Call it.
2009-07-16 * cpu/simplify.inc (*): One line doc strings don't need \n.Doug Evans2-36/+45
(df): Invoke define-full-ifield instead of claiming it's an alias. (dno): Define. (dnop): Mark as deprecated.
2009-07-16gas/H.J. Lu7-2/+72
2009-07-16 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (md_assemble): Only check i.operands for AX. (md_estimate_size_before_relax): Don't relax IFUNC symbols. gas/testsuite/ 2009-07-16 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Run ifunc and x86-64-ifunc. * gas/i386/ifunc.d: New, * gas/i386/ifunc.s: Likewise. * gas/i386/x86-64-ifunc.d: Likewise.
2009-07-16bfd/H.J. Lu6-2/+36
2009-07-16 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c (elf_i386_relocate_section): Don't get local STT_GNU_IFUNC symbol for relocatable link. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. ld/testsuite/ 2009-07-16 H.J. Lu <hongjiu.lu@intel.com> * ld-ifunc/ifunc-5r-local-i386.d: New. * ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2009-07-16 gas/Nathan Sidwell10-5/+50
* config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write the offset for REL targets here. gas/testsuite/ * gas/arm/target-reloc-1.s: New. * gas/arm/target-reloc-1.d: New. ld/testsuite/ * ld-arm/arm-target2.s: Add addend cases. * ld-arm/arm-target2-rel.d: Adjust. * ld-arm/arm-target2-abs.d: Adjust. * ld-arm/arm-target2-got-rel.d: Adjust.
2009-07-162009-07-15 Kai Tietz <kai.tietz@onevision.com>H.J. Lu2-1/+5
* listing.c (print_source): Initialize cache by NULL.
2009-07-16*** empty log message ***gdbadmin1-1/+1
2009-07-16daily updateAlan Modra1-1/+1
2009-07-15 Code reorg in preparation for adding comdat types support.Doug Evans2-312/+430
* dwarf2read.c (struct die_reader_specs): New struct. (locate_pdi_sibling): New arg buffer. All callers updated. (load_partial_dies, read_partial_die): Ditto. (read_8_bytes): Change return type to ULONGEST. (read_comp_unit): Delete arg abfd. All callers updated. (read_die_and_children_1): Delete args abfd, cu. New arg reader. All callers updated. (read_die_and_children, read_die_and_siblings): Ditto. (read_full_die): Ditto. Move closer to callers. (skip_one_die): New arg buffer. All callers updated. (load_full_comp_unit): Change return type to void. All callers updated. (partial_read_comp_unit_head): New args buffer, buffer_size. All callers updated. (process_psymtab_comp_unit): New function, split out from dwarf2_build_psymtabs_hard. (dwarf2_build_psymtabs_hard): Call it. (load_partial_comp_unit): Renamed from load_comp_unit. All callers updated. (skip_children): New arg buffer. All callers updated. (init_cu_die_reader): New function. (is_ref_attr): New function. (dwarf2_get_ref_die_offset): Call it. (alloc_one_comp_unit): New function.
2009-07-15 * doc/c-arm.texi (mauto-it): Removed old option.Nick Clifton2-4/+22
(mimplicit-it): Added right option.
2009-07-152009-07-14 Michael Snyder <msnyder@vmware.com>Michael Snyder2-34/+9
* gdb.reverse/finish-reverse.exp: Do not expect reverse-finish to bring gdb to the beginning of the calling line.
2009-07-152009-07-14 Michael Snyder <msnyder@vmware.com>Michael Snyder2-0/+10
* gdb.arch/i386-signal.c (sigframe): Add a nop to avoid confusing the i386 epilogue unwinder.
2009-07-15*** empty log message ***gdbadmin1-1/+1
2009-07-15daily updateAlan Modra1-1/+1
2009-07-14 * MAINTAINERS (Global Maintainers): Add Doug Evans.Stan Shebs2-0/+5
2009-07-14 gdb/Stan Shebs11-10/+292
Conditional tracepoints. * ax-gdb.h (gen_eval_for_expr): Declare. * ax-gdb.c (gen_expr): Generate bytecodes for BINOP_EQUAL and other comparisons. (gen_eval_for_expr): New function. (agent_eval_command): New maintenance command. (_initialize_ax_gdb): Define the command. * remote.c (struct remote_state): New field cond_tracepoints. (PACKET_ConditionalTracepoints): New packet config type. (remote_cond_tracepoint_feature): New function. (remote_protocol_features): Add ConditionalTracepoints. (remote_supports_cond_tracepoints): New function. (_initialize_remote): Add ConditionalTracepoints. * tracepoint.c (download_tracepoint): Add conditional. * NEWS: Mention conditional tracepoints. gdb/doc/ * gdb.texinfo (Tracepoint Conditions): New section. (General Query Packets): Describe ConditionalTracepoints. (Tracepoint Packets): Describe condition field. (Maintenance Commands): Describe maint agent-eval. * agentexpr.texi (Using Agent Expressions): Mention eval usage. gdb/testsuite/ * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
2009-07-142009-07-14 Michael Snyder <msnyder@vmware.com>Michael Snyder2-2/+12
* gdb.reverse/step-reverse.exp (stepi into function call): Call instruction may not be first instruction in the line. (reverse stepi from a function call): Used wrong line number.
2009-07-14binutils/Jan Kratochvil7-106/+195
Support unordered .debug_info references to .debug_ranges. * dwarf.c (struct range_entry, range_entry_compar): New. (display_debug_ranges): Remove variables last_offset, first, j, seen_first_offset, use_debug_info and next. New variables range_entries and range_entry_fill. Create the sorted copy range_entries. Remove the FIXME error on detected unordered references. * dwarf.h (debug_info <range_lists>): New comment. binutils/testsuite/ * binutils-all/objcopy.exp (testranges): New test. * binutils-all/testranges.d, binutils-all/testranges.s: New files.
2009-07-14 * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.Nick Clifton5-1/+96
(MAX_MEM_FOR_RS_ALIGN_CODE): Define in terms of MAX_MEM_ALIGNMENT_BYTES. * config/tc-arm.c (arm_frag_align_code): Replace hard coded constant with MAX_MEM_FOR_RS_ALIGN_CODE. * gas/arm/align64.s: New test case. * gas/arm/align64.d: Expected disassembly.
2009-07-14 PR 10387Nick Clifton2-12/+20
* config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer. (ARM_IS_FUNC): Likewise.
2009-07-14 * objfiles.c (objfile_relocate): Do not relocate the sameUlrich Weigand2-3/+9
BLOCKVECTOR_MAP address map multiple times.
2009-07-14 * remote.c (process_stop_reply): Access expedited target registersUlrich Weigand2-2/+8
in target_gdbarch.
2009-07-14 PR 10288Nick Clifton2-18/+78
* arm-dis.c (arm_opcodes): Catch illegal Addressing Mode 1 patterns. (arm_decode_shift): Catch illegal register based shifts. (print_insn_arm): Properly handle negative register r0 post-indexed addressing.
2009-07-14 gas/Nick Clifton9-55/+289
* config/tc-arm.c (md_assemble): Added validation. gas/testsuite * gas/arm/thumb-w-bad.d: New test case. * gas/arm/thumb-w-bad.l: New file. * gas/arm/thumb-w-bad.s: New file. * gas/arm/thumb-w-good.d: New test case. * gas/arm/thumb-w-good.s: New file.
2009-07-14 PR 10380Nick Clifton2-1/+17
* README: Document use of LDFLAGS="--static".
2009-07-14daily updateAlan Modra1-1/+1
2009-07-14*** empty log message ***gdbadmin1-1/+1
2009-07-13gdb/Jan Kratochvil5-0/+91
Fix memory access from signed 32bit inferior registers on 64bit GDB. * linux-nat.c (linux_xfer_partial <TARGET_OBJECT_MEMORY>): New variable addr_bit. Mask OFFSET by the ADDR_BIT width. gdb/testsuite/ * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
2009-07-13gdb/testsuite/Jan Kratochvil5-54/+22
Fix gdb.base/macscp.exp when using custom inputrc. * gdb.base/completion.exp: Remove env(INPUTRC) set and restore. * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove env(TERM) set. * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set. * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
2009-07-13gdb/testsuite/Jan Kratochvil13-139/+51
Fix racy clashing of output files for gdb.base{1,2}/ parallel run. * gdb.base/annota1.exp (thread_test): Import global $testfile. Change the compilation target to match the testcase name. * gdb.base/sect-cmd.exp: Change the compilation target to match the testcase name. * a2-run.exp: Use for setup prepare_for_testing. Change the compilation target to match the testcase name. * gdb.base/commands.exp: Likewise. * gdb.base/finish.exp: Likewise. * gdb.base/float.exp: Likewise. * gdb.base/info-target.exp: Likewise. * gdb.base/relational.exp: Likewise. * gdb.base/term.exp: Likewise. * gdb.base/until.exp: Likewise. * gdb.base/volatile.exp: Likewise. * gdb.base/whatis-exp.exp: Likewise.
2009-07-13Fix a typo.H.J. Lu1-1/+1
2009-07-132009-07-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-16/+25
* ld-ifunc/ifunc.exp: Don't use -shared/-static to build object files. Use ld_simple_link to build static non-ifunc-using executable. Re-enable static non-ifunc-using executable check.
2009-07-13Add process recording support to the moxie gdb port.Anthony Green2-2/+458