aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2009-08-29binutils/H.J. Lu6-16/+36
2009-08-28 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (sysinfo$(EXEEXT_FOR_BUILD)): Replace CFLAGS/LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD. (syslex.o): Likewise. (sysinfo.o): Likewise. (bin2c$(EXEEXT_FOR_BUILD)): Likewise. * Makefile.in: Regenerated. opcodes/ 2009-08-28 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (COMPILE_FOR_BUILD): Remove BUILD_CPPFLAGS. Replace BUILD_CFLAGS with CFLAGS_FOR_BUILD. (LINK_FOR_BUILD): Replace BUILD_CFLAGS/BUILD_LDFLAGS with CFLAGS_FOR_BUILD/LDFLAGS_FOR_BUILD. * Makefile.in: Regenerated.
2009-08-29daily updateAlan Modra1-1/+1
2009-08-29*** empty log message ***gdbadmin1-1/+1
2009-08-28 * top.c (execute_command): Remove redundant comment.Doug Evans2-3/+5
2009-08-28gas/H.J. Lu5-6/+26
2009-08-28 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (cpu_arch): Use PROCESSOR_L1OM on "l1om". (i386_align_code): Handle PROCESSOR_L1OM. (check_cpu_arch_compatible): Fix a typo in comments. (set_cpu_arch): Check cpu_arch_isa instead of cpu_arch_isa_flags.bitfield.cpul1om. (i386_mach): Likewise. (i386_target_format): Likewise. * config/tc-i386.h (processor_type): Add PROCESSOR_L1OM. gas/testsuite/ 2009-08-28 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/l1om.d: Check elf64-l1om format.
2009-08-28 PR gdb/10565Daniel Jacobowitz5-4/+61
* value.c (value_primitive_field): Do not save value_offset for bitfields. (unpack_bits_as_long): Do not read an entire ULONGEST. testsuite/ PR gdb/10565 * gdb.base/bitfields.c (struct container, container): New. (main): Initialize it and call break5. * gdb.base/bitfields.exp (bitfield_at_offset): New test.
2009-08-28gdb/Jan Kratochvil5-10/+185
Support constant DW_AT_data_member_location by GCC PR debug/40659. * dwarf2read.c (dwarf2_add_field <DW_TAG_member> <DW_AT_data_member_location>): Initialize BYTE_OFFSET to 0 by default. Explicitly check if attr_form_is_block. (dwarf2_add_field <DW_TAG_inheritance> <DW_AT_data_member_location>) (read_common_block <DW_AT_data_member_location>): New variable byte_offset. Fix crash on non-DW_BLOCK ATTR values. gdb/testsuite/ Support constant DW_AT_data_member_location by GCC PR debug/40659. * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
2009-08-282009-08-28 Hui Zhu <teawater@gmail.com>Hui Zhu2-1/+6
* record.c (record_list_release_next): Change the first record_reg to record_end.
2009-08-28daily updateAlan Modra1-1/+1
2009-08-28*** empty log message ***gdbadmin1-1/+1
2009-08-27 * value.c (free_all_values): Tweak comment.Doug Evans2-1/+4
2009-08-27 * NEWS: Add note on "info sharedlibrary".Doug Evans10-104/+174
Remove note on "set print symbol-loading". * main.c (captured_main): Pass !batch for from_tty when calling symbol_file_add_main. * objfiles.h (objfile_has_partial_symbols): Declare. (objfile_has_full_symbols): Declare. * objfiles.c (objfile_has_partial_symbols): New function. (have_partial_symbols): Use it. (objfile_has_full_symbols): New function. (have_full_symbols): Use it. * solib.c: Include interps.h. (solib_read_symbols): Back out patch of 2008-07-10. Add test for info_verbose for symbol loading messages for consistency with symfile.c. (info_sharedlibrary_command): Handle optional parameter of regex of libraries to list. Inform user of libraries without debugging info. Rewrite to use ui_out routines to format output. * symfile.c (print_symbol_loading): Delete. (symbol_file_add_with_addrs_or_offsets): Back out patch of 2008-07-10. Print "no debugging symbols found" only if from_tty || info_verbose; and only check file being loaded, not all files. (reread_symbols): Test file being loaded for whether it has symbols, not all files. (__initialize_symfile): Delete `set print symbol-loading'. * symfile.h (print_symbol_loading): Delete. * doc/gdb.texinfo (Symbols): Delete `set print symbol-loading'. (Files): Add note on new optional regex arg to `info sharedlibrary'.
2009-08-27 * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...Dave Korn2-33/+38
(--subsystem): ... from here.
2009-08-27PR ld/10518Alan Modra1-2/+2
correct changelog pr number (was 10515)
2009-08-27gdb/Jan Kratochvil4-1/+22
* varobj.c (varobj_create): Error if the specified frame was not found and it is needed. gdb/testsuite/ * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
2009-08-27Do not create $(bfdlibdir) and $(bfdincludedir) if !INSTALL_LIBBFD.Ralf Wildenhues11-15/+60
opcodes/: * Makefile.am (bfdlibdir, bfdincludedir): Move definition ... [INSTALL_LIBBFD]: ... here, ... [INSTALL_LIBBFD]: ... and empty overrides here. [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable. [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it. * Makefile.in: Regenerate. * configure: Regenerate. bfd/: * acinclude.m4 (AM_INSTALL_LIBBFD): Call AM_SUBST_NOTMAKE for bfdlibdir and bfdincludedir. * Makefile.am (bfdlibdir, bfdincludedir): Move definition ... [INSTALL_LIBBFD]: ... here, ... [INSTALL_LIBBFD]: ... and empty overrides here. [!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable. [!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it. * Makefile.in: Regenerate. * configure: Regenerate. bfd/doc/: * Makefile.in: Regenerate.
2009-08-272009-08-26 Michael Snyder <msnyder@vmware.com>Michael Snyder4-1/+341
* gdb.base/i386-reverse.c: New file. * gdb.base/i386-reverse.exp: New file. * gdb.base/Makefile.in: Add new files to be removed.
2009-08-27*** empty log message ***gdbadmin1-1/+1
2009-08-27daily updateAlan Modra1-1/+1
2009-08-262009-08-22 Michael Snyder <msnyder@vmware.com>Michael Snyder2-17/+24
* i386-tdep.c (i386_process_record): Break out of prefix loop if not amd64. Otherwise inc/dec instructions are lost.
2009-08-26* config/tc-mep.c (md_pcrel_from_section): Handle any otherDJ Delorie2-0/+10
forced-relocation cases.
2009-08-26 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not testJoseph Myers3-2/+16
environment-pwd for remote host. * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
2009-08-26moxie fixes in gas.Ralf Wildenhues6-26/+91
gas/: * Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c. * config/tc-moxie.c (md_assemble): Fix typos in strings. Fix syntax error. * Makefile.in: Regenerate. * po/POTFILES.in: Likewise. * po/gas.pot: Likewise.
2009-08-26 * elf32-m68k.c: Rewrite initialization of GOT entries for TLSNick Clifton2-140/+173
relocations. Rewrite output of dynamic TLS relocations. (DTP_OFFSET, TP_OFFSET): New constants. (dtpoff_base): Update. (tpoff): Rename to tpoff_base, update. (elf_m68k_init_got_entry_static, elf_m68k_init_got_entry_local_shared): New functions. Move code from elf_m68k_relocate_section here. (elf_m68k_relocate_section): Update. (elf_m68k_finish_dynamic_symbol): Fix handling of local TLS symbols.
2009-08-26 * elf32-m68k.c (elf_m68k_copy_indirect_symbol): Propagate non_got_refNick Clifton10-1/+124
value. (elf_m68k_check_relocs): Handle dynamic TLS relocations. Handle non_got_ref field. (elf_m68k_adjust_dynamic_symbol): Handle non_got_ref field. * tls-def-1.s, tls-def-1.d, tls-gd-1.d2, tls-gd-1.d3, tls-main-1.s, * tls-main-1.d: New files. * m68k.exp: Run new TLS tests.
2009-08-26 * m68k-dis.c (print_insn_arg): Add movecr register names forNick Clifton2-22/+52
coldfire v4e families.
2009-08-26 PR ld/10555Nick Clifton2-21/+38
* emultempl/elf32.em (_after_open): Do not create a .note.gnu-build-id section if there are no input files.
2009-08-26 * config/obj-coff-seh.c (seh_arm_write_pdata): Test forNick Clifton2-167/+184
seh_ctx_root being NULL.
2009-08-26 PR ld/10515Alan Modra2-13/+6
* linker.c (bfd_find_version_for_sym): Revert warning.
2009-08-26Fix confusing sentence about autoconf in gdbint.texinfo.Ralf Wildenhues2-2/+7
gdb/doc/: * gdbint.texinfo (Releasing GDB): Fix confusing sentence about autoconf.
2009-08-26 PR ld/10515Alan Modra2-6/+39
* linker.c (bfd_find_version_for_sym): Override a "*" match by any other wildcard match. Warn on multiple wildcard matches.
2009-08-26daily updateAlan Modra1-1/+1
2009-08-26*** empty log message ***gdbadmin1-1/+1
2009-08-25 * c-exp.y (yylex): Add cxx_only check for tokentab2 and tokentab3Keith Seitz2-1/+17
searches. (tokentab3): Add cxx_only for DOT_STAR.
2009-08-25 gdb/Pedro Alves4-17/+59
* inferior.c (print_inferior): Align columns left. Remove header for the the "current" column. Rename column "Id" to "Num". Rename column "PID" to "Description". Print if there's no selected inferior. gdb/doc/ * gdb.texinfo (Debugging Multiple Inferiors): Add "info inferiors" small example, and describe its columns. Replace "inferior-id" by "infno" throughout.
2009-08-25gdb/Jan Kratochvil2-4/+8
Fix ia64 start crash when GDB built with -lmcheck. * ia64-tdep.c (ia64_gdbarch_init): Allocate TDEP as cleared. Remove specific clearing of TDEP SIGCONTEXT_REGISTER_ADDRESS and PC_IN_SIGTRAMP.
2009-08-25Build cleanups in opcodes: cross-compilation and generators.Ralf Wildenhues5-35/+150
opcodes/: * Makefile.am (SUBDIRS): Build '.' before 'po'. (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY) (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables. (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite using *BUILD variables, depend upon $(BUILD_LIBIBERTY). (i386-gen.o): New rule. ($(srcdir)/i386-init.h): Adjust. (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h. (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise. (ia64-gen.o): New rule. (ia64_asmtab_deps): New variable. ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise. (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c. (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust likewise. (s390-opc.tab): Adjust. (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New rules. (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h. * Makefile.in: Regenerate. * z8kgen.c (gas): Avoid '/*' in comment. * z8k-opc.h (func): Regenerate.
2009-08-25 * options.h (Command_line::Pre_options): New class.Cary Coutant3-1/+42
(Command_line::pre_options): New member. * options.cc (gold::options::ready_to_register): New variable. (One_option::register_option): Do nothing if not registering options. Assert if same short option registered twice. (General_options::General_options): Turn off option registration when done constructing. (Command_line::Pre_options::Pre_options): New constructor.
2009-08-25 * c-exp.y (tokentab3): Add new token, ARROW_STAR. Changed all users.Keith Seitz2-5/+12
(tokentab2): Add new token, DOT_STAR. Changed all users.
2009-08-25daily updateAlan Modra1-1/+1
2009-08-25*** empty log message ***gdbadmin1-1/+1
2009-08-24Fixed typo in ChangeLog.Cary Coutant1-1/+2
2009-08-24 (General_options::no_keep_memory): Remove incorrect short option.Cary Coutant2-2/+7
2009-08-24 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.Keith Seitz2-0/+48
Add two new C++ completer tests which limit the output to a given class.
2009-08-24 * symtab.c (default_make_symbol_completion_list): KeepKeith Seitz2-1/+8
':', too, so that we can limit searches in namespaces and classes.