aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-09-02update copyright datesAlan Modra739-750/+819
2009-09-022009-09-02 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini6-1/+144
* Makefile.tpl (AWK): Fix typo. * Makefile.in: Regenerate. 2009-09-02 Paolo Bonzini <bonzini@gnu.org> * configure.ac: Detect awk and sed. * Makefile.def (flags_to_pass): Add AWK and SED. * Makefile.tpl (AWK, SED): New. (BASE_FLAGS_TO_PASS): Add AWK and SED. * configure: Regenerate. * Makefile.in: Regenerate.
2009-09-02split changelogAlan Modra4-479/+503
2009-09-02[cgen]DJ Delorie4-85/+93
* cpu/mep.opc (parse_signed16_range): Mark as potentially unused. (parse_unsigned16_range): Likewise. (mep_cgen_insn_supported_asm): Make BSR12 check dependent on VLIW isa. [opcodes] * mep-asm.c: Regenerate. * mep-desc.c: Regenerate. * mep-opc.c: Regenerate.
2009-09-022009-09-02 Hui Zhu <teawater@gmail.com>Hui Zhu2-2/+6
* record.c (record_resume): Change "signal" to "siggnal".
2009-09-02*** empty log message ***gdbadmin1-1/+1
2009-09-02daily updateAlan Modra1-1/+1
2009-09-012009-09-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu5-0/+22
* gas/i386/att-regs.s: Add ymm tests for 16bit and 64bit. * gas/i386/intel-regs.s: Likewise. * gas/i386/att-regs.d: Updated. * gas/i386/intel-regs.d: Likewise.
2009-09-01add missing pr numberAlan Modra1-0/+1
2009-09-012009-09-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* gas/i386/att-regs.s: Remove a tab.
2009-09-012009-09-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+8
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Declare plt earlier.
2009-09-01Fix VPATH search for generated sources in binutils, gas, ld.Ralf Wildenhues9-60/+80
binutils/: * Makefile.am (arparse.o, arlex.o, sysroff.o, defparse.o) (deflex.o, nlmheaders.o, rcparse.o, mcparse.o): Supply correct source file name for generated files which may be in $(srcdir). * Makefile.in: Regenerate. gas/: * Makefile.am (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o): Supply correct source file name for generated files which may be in $(srcdir). * Makefile.in: Regenerate. ld/: * Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct source file name for generated files which may be in $(srcdir). * Makefile.in: Regenerate.
2009-09-01Change to "Copyright 2009".H.J. Lu6-3/+15
2009-09-01 * gdb.texinfo (Caching Data of Remote Targets): Add note onDoug Evans2-2/+13
non-stop mode's affect on remote caching.
2009-09-01 * gold.cc: Include "incremental.h".Ian Lance Taylor4-6/+68
(queue_initial_tasks): Call Incremental_checker methods. * incremental.cc: Include "output.h". (Incremental_checker::can_incrementally_link_output_file): New method. * incremental.h (Incremental_checker): New class.
2009-09-01 * output.cc (Output_file::open_for_modification): New method.Ian Lance Taylor2-43/+112
(Output_file::map_anonymous): Changed return type to bool. Record map in base_ field. (Output_file::map_no_anonymous): New method, broken out of map. (Output_file::map): Use map_no_anonymous and map_anonymous. * output.h (class Output_file): Update declarations.
2009-09-01merge from gccDJ Delorie2-8/+2
2009-09-012009-09-01 Tristan Gingold <gingold@adacore.com>Tristan Gingold5-52/+144
* makefile.vms: Adjust include pathes. Remove useless vaxctrl library. * configure.com: Ported to Itanium VMS. Create build.com DCL script. Make edit silent.
2009-09-012009-09-01 Tristan Gingold <gingold@adacore.com>Tristan Gingold9-57/+197
* makefile.vms: Ported to Itanium VMS. Remove useless targets and dependencies. Remove unused FORMAT variable. * configure.com: New file to create build.com DCL script for Itanium VMS or Alpha VMS.
2009-09-012009-09-01 Tristan Gingold <gingold@adacore.com>Tristan Gingold6-53/+144
* makefile.vms: Ported to Itanium VMS. Remove useless variable and dependencies. Reindent. * configure.com: Ported to Itanium VMS. Now generates a build.com to build without make. Add messages but make edit silent. * hosts/alphavms.h: Add a prototype for stpcpy. * vms.c: Add a missing include for Alpha VMS. * elfxx-ia64.c (ELF_OSABI): Define for OpenVMS.
2009-09-01gdb/testsuite/Jan Kratochvil4-0/+196
* gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c, gdb.base/solib-overlap-main.c: New.
2009-09-012009-09-01 Hui Zhu <teawater@gmail.com>Hui Zhu2-2/+6
* record.c (record_resume): Change "siggnal" to "signal".
2009-09-01 * config/bfin-parse.y (asm_1): Only PREG and DREG are allowedJie Zhang5-27/+48
in comparison. testsuite/ * gas/bfin/expected_comparison_errors.s: Add more cases. * gas/bfin/expected_comparison_errors.l: Update accordingly.
2009-09-01 2007-09-28 Bernd Schmidt <bernd.schmidt@analog.com>Jie Zhang2-2/+11
* config/tc-bfin.c (bfin_fix_adjustable): Partially revert the 2007-08-23 change; BFD_RELOC_BFIN_GOT is not adjustable. 2007-08-23 Jie Zhang <jie.zhang@analog.com> * config/tc-bfin.c (bfin_fix_adjustable): Adjust BFD_RELOC_BFIN_GOT, BFD_RELOC_BFIN_GOT17M4 and BFD_RELOC_BFIN_FUNCDESC_GOT17M4.
2009-09-012009-08-31 Hui Zhu <teawater@gmail.com>Hui Zhu2-3/+8
* record.c (record_resume_siggnal): Deleted. (record_resume): Ditto. (record_wait): Change record_resume_siggnal to TARGET_SIGNAL_0.
2009-09-01 * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,Jie Zhang3-5/+10
_stack and __bss_start. * emulparams/bfin.sh (ENTRY): Remove.
2009-09-01 * read.c (TC_START_LABEL): Add a new argument.Jie Zhang13-28/+44
(read_a_source_file): Pass the beginning of the symbol through the new argument of TC_START_LABEL. * config/tc-arm.h (TC_START_LABEL): Add a new argument. * config/tc-bfin.c (bfin_start_label): Only search '(' and '[' from the beginning of the symbol. * config/tc-bfin.h (TC_START_LABEL): Add the new argument. * config/tc-d30v.h (TC_START_LABEL): Likewise. * config/tc-fr30.h (TC_START_LABEL): Likewise. * config/tc-m32c.h (TC_START_LABEL): Likewise. * config/tc-m32r.h (TC_START_LABEL): Likewise. * config/tc-mep.h (TC_START_LABEL): Likewise. testsuite/ * gas/bfin/stack2.s: Add pop multiple instruction with a label on the same line. * gas/bfin/stack2.d: Adjust accordingly.
2009-09-01daily updateAlan Modra1-1/+1
2009-09-01*** empty log message ***gdbadmin1-1/+1
2009-08-31merge from gccDJ Delorie1-0/+6
2009-08-31 Implement TARGET_OBJECT_STACK_MEMORY.Doug Evans19-71/+378
* NEWS: Add note on new "set stack-cache" option. * corefile.c (read_stack): New function. * dcache.c (dcache_struct): New member ptid. (dcache_enable_p): Mark as obsolete. (show_dcache_enabled_p): Flag option as deprecated. (dcache_invalidate): Update ptid. (dcache_invalidate_line): New function. (dcache_read_line): No longer check cacheable attribute, stack accesses get cached despite attribute. (dcache_init): Set ptid. (dcache_xfer_memory): Flush cache if from different ptid than before. Update cache after write. (dcache_update): New function. (dcache_info): Report ptid. (_initialize_dcache): Update text for `remotecache' to indicate it is obsolete. * dcache.h (dcache_update): Declare. * dwarf2loc.c (dwarf2_evaluate_loc_desc): Mark values on stack with set_value_stack. * frame-unwind.c (frame_unwind_got_memory): Ditto. * gdbcore.h (read_stack): Declare. * memattr.c (mem_enable_command): Call target_dcache_invalidate instead of dcache_invalidate. (mem_disable_command, mem_delete_command): Ditto. * target.c (stack_cache_enabled_p_1): New static global. (stack_cache_enabled_p): New static global. (set_stack_cache_enabled_p): New function. (show_stack_cache_enabled_p): New function. (target_dcache): Make static. (target_dcache_invalidate): New function. (target_load, target_resume): Call target_dcache_invalidate instead of dcache_invalidate. (memory_xfer_partial): New arg object, all callers updated. Check for existing inferior before calling dcache routines. When writing non-TARGET_OBJECT_STACK_MEMORY, notify dcache. (target_xfer_partial): Call memory_xfer_partial for TARGET_OBJECT_STACK_MEMORY. (target_read_stack): New function. (initialize_targets): Install new option `stack-cache'. * target.h: Remove #include of dcache.h. (enum target_object): New value TARGET_OBJECT_STACK_MEMORY. (target_dcache): Delete. (target_dcache_invalidate): Declare. (target_read_stack): Declare. * top.c (prepare_execute_command): New function. (execute_command): Call prepare_execute_command instead of free_all_values. * top.h (prepare_execute_command): Declare. * valops.c (get_value_at): New function. (value_at): Guts moved to get_value_at. (value_at_lazy): Similarly. (value_fetch_lazy): Call read_stack for stack values. * value.c (struct value): New member `stack'. (value_stack, set_value_stack): New functions. * value.h (value_stack, set_value_stack): Declare. * mi/mi-main.c (mi_cmd_execute): Call prepare_execute_command instead of free_all_values. doc/ * gdb.texinfo (Caching Data of Remote Targets): Update text. Mark `set/show remotecache' options as obsolete. Document new `set/show stack-cache' option. Update text for `info dcache'.
2009-08-312009-08-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+8
PR gas/10570 * write.c (write_object_file): Revert the accidental change made in revision 1.124 on 2009-08-17.
2009-08-31 * ltmain.sh (func_normal_abspath): New function.Dave Korn2-1/+185
(func_relative_path): Likewise. (func_mode_help): Document new -bindir option for link mode. (func_mode_link): Add new -bindir option, and use it to place output DLL if specified.
2009-08-31bfd/Jan Beulich7-6/+32
2009-08-31 Jan Beulich <jbeulich@novell.com> * elf-bfd.h (bfd_elf_get_default_section_type): Declare. * elf.c (bfd_elf_get_default_section_type): New. (elf_fake_sections): Use bfd_elf_get_default_section_type. gas/ 2009-08-31 Jan Beulich <jbeulich@novell.com> * config/obj-elf.c (obj_elf_change_section): Set default type by calling bfd_elf_get_default_section_type. gas/testsuite/ 2009-08-31 Jan Beulich <jbeulich@novell.com> * gas/elf/section5.l: Remove no longer issued warning pattern.
2009-08-31 * lib/ld-lib.exp (is_elf_format): Return 1 for bfin-*-uclinux.Jie Zhang2-0/+5
2009-08-31 * config/bfin-aux.h: Change format from DOS to UNIX.Jie Zhang2-151/+155
2009-08-31 * ld-ifunc/ifunc.exp: Match R_PPC64_JUMP_IREL.Alan Modra2-1/+5
2009-08-31*** empty log message ***gdbadmin1-1/+1
2009-08-31daily updateAlan Modra1-1/+1
2009-08-302009-08-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-34/+6
* elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert the accidental checkin. * elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likwise.
2009-08-30 PR ld/10569Alan Modra4-0/+34
* ld-elf/commonpage2.d: New. * ld-elf/maxpage4.d: Likewise. * ld-elf/maxpage4.t: Likewise.
2009-08-30 PR ld/10569Alan Modra7-9/+24
* ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize. (fold_name <COMMONPAGESIZE>): Similarly. * ldlang.c (output_target): Make global. * ldlang.h (output_target): Declare. * ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize. Similarly for config.commonpagesize. * ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize. * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here.
2009-08-30 PR ld/10569Alan Modra2-5/+8
* bfd.c (bfd_emul_get_maxpagesize): Don't abort. (bfd_emul_get_commonpagesize): Likewise.
2009-08-30daily updateAlan Modra1-1/+1
2009-08-30*** empty log message ***gdbadmin1-1/+1
2009-08-29 Updated sources to avoid using the identifier name "new", which is aNick Clifton63-686/+910
keyword in c++. * bfd/aoutx.h (NAME (aout, make_empty_symbol)): Rename variable new to new_symbol. * bfd/coffgen.c (coff_make_empty_symbol) (coff_bfd_make_debug_symbol): Rename variable new to new_symbol. * bfd/cpu-ia64-opc.c (ext_reg, ins_imms_scaled): Rename variable new to new_insn. * bfd/doc/chew.c (newentry, add_intrinsic): Rename variable new to new_d. * bfd/ecoff.c (_bfd_ecoff_make_empty_symbol): Rename variable new to new_symbol. * bfd/elf32-m68k.c (elf_m68k_get_got_entry_type): Rename argument new to new_reloc. * bfd/hash.c (bfd_hash_lookup): Rename variable new to new_string. * bfd/ieee.c (ieee_make_empty_symbol): Rename variable new to new_symbol. * bfd/linker.c (bfd_new_link_order): Rename variable new to new_lo. * bfd/mach-o.c (bfd_mach_o_sizeof_headers): Rename variable new to symbol. * bfd/oasys.c (oasys_make_empty_symbol): Rename variable new to new_symbol_type. * bfd/pdp11.c (NAME (aout, make_empty_symbol)): Rename variable new to new_symbol_type. * bfd/plugin.c (bfd_plugin_make_empty_symbol): Rename variable new to new_symbol. * bfd/rs6000-core.c (CoreHdr, VmInfo): Rename union member new to new_dump. (read_hdr, rs6000coff_core_p) (rs6000coff_core_file_matches_executable_p) (rs6000coff_core_file_failing_command) (rs6000coff_core_file_failing_signal): Updated function to use new union member name. * bfd/som.c (som_make_empty_symbol): Rename variable new to new_symbol_type. * bfd/syms.c (_bfd_generic_make_empty_symbol): Rename variable new to new_symbol. * bfd/tekhex.c (first_phase, tekhex_make_empty_symbol): Rename variable new to new_symbol. * binutils/nlmconv.c (main): Rename variable new to new_name. * gas/config/tc-arm.c (insert_reg_alias): Rename variable new to new_reg. * gas/config/tc-dlx.c (parse_operand): Rename variable new to new_pos. * gas/config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable new to newr. * gas/config/tc-mcore.c (parse_exp, parse_imm): Rename variable new to new_pointer. * gas/config/tc-microblaze.c (parse_exp, parse_imm, check_got): Change name from new to new_pointer. * gas/config/tc-or32.c (parse_operand): Rename variable new to new_pointer. * gas/config/tc-pdp11.c (md_assemble): Rename variable new to new_pointer. * gas/config/tc-pj.c (alias): Change argument new to new_name. * gas/config/tc-score.c (s3_build_score_ops_hsh): Rename variable new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable new to new_i2n. (s3_convert): Rename variables old and new to r_old and r_new. * gas/config/tc-score7.c (s7_build_score_ops_hsh): Rename variable new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename variables old and new to r_old and r_new. * gas/config/tc-sh.c (parse_exp): Rename variable new to new_pointer. * gas/config/tc-sh64.c (shmedia_parse_exp): Rename variable new to new_pointer. * gas/config/tc-tic4x.c (tic4x_operand_parse): Rename variable new to new_pointer. * gas/config/tc-z8k.c (parse_exp): Rename variable new to new_pointer. * gas/listing.c (listing_newline): Rename variable new to new_i. * ld/ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop) (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new to new_e. * ld/ldfile.c (ldfile_add_library_path): Rename variable new to new_dirs. (ldfile_add_arch): Rename variable new to new_arch. * ld/ldlang.c (new_statement, lang_final, lang_add_wild) (lang_target, lang_add_fill, lang_add_data, lang_add_assignment) (lang_add_insert): Rename variable new to new_stmt. (new_afile): Added missing cast. (lang_memory_region_lookup): Rename variable new to new_region. (init_os): Rename variable new to new_userdata. (lang_add_section): Rename variable new to new_section. (ldlang_add_undef): Rename variable new to new_undef. (realsymbol): Rename variable new to new_name. * opcodes/z8kgen.c (internal, gas): Rename variable new to new_op. Updated sources to avoid using the identifier name "template", which is a keyword in c++. * bfd/elf32-arm.c (struct stub_def): Rename member template to template_sequence. (arm_build_one_stub, find_stub_size_and_template, arm_size_one_stub, arm_map_one_stub): Rename variable template to template_sequence. * bfd/elfxx-ia64.c (elfNN_ia64_relax_br, elfNN_ia64_relax_brl): Rename variable template to template_val. * gas/config/tc-arm.c (struct asm_cond, struct asm_psr, struct asm_barrier_opt): Change member template to template_name. (md_begin): Update code to reflect new member names. * gas/config/tc-i386.c (struct templates, struct _i386_insn) (match_template, cpu_flags_match, match_reg_size, match_mem_size) (operand_size_match, md_begin, i386_print_statistics, pi) (build_vex_prefix, md_assemble, parse_insn, optimize_imm) (optimize_disp): Updated code to use new names. (parse_insn): Added casts. * gas/config/tc-ia64.c (dot_template, emit_one_bundle): Updated code to use new names. * gas/config/tc-score.c (struct s3_asm_opcode): Renamed member template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst, s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to use new names. * gas/config/tc-score7.c (struct s7_asm_opcode): Renamed member template to template_name. (s7_parse_16_32_inst, s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to use new names. * gas/config/tc-tic30.c (md_begin, struct tic30_insn) (md_assemble): Update code to use new names. * gas/config/tc-tic54x.c (struct _tic54x_insn, md_begin) (optimize_insn, tic54x_parse_insn, next_line_shows_parallel): Update code to use new names. * include/opcode/tic30.h (template): Rename type template to insn_template. Updated code to use new name. * include/opcode/tic54x.h (template): Rename type template to insn_template. * opcodes/cris-dis.c (bytes_to_skip): Update code to use new name. * opcodes/i386-dis.c (putop): Update code to use new name. * opcodes/i386-gen.c (process_i386_opcodes): Update code to use new name. * opcodes/i386-opc.h (struct template): Rename struct template to insn_template. Update code accordingly. * opcodes/i386-tbl.h (i386_optab): Update type to use new name. * opcodes/ia64-dis.c (print_insn_ia64): Rename variable template to template_val. * opcodes/tic30-dis.c (struct instruction, get_tic30_instruction): Update code to use new name. * opcodes/tic54x-dis.c (has_lkaddr, get_insn_size) (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn): Update code to use new name. * opcodes/tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab): Update type to new name.
2009-08-29Remove SIM_CHECK_MEMBER* in sim/common/.Ralf Wildenhues4-61/+27
sim/common/: * aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS) (SIM_CHECK_MEMBERS_1): Remove. * configure.ac: Replace SIM_CHECK_MEMBERS call with equivalent AC_CHECK_MEMBERS one. * configure: Regenerate.
2009-08-29Fix SIM_CHECK_MEMBER definition with Autoconf 2.64.Ralf Wildenhues3-2/+55
sim/common/: * aclocal.m4 (SIM_CHECK_MEMBER): Use AU_ALIAS to define, not defn. * configure: Regenerate.
2009-08-29 * config/tc-sh.c (md_apply_fix): Extend sign of the offset valueKaz Kojima6-2/+32
for 64-bit host. * gas/sh/sign-extension.d: New file. * gas/sh/sign-extension.s: New file. * gas/sh/basic.exp: Run new test.
2009-08-292009-08-29 Hui Zhu <teawater@gmail.com>Hui Zhu2-36/+38
* i386-tdep.c (i386_process_record): Fix the error of string ops instructions's handler.