Skip to content
Snippets Groups Projects
  1. Feb 12, 2010
    • Doug Evans's avatar
      * m32r.cpu (HASH-PREFIX): Delete. · 5ff58fb0
      Doug Evans authored
      	(duhpo, dshpo): New pmacros.
      	(simm8, simm16): Delete HASH-PREFIX attribute, define with dshpo.
      	(uimm3, uimm4, uimm5, uimm8, uimm16, imm1): Delete HASH-PREFIX
      	attribute, define with dshpo.
      	(uimm24): Delete HASH-PREFIX attribute.
      	* m32r.opc (CGEN_PRINT_NORMAL): Delete.
      	(print_signed_with_hash_prefix): New function.
      	(print_unsigned_with_hash_prefix): New function.
      	* xc16x.cpu (dowh): New pmacro.
      	(upof16): Define with dowh, specify print handler.
      	(qbit, qlobit, qhibit): Ditto.
      	(upag16): Ditto.
      	* xc16x.opc (CGEN_PRINT_NORMAL): Delete.
      	(print_with_dot_prefix): New functions.
      	(print_with_pof_prefix, print_with_pag_prefix): New functions.
      5ff58fb0
    • Ian Lance Taylor's avatar
      * gold.cc (queue_middle_gc_tasks): Use a separate blocker for each · 93ceb764
      Ian Lance Taylor authored
      	Read_relocs task.
      	(queue_middle_tasks): Likewise, and also for Scan_relocs.  Run
      	Allocate_commons_task first.
      	* reloc.cc (Read_relocs::run): Pass next_blocker_ down to next
      	task, rather than symtab_lock_.
      	(Gc_process_relocs::~Gc_process_relocs): New function.
      	(Gc_process_relocs::is_runnable): Check this_blocker_.
      	(Gc_process_relocs::locks): Use next_blocker_ rather than
      	blocker_.
      	(Scan_relocs::~Scan_relocs): New function.
      	(Scan_relocs::is_runnable): Check this_blocker_ rather than
      	symtab_lock_.
      	(Scan_relocs::locks): Drop symtab_lock_ and blocker_.  Add
      	next_blocker_.
      	* reloc.h (class Read_relocs): Drop symtab_lock_ and blocker_
      	fields.  Add this_blocker_ and next_blocker_ fields.  Adjust
      	constructor accordingly.
      	(class Gc_process_relocs): Likewise.
      	(class Scan_relocs): Likewise.
      	* common.h (class Allocate_commons_task): Remove symtab_lock_
      	field, and corresponding constructor parameter.
      	* common.cc (Allocate_commons_tasK::is_runnable): Remove use of
      	symtab_lock_.
      	(Allocate_commons_task::locks): Likewise.
      93ceb764
    • Doug Evans's avatar
      * fr30-desc.c, * fr30-desc.h, * fr30-opc.c, · 37ec9240
      Doug Evans authored
      	* frv-desc.c, * frv-desc.h, * frv-opc.c,
      	* ip2k-desc.c, * ip2k-desc.h, * ip2k-opc.c,
      	* iq2000-desc.c, * iq2000-desc.h, * iq2000-opc.c,
      	* lm32-desc.c, * lm32-desc.h, * lm32-opc.c, * lm32-opinst.c,
      	* m32c-desc.c, * m32c-desc.h, * m32c-opc.c,
      	* m32r-desc.c, * m32r-desc.h, * m32r-opc.c, * m32r-opinst.c,
      	* mep-desc.c, * mep-desc.h, * mep-opc.c,
      	* mt-desc.c, * mt-desc.h, * mt-opc.c,
      	* openrisc-desc.c, * openrisc-desc.h, * openrisc-opc.c,
      	* xc16x-desc.c, * xc16x-desc.h, * xc16x-opc.c,
      	* xstormy16-desc.c, * xstormy16-desc.h, * xstormy16-opc.c: Regenerate.
      37ec9240
    • Ian Lance Taylor's avatar
      * gold-threads.h (class Once): Define. · 114dfbe1
      Ian Lance Taylor authored
      	(class Initialize_lock): Rewrite as child of Once.
      	* gold-threads.cc (class Once_initialize): Define.
      	(once_pointer_control): New static variable.
      	(once_pointer, once_arg): New static variables.
      	(c_run_once): New static function.
      	(Once::Once, Once::run_once, Once::internal_run): New functions.
      	(class Initialize_lock_once): Remove.
      	(initialize_lock_control): Remove.
      	(initialize_lock_pointer): Remove.
      	(initialize_lock_once): Remove.
      	(Initialize_lock::Initialize_lock): Move to gold-threads.h.
      	(Initialize_lock::initialize): Rewrite.
      	(Initialize_lock::do_run_once): New function.
      	* archive.cc (Archive::interpret_header): Only clear name if it is
      	not already empty.
      	* fileread.cc: Include "gold-threads.h"
      	(file_counts_lock): New static variable.
      	(file_counts_initialize_lock): Likewise.
      	(File_read::release): Only increment counts when using --stats.
      	Use a lock around the increment.
      	* parameters.cc (class Set_parameters_target_once): Define.
      	(set_parameters_target_once): New static variable.
      	(Parameters::Parameters): Move here from parameters.h.
      	(Parameters::set_target): Rewrite.
      	(Parameters::set_target_once): New function.
      	(Parameters::clear_target): Move here and rewrite.
      	* parameters.h (class Parameters): Update declarations.  Add
      	set_parameters_target_once_ field.
      	(Parameters::Parameters): Move to parameters.cc.
      	(Parameters::clear_target): Likewise.
      	* readsyms.cc (Read_symbols::do_group): Create a Start_group
      	task.
      	(Start_group::~Start_group): New function.
      	(Start_group::is_runnable): New function.
      	(Start_group::locks, Start_group::run): New functions.
      	(Finish_group::run): Change saw_undefined to size_t.
      	* readsyms.h (class Start_group): Define.
      	(class Finish_group): Change saw_undefined_ field to size_t.
      	(Finish_group::Finish_group): Remove saw_undefined and
      	this_blocker parameters.  Change all callers.
      	(Finish_group::set_saw_undefined): New function.
      	(Finish_group::set_blocker): New function.
      	* symtab.h (class Symbol_table): Change saw_undefined to return
      	size_t.  Change saw_undefined_ field to size_t.
      	* target-select.cc (Set_target_once::do_run_once): New function.
      	(Target_selector::Target_selector): Initialize set_target_once_
      	field.  Don't initialize lock_ and initialize_lock_ fields.
      	(Target_selector::instantiate_target): Rewrite.
      	(Target_selector::set_target): New function.
      	* target-select.h (class Set_target_once): Define.
      	(class Target_selector): Update declarations.  Make
      	Set_target_once a friend.  Remove lock_ and initialize_lock_
      	fields.  Add set_target_once_ field.
      114dfbe1
    • Doug Evans's avatar
      Regenerate cgen-derived files. · 2310652a
      Doug Evans authored
      2310652a
    • Pedro Alves's avatar
      * breakpoint.c (allocate_bp_location): Use bp_loc_other for · 15c3d785
      Pedro Alves authored
      	bp_tracepoint and bp_fast_tracepoint, not
      	bp_loc_software_breakpoint.
      	(update_global_location_list): Tracepoints are never duplicates of
      	anything.
      15c3d785
    • Pedro Alves's avatar
      * breakpoint.c (break_command_really): Change return type to int. · fd9b8c24
      Pedro Alves authored
      	Return false if no breakpoint was created, true otherwise.
      	(trace_command): Don't set the tracepoint count if no tracepoint
      	was created.
      	(ftrace_command): Ditto.
      	(create_tracepoint_from_upload): Bail out if the tracepoint wasn't
      	created in the breakpoints table.
      fd9b8c24
    • gdbadmin's avatar
      *** empty log message *** · 28ed0ecc
      gdbadmin authored
      28ed0ecc
    • Jan Kratochvil's avatar
      gdb/ · 5c0d192f
      Jan Kratochvil authored
      	* solib-svr4.c (LM_ADDR_CHECK): New comment on PPC-aware condition.
      5c0d192f
    • Pedro Alves's avatar
      * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out if · 5d5b640e
      Pedro Alves authored
      	the offset value isn't of integral type.
      5d5b640e
    • Alan Modra's avatar
      daily update · 809e8c5f
      Alan Modra authored
      809e8c5f
  2. Feb 11, 2010
    • Jan Kratochvil's avatar
      gdb/ · e5a0a904
      Jan Kratochvil authored
      	* breakpoint.c (delete_breakpoint) <bpt->related_breakpoint != NULL>:
      	New.
      e5a0a904
    • Pedro Alves's avatar
      * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out on · be636754
      Pedro Alves authored
      	non-subscriptable types.
      	* valarith.c (binop_types_user_defined_p): New, abstracted out
      	from ...
      	(binop_user_defined_p): ... this.
      	* value.h (binop_types_user_defined_p): Declare.
      be636754
    • Pedro Alves's avatar
      * tracepoint.c (tfile_open): Remove spurious discard_cleanups. · 10ef8d6a
      Pedro Alves authored
      	Merge uploaded TSVs before merging uploaded tracepoints.
      10ef8d6a
    • David S. Miller's avatar
      bfd/ · 00c50991
      David S. Miller authored
      	* elfxx-sparc.c (_bfd_sparc_elf_check_relocs): For R_SPARC_GOTDATA_OP_HIX22
      	and R_SPARC_GOTDATA_OP_LOX10, only bump the GOT refcount for global
      	symbols.
      	(_bfd_sparc_elf_gc_sweep_hook): Likewise only decrement the GOT count for
      	these relocs on global symbols.
      	(gdopoff): New.
      	(_bfd_sparc_elf_relocate_section): Perform GOTDATA optimizations on
      	local symbol references which are not STT_GNU_IFUNC.  Handle
      	relocation of them like R_SPARC_HIX22 and R_SPARC_LOX10 respectively,
      	and deal with negative vs. non-negative values properly.
      
      ld/testsuite
      
      	* ld-sparc/gotop32.s: Add local symbol case.
      	* ld-sparc/gotop64.s: Likewise.
      	* ld-sparc/gotop32.rd: Adjust expected results.
      	* ld-sparc/gotop32.td: Likewise.
      	* ld-sparc/gotop64.dd: Likewise.
      	* ld-sparc/gotop64.rd: Likewise.
      	* ld-sparc/gotop64.td: Likewise.
      00c50991
    • Sterling Augustine's avatar
      2010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com> · 6fa78d94
      Sterling Augustine authored
      	* config/tc-xtensa.c (istack_init): Don't call memset.
      6fa78d94
    • Sterling Augustine's avatar
      Fix as obvious a merge error · e716010d
      Sterling Augustine authored
      e716010d
    • Sterling Augustine's avatar
      2010-02-11 Sterling Augustine <sterling@tensilica.com> · a89c407e
      Sterling Augustine authored
      	* config/tc-xtensa.c (cache_literal_section): Handle prefixes as
      	well as suffixes.
      a89c407e
    • Pedro Alves's avatar
    • H.J. Lu's avatar
      Reformat build_modrm_byte. · 24981e7b
      H.J. Lu authored
      2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* config/tc-i386.c (build_modrm_byte): Reformat.
      24981e7b
    • H.J. Lu's avatar
      Update copyright. · c75ef631
      H.J. Lu authored
      gas/
      
      2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* config/tc-i386.c: Update copyright.
      
      opcodes/
      
      2010-02-11  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* i386-dis.c: Update copyright.
      	* i386-gen.c: Likewise.
      	* i386-opc.h: Likewise.
      	* i386-opc.tbl: Likewise.
      c75ef631
    • Ian Lance Taylor's avatar
      * dirsearch.cc (Dirsearch::initialize): Add all blockers before · fa17a3f4
      Ian Lance Taylor authored
      	queueing any tasks.
      	* gold.cc (queue_middle_gc_tasks): Likewise.  Fix final blocker.
      	(queue_middle_tasks): Add all blockers before queueing any tasks.
      	(queue_final_tasks): Likewise.
      	* token.h (Task_token::add_blockers): New function.
      	* object.h (Input_objects::number_of_relobjs): New function.
      fa17a3f4
    • Ian Lance Taylor's avatar
      Fix comment. · 612bdda1
      Ian Lance Taylor authored
      612bdda1
    • Ian Lance Taylor's avatar
      Update copyright notice. · ec6dfed6
      Ian Lance Taylor authored
      ec6dfed6
    • Ian Lance Taylor's avatar
      Forgot to commit. · 5de0e392
      Ian Lance Taylor authored
      5de0e392
    • Sebastian Pop's avatar
      2010-02-10 Quentin Neill <quentin.neill@amd.com> · a683cc34
      Sebastian Pop authored
                  Sebastian Pop  <sebastian.pop@amd.com>
      
      gas:
              * config/tc-i386.c (vec_imm4) New operand type.
              (fits_in_imm4): New.
              (VEX_check_operands): New.
              (check_reverse): Call VEX_check_operands.
              (build_modrm_byte): Reintroduce code for 5
              operand insns.  Fix whitespace.
      
      gas/testsuite:
              * gas/i386/x86-64-xop.d: Add vpermil2p[sd] tests.
              * gas/i386/x86-64-xop.s: Likewise.
              * gas/i386/xop.d: Likewise.
              * gas/i386/xop.s: Likewise.
      
      opcodes:
              * i386-dis.c (OP_EX_VexImmW): Reintroduced
              function to handle 5th imm8 operand.
              (PREFIX_VEX_3A48): Added.
              (PREFIX_VEX_3A49): Added.
              (VEX_W_3A48_P_2): Added.
              (VEX_W_3A49_P_2): Added.
              (prefix table): Added entries for PREFIX_VEX_3A48
              and PREFIX_VEX_3A49.
              (vex table): Added entries for VEX_W_3A48_P_2 and
              and VEX_W_3A49_P_2.
              * i386-gen.c (operand_type_init): Added OPERAND_TYPE_VEC_IMM4
              for Vec_Imm4 operands.
              * i386-opc.h (enum): Added Vec_Imm4.
              (i386_operand_type): Added vec_imm4.
              * i386-opc.tbl: Add entries for vpermilp[ds].
              * i386-init.h: Regenerated.
              * i386-tbl.h: Regenerated.
      a683cc34
    • gdbadmin's avatar
      *** empty log message *** · e543c8cb
      gdbadmin authored
      e543c8cb
    • Ian Lance Taylor's avatar
      * i386.cc (Relocate::relocate_tls): A local symbol is final if not · b3705d2a
      Ian Lance Taylor authored
      	shared, not if not position independent.
      	* x86_64.cc (Relocate::relocate_tls): Likewise.
      	* testsuite/Makefile.am (check_PROGRAMS): Add tls_pie_pic_test.
      	(tls_pie_pic_test): New target.
      	* testsuite/Makefile.in: Rebuild.
      b3705d2a
    • Alan Modra's avatar
      daily update · 1677b03c
      Alan Modra authored
      1677b03c
  3. Feb 10, 2010
    • Vladimir Prus's avatar
      * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Add extra · 7a93fb82
      Vladimir Prus authored
      	whitespace character after a dot in comment.
      	(mi_cmd_stack_list_arguments, mi_cmd_stack_list_variables):
      	Likewise.
      	(list_args_or_locals): For the 'all' (that is
      	-stack-list-variables) case, always output list of tuples.
      	Output 'arg' field if variable is argument.
      7a93fb82
    • Ian Lance Taylor's avatar
      * testsuite/Makefile.am (check_PROGRAMS): Add tls_pie_test. · c7177d31
      Ian Lance Taylor authored
      	(tls_test_main_pie.o, tls_test_pie.o): New targets.
      	(tls_test_file2_pie.o, tls_test_c_pie.o, tls_pie_test): Likewise.
      	* testsuite/Makefile.in: Rebuild.
      c7177d31
    • H.J. Lu's avatar
      Fix "infor reg sse" on Linux/x86-64. · 84d90c10
      H.J. Lu authored
      2010-02-10  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR gdb/11265
      	* amd64-linux-tdep.c (amd64_linux_register_reggroup_p): Call
      	i386_register_reggroup_p instead of default_register_reggroup_p.
      84d90c10
    • Sterling Augustine's avatar
      2010-02-10 Sterling Augustine <sterling@tensilica.com> · 3c83b96e
      Sterling Augustine authored
      	* config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
      3c83b96e
    • Richard Sandiford's avatar
      gas/ · cdc51b07
      Richard Sandiford authored
      	* config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
      	-mpwr6 and -mpwr7.
      
      opcodes/
      	* ppc-dis.c (ppc_opts): Add "pwr4", "pwr5", "pwr5x", "pwr6"
      	and "pwr7".  Move "a2" into alphabetical order.
      cdc51b07
    • Richard Sandiford's avatar
      ld/ · 45e481d1
      Richard Sandiford authored
      	* Makefile.am (CFILES): Add ldlex-wrapper.c.
      	(OFILES): Replace ldlex.c with ldlex-wrapper.c.
      	(ldlex.o): Replace with...
      	(ldlex-wrapper.o): ...this new rule.
      	(EXTRA_ld_new_SOURCES): Add ldlex.l.
      	(ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
      	* Makefile.in: Regenerate.
      	* ldlex.l (sysdep.h): Don't include here.
      	* ldlex-wrapper.c: New file.
      45e481d1
    • Tom Tromey's avatar
      gdb · 92981e24
      Tom Tromey authored
      	* parser-defs.h (parser_debug): Declare.
      	* parse.c (_initialize_parse): Install "debug parser" set/show
      	command.
      	(parser_debug): New global.
      	(show_parserdebug): New function.
      	* c-exp.y (c_parse): Set yydebug.
      gdb/testsuite
      	* gdb.texinfo (Debugging Output): Document set debug parser and
      	show debug parser.
      92981e24
    • H.J. Lu's avatar
      Add i387_ext, i386_eflags and i386_mxcsr. · 9fd3625f
      H.J. Lu authored
      2010-02-10  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* target-descriptions.c (tdesc_type): Add TDESC_TYPE_I387_EXT,
      	TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
      	(tdesc_predefined_types): Add i387_ext, i386_eflags and
      	i386_mxcsr.
      	(tdesc_find_type): New.
      	(tdesc_gdb_type): Use tdesc_find_type.  Handle TDESC_TYPE_I387_EXT,
      	TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
      
      	* target-descriptions.h (tdesc_find_type): New.
      9fd3625f
    • Michael Snyder's avatar
      2010-02-10 Michael Snyder <msnyder@vmware.com> · 2fe842e5
      Michael Snyder authored
      	* gdb-gdb.py: Comment fix.
      2fe842e5
    • gdbadmin's avatar
      *** empty log message *** · 6e13cd97
      gdbadmin authored
      6e13cd97
    • Alan Modra's avatar
      daily update · 4d9d59e6
      Alan Modra authored
      4d9d59e6
Loading