aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-09-27opcodes/David S. Miller5-3/+13
* sparc-opc.c (sparc_opcodes): Fix random instruction to write to a float instead of an integer register. gas/testsuite/ * gas/sparc/hpcvis3.s: Update to use float reg for random insn. * gas/sparc/hpcvis3.d: Likewise.
2011-09-27merge from gccDJ Delorie1-2/+9
2011-09-27daily updateAlan Modra1-1/+1
2011-09-27*** empty log message ***gdbadmin1-1/+1
2011-09-26 * gold/gold.cc (queue_initial_tasks): Move option checks ...Cary Coutant3-36/+56
* gold/options.cc (General_options::finalize): ... to here. Disable some options; make others fatal.
2011-09-26merge from gccDJ Delorie2-9/+3
2011-09-26include/ChangeLogCary Coutant7-19/+113
gcc PR lto/47247 * plugin-api.h (enum ld_plugin_symbol_resolution): Add LDPR_PREVAILING_DEF_IRONLY_EXP. (enum ld_plugin_tag): Add LDPT_GET_SYMBOLS_V2. gold/ChangeLog gcc PR lto/47247 * plugin.cc (get_symbols_v2): New function. (Plugin::load): Add LDPT_GET_SYMBOLS_V2. (is_referenced_from_outside): New function. (Pluginobj::get_symbol_resolution_info): Add version parameter, return LDPR_PREVAILING_DEF_IRONLY_EXP when using new version. (get_symbols): Pass version parameter. (get_symbols_v2): New function. * plugin.h (Pluginobj::get_symbol_resolution_info): Add version parameter. * testsuite/plugin_test.c (get_symbols_v2): New static variable. (onload): Add LDPT_GET_SYMBOLS_V2. (all_symbols_read_hook): Use get_symbols_v2; check for LDPR_PREVAILING_DEF_IRONLY_EXP. * testsuite/plugin_test_3.sh: Update expected results.
2011-09-26Add sparc integer multiply-add instructions.David S. Miller6-0/+29
opcodes/ * sparc-opc.c (sparc_opcodes): Add integer multiply-add instructions. gas/testsuite/ * gas/sparc/ima.d: New test. * gas/sparc/ima.s: New test source. * gas/sparc/sparc.exp: Run new test.
2011-09-26*** empty log message ***gdbadmin1-1/+1
2011-09-26daily updateAlan Modra1-1/+1
2011-09-25daily updateAlan Modra1-1/+1
2011-09-25*** empty log message ***gdbadmin1-1/+1
2011-09-24daily updateAlan Modra1-1/+1
2011-09-24*** empty log message ***gdbadmin1-1/+1
2011-09-23merge from gccDJ Delorie5-4/+120
2011-09-23merge from gccDJ Delorie2-4/+11
2011-09-23 * configure.ac: Add new --with-gold-ldadd and --with-gold-ldflagsIan Lance Taylor6-4/+77
configuration options. * configure: Regenerate. * Makefile.am: Handle GOLD_LDADD and GOLD_LDFLAGS. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate.
2011-09-23 PR gdb/13079Joseph Myers2-0/+16
* i386-tdep.c (i386_frame_align): New. (i386_gdbarch_init): Use i386_frame_align.
2011-09-23gdb/Yao Qi2-1/+7
* i386-linux-nat.c (i386_linux_resume): Use read_memory_unsigned_integer to get address.
2011-09-23daily updateAlan Modra1-1/+1
2011-09-23*** empty log message ***gdbadmin1-1/+1
2011-09-222011-09-22 Tristan Gingold <gingold@adacore.com>Tristan Gingold8-8/+65
* fork-child.c (fork_inferior): Add exec_fun parameter. Call exec_fun or execvp. * inferior.h: Adjust prototype. * gnu-nat.c (gnu_create_inferior): Adjust fork_inferior call. * inf-ttrace.c (inf_ttrace_create_inferior): Ditto. * inf-ptrace.c (inf_ptrace_create_inferior): Ditto. * procfs.c (procfs_create_inferior): Ditto. * darwin-nat.c (darwin_execvp): New function. (darwin_create_inferior): Use it.
2011-09-22bfd/Tristan Gingold3-2/+7
2011-09-22 Tristan Gingold <gingold@adacore.com> * configure.in: Bump version to 2.22.51 * configure: Regenerate.
2011-09-22binutils/Tristan Gingold7-0/+20
2011-09-22 Tristan Gingold <gingold@adacore.com> * NEWS: Add marker for 2.22. gas/ 2011-09-22 Tristan Gingold <gingold@adacore.com> * NEWS: Add marker for 2.22. ld/ 2011-09-22 Tristan Gingold <gingold@adacore.com> * NEWS: Add marker for 2.22.
2011-09-222011-09-22 Andreas Tobler <andreast@fgznet.ch>Andreas Tobler2-1/+6
* lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the list of compilation switches for <*-*-freebsd*>.
2011-09-22gdb/Yao Qi2-1/+6
* infrun.c (context_switch): Print debug message when switching to a different thread.
2011-09-22Add new sparc options to control instruction availability.David S. Miller5-26/+170
gas/ * config/tc-sparc.c (hwcap_allowed): New. (struct sparc_arch): New field 'hwcap_allowed' containing a bitmask of F_FOO flags which are enabled by the particular arch setting. Add new options that provide explicit access to new instructions. (md_parse_option): Only bump max_architecture if the requested one is larger, or this is the first explicit request. (get_hwcap_name): New function. (sparc_ip): Validate that hwcaps used by an instruction have actually been enabled. * doc/c-sparc.texi: Document new sparc options.
2011-09-22daily updateAlan Modra1-1/+1
2011-09-22*** empty log message ***gdbadmin1-1/+1
2011-09-21Fix sparc testcases when building with 64-bit default.David S. Miller5-6/+11
gas/testsuite/ * gas/sparc/imm-plus-rreg.d: Fix address regex for 64-bit. * gas/sparc/save-args.d: Likewise. * gas/sparc/ticc-imm-reg.d: Likewise, add -32 to options. * gas/sparc/v8-movwr-imm.d: Likewise.
2011-09-21Annotate sparc objects with cpu hardware capabilities used.David S. Miller18-247/+526
bfd/ * elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): New. * elfxx-sparc.h: Declare it. * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Call it. * elf64-sparc.c (elf64_sparc_merge_private_bfd_data): Likewise. binutils/ * readelf.c (display_sparc_hwcaps): New. (display_sparc_gnu_attribute): New. (process_sparc_specific): New. (process_arch_specific): When EM_SPARC, EM_SPARC32PLUS, or EM_SPARCV9 invoke process_sparc_specific. gas/ * config/tc-sparc.c (hwcap_seen): New bitmask, defined when not TE_SOLARIS. (sparc_ip): When not TE_SOLARIS, accumulate hwcap bits from sparc_opcode->flags of instruction into hwcap_seen. (sparc_md_end): Create Tag_GNU_Sparc_HWCAPS attribute if hwcap_seen is non-zero and not TE_SOLARIS. gas/testsuite/ * gas/sparc/hpcvis3.s: Update for fixed fchksum16 mnemonic. * gas/sparc/hpcvis3.d: Likewise. include/elf/ * sparc.h (Tag_GNU_Sparc_HWCAPS): New object attribute. (ELF_SPARC_HWCAP_*): New HWCAPS bitmask values. include/opcode/ * sparc.h (struct sparc_opcode): Expand 'flags' to unsigned int. (F_MUL32, F_DIV32, F_FSMULD, F_V8PLUS, F_POPC, F_VIS, F_VIS2, F_ASI_BLK_INIT, F_FMAF, F_VIS3, F_HPC, F_RANDOM, F_TRANS, F_FJFMAU, F_IMA, F_ASI_CACHE_SPARING): New flag bits. opcodes/ * sparc-opc.c (sparc_opcodes): Annotate table with HWCAP flag bits. Fix "fchksm16" mnemonic.
2011-09-21 * MAINTAINER: Take over from Jakub Jalinek as SPARC maintainer.David S. Miller2-1/+5
2011-09-21 * s390-tdep.c (s390_function_arg_pass_by_reference): HandleUlrich Weigand2-10/+29
complex and vector types. (s390_return_value_convention): Likewise. (s390_value_from_register): Call check_typedef. (extend_simple_arg): Likewise. (alignment_of): Likewise. (s390_push_dummy_call): Likewise. (s390_return_value): Likewise.
2011-09-21Fix ChangeLog dates.Ulrich Weigand1-2/+2
2011-09-21 * linux-arm-low.c (struct arm_linux_hwbp_cap): Remove.Ulrich Weigand2-51/+43
(arm_linux_hwbp_cap): New static variable. (arm_linux_get_hwbp_cap): Replace by ... (arm_linux_init_hwbp_cap): ... this new function. (arm_linux_get_hw_breakpoint_count): Use arm_linux_hwbp_cap. (arm_linux_get_hw_watchpoint_count): Likewise. (arm_linux_get_hw_watchpoint_max_length): Likewise. (arm_arch_setup): Call arm_linux_init_hwbp_cap. (arm_prepare_to_resume): Use perror_with_name instead of error.
2011-09-21 * event-top.c (async_disconnect): If an exception is thrown fromJoseph Myers4-7/+30
quit_cover, call pop_all_targets. Use TRY_CATCH instead of catch_errors. * top.c (quit_cover): Return void and take no arguments. * top.h (quit_cover): Update prototype.
2011-09-21 * linux-arm-low.c: Include <signal.h>.Ulrich Weigand2-0/+527
(PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define if necessary. (struct arm_linux_hwbp_cap): New data type. (arm_hwbp_type, arm_hwbp_control_t): New typedefs. (struct arm_linux_hw_breakpoint): New data type. (MAX_BPTS, MAX_WPTS): Define. (struct arch_process_info, struct arch_lwp_info): New data types. (arm_linux_get_hwbp_cap): New function. (arm_linux_get_hw_breakpoint_count): Likewise. (arm_linux_get_hw_watchpoint_count): Likewise. (arm_linux_get_hw_watchpoint_max_length): Likewise. (arm_hwbp_control_initialize): Likewise. (arm_hwbp_control_is_enabled): Likewise. (arm_hwbp_control_is_initialized): Likewise. (arm_hwbp_control_disable): Likewise. (arm_linux_hw_breakpoint_equal): Likewise. (arm_linux_hw_point_initialize): Likewise. (struct update_registers_data): New data structure. (update_registers_callback: New function. (arm_insert_point): Likewise. (arm_remove_point): Likewise. (arm_stopped_by_watchpoint): Likewise. (arm_stopped_data_address): Likewise. (arm_new_process): Likewise. (arm_new_thread): Likewise. (arm_prepare_to_resume): Likewise. (the_low_target): Register arm_insert_point, arm_remove_point, arm_stopped_by_watchpoint, arm_stopped_data_address, arm_new_process, arm_new_thread, and arm_prepare_to_resume.
2011-09-212011-09-21 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-2/+13
* mach-o.c (bfd_mach_o_convert_section_name_to_bfd): Add comment. Deals with size limited strings. (bfd_mach_o_build_commands): Initialize more fields.
2011-09-21*** empty log message ***gdbadmin1-1/+1
2011-09-21daily updateAlan Modra1-1/+1
2011-09-20 * mi/mi-main.c (mi_load_progress): Restore saved_uiout value toJoseph Myers2-1/+6
current_uiout, not uiout.
2011-09-20fix pr referenceAlan Modra1-1/+1
2011-09-20 PR ld/12301Alan Modra3-5/+34
* ldlang.h (lang_input_statement_type): Add "reload" bitfield. Clarify comments. * ldlang.c (new_afile): Init new field. (load_symbols): Don't call ldlang_add_file when reloading. (open_input_bfds): Reload as-needed libs during plugin rescan.
2011-09-20daily updateAlan Modra1-1/+1
2011-09-20*** empty log message ***gdbadmin1-1/+1
2011-09-192011-09-19 Sriraman Tallam <tmsriram@google.com>Sriraman Tallam2-1/+5
* plugin.h (should_defer_layout): Modify to check for any_claimed_.
2011-09-19 * incremental.cc (can_incremental_update): Fix typo in comment.Cary Coutant3-2/+7
* incremental.h (can_incremental_update): Likewise.
2011-09-19 * python/py-auto-load.c (source_section_scripts): Fix fileDoug Evans3-11/+18
descriptor leak. * python/python.c (source_python_script_for_objfile): Tweak comments.
2011-09-19 * gdb.trace/tspeed.exp: New file.Stan Shebs3-0/+329
* gdb.trace/tspeed.c: New file.
2011-09-19[OBV] fix typos in ChangeLogKevin Pouget1-2/+2