summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PR other/40784Joseph Myers2009-07-172-2/+8
| | | | | * tls.m4 (GCC_CHECK_TLS): Add extra quoting around argument to AC_LINK_IFELSE.
* * ld-mips-elf/pic-and-nonpic-3b.dd: Updated to use new PLTNick Clifton2009-07-173-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.
* * elfxx-mips.c (LOAD_INTERLOCKS_P): New define.Nick Clifton2009-07-176-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.
* PR 10400Ian Lance Taylor2009-07-176-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.
* daily updateAlan Modra2009-07-171-1/+1
|
* *** empty log message ***gdbadmin2009-07-171-1/+1
|
* * tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library whenJoseph Myers2009-07-162-1/+24
| | | | cross-compiling.
* 2009-07-16 Dave Korn <dave.korn.cygwin@gmail.com>H.J. Lu2009-07-162-2/+8
| | | | | | | H.J. Lu <hongjiu.lu@intel.com> * binutils-all/objcopy.exp: Run testranges and testranges-ia64 for ELF targets only.
* 2009-07-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-07-165-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.
* * linux-thread.db.c (try_thread_db_load_1): Tweak comment.Doug Evans2009-07-162-4/+8
|
* 2007-07-16 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov2009-07-162-1/+32
| | | | | | * linux-thread-db.c (thread_db_find_new_threads_silently): New function. (try_thread_db_load_1): Call it.
* * cpu/simplify.inc (*): One line doc strings don't need \n.Doug Evans2009-07-162-36/+45
| | | | | | (df): Invoke define-full-ifield instead of claiming it's an alias. (dno): Define. (dnop): Mark as deprecated.
* gas/H.J. Lu2009-07-167-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.
* bfd/H.J. Lu2009-07-166-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.
* gas/Nathan Sidwell2009-07-1610-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-15 Kai Tietz <kai.tietz@onevision.com>H.J. Lu2009-07-162-1/+5
| | | | * listing.c (print_source): Initialize cache by NULL.
* *** empty log message ***gdbadmin2009-07-161-1/+1
|
* daily updateAlan Modra2009-07-161-1/+1
|
* Code reorg in preparation for adding comdat types support.Doug Evans2009-07-152-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.
* * doc/c-arm.texi (mauto-it): Removed old option.Nick Clifton2009-07-152-4/+22
| | | | (mimplicit-it): Added right option.
* 2009-07-14 Michael Snyder <msnyder@vmware.com>Michael Snyder2009-07-152-34/+9
| | | | | * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish to bring gdb to the beginning of the calling line.
* 2009-07-14 Michael Snyder <msnyder@vmware.com>Michael Snyder2009-07-152-0/+10
| | | | | * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid confusing the i386 epilogue unwinder.
* *** empty log message ***gdbadmin2009-07-151-1/+1
|
* daily updateAlan Modra2009-07-151-1/+1
|
* * MAINTAINERS (Global Maintainers): Add Doug Evans.Stan Shebs2009-07-142-0/+5
|
* gdb/Stan Shebs2009-07-1411-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-14 Michael Snyder <msnyder@vmware.com>Michael Snyder2009-07-142-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.
* binutils/Jan Kratochvil2009-07-147-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.
* * config/tc-arm.h (MAX_MEM_ALIGNMENT_BYTES): Define.Nick Clifton2009-07-145-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.
* PR 10387Nick Clifton2009-07-142-12/+20
| | | | | * config/tc-arm.h (THUMB_IS_FUNC): Handle a NULL pointer. (ARM_IS_FUNC): Likewise.
* * objfiles.c (objfile_relocate): Do not relocate the sameUlrich Weigand2009-07-142-3/+9
| | | | BLOCKVECTOR_MAP address map multiple times.
* * remote.c (process_stop_reply): Access expedited target registersUlrich Weigand2009-07-142-2/+8
| | | | in target_gdbarch.
* PR 10288Nick Clifton2009-07-142-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.
* gas/Nick Clifton2009-07-149-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.
* PR 10380Nick Clifton2009-07-142-1/+17
| | | | * README: Document use of LDFLAGS="--static".
* daily updateAlan Modra2009-07-141-1/+1
|
* *** empty log message ***gdbadmin2009-07-141-1/+1
|
* gdb/Jan Kratochvil2009-07-135-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.
* gdb/testsuite/Jan Kratochvil2009-07-135-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.
* gdb/testsuite/Jan Kratochvil2009-07-1313-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.
* Fix a typo.H.J. Lu2009-07-131-1/+1
|
* 2009-07-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-07-132-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.
* Add process recording support to the moxie gdb port.Anthony Green2009-07-132-2/+458
|
* daily updateAlan Modra2009-07-131-1/+1
|
* *** empty log message ***gdbadmin2009-07-131-1/+1
|
* 2009-07-12 Michael Snyder <msnyder@vmware.com>Michael Snyder2009-07-122-1/+103
| | | | | | | | | | * i386-tdep.c: Add a frame unwinder for function epilogues. (i386_in_function_epilogue_p): New function. (i386_epilogue_frame_sniffer): New function. (i386_epilogue_frame_cache): New function. (i386_epilogue_frame_this_id): New function. (i386_epilogue_frame_unwind): New struct frame_unwind. (i386_gdbarch_init): Hook the new unwinder.
* * common/Make-common.in (CPU_DIR): Define.Doug Evans2009-07-126-12/+29
| | | | | | | * iq2000/Makefile.in (stamp-arch): Use $(CPU_DIR) instead of $(CGEN_CPU_DIR). (stamp-cpu): Ditto. * m32r/Makefile.in (stamp-arch): Use $(CPU_DIR) instead of $(CGEN_CPU_DIR). (stamp-cpu, stamp-xcpu, stamp-2cpu): Ditto.
* daily updateAlan Modra2009-07-121-1/+1
|
* *** empty log message ***gdbadmin2009-07-121-1/+1
|
* This is the part of prev commit.Hui Zhu2009-07-111-1/+1
|
OpenPOWER on IntegriCloud