Skip to content
Snippets Groups Projects
  1. Aug 31, 2009
  2. Aug 30, 2009
    • H.J. Lu's avatar
      2009-08-30 H.J. Lu <hongjiu.lu@intel.com> · 883c7410
      H.J. Lu authored
      	* elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert the
      	accidental checkin.
      	* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likwise.
      883c7410
    • Alan Modra's avatar
      PR ld/10569 · 3021a723
      Alan Modra authored
      	* ld-elf/commonpage2.d: New.
      	* ld-elf/maxpage4.d: Likewise.
      	* ld-elf/maxpage4.t: Likewise.
      3021a723
    • Alan Modra's avatar
      PR ld/10569 · 8be573a7
      Alan Modra authored
      	* 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.
      8be573a7
    • Alan Modra's avatar
      PR ld/10569 · 095106a2
      Alan Modra authored
      	* bfd.c (bfd_emul_get_maxpagesize): Don't abort.
      	(bfd_emul_get_commonpagesize): Likewise.
      095106a2
    • Alan Modra's avatar
      daily update · 2c80e933
      Alan Modra authored
      2c80e933
    • gdbadmin's avatar
      *** empty log message *** · 5b2c6921
      gdbadmin authored
      5b2c6921
    • Nick Clifton's avatar
      Updated sources to avoid using the identifier name "new", which is a · d3ce72d0
      Nick Clifton authored
              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.
      d3ce72d0
  3. Aug 29, 2009
  4. Aug 28, 2009
    • H.J. Lu's avatar
      gas/ · 3632d14b
      H.J. Lu authored
      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.
      3632d14b
    • Daniel Jacobowitz's avatar
      PR gdb/10565 · 4a76eae5
      Daniel Jacobowitz authored
      	* 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.
      4a76eae5
    • Jan Kratochvil's avatar
      gdb/ · d4b96c9a
      Jan Kratochvil authored
      	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.
      d4b96c9a
    • Hui Zhu's avatar
      2009-08-28 Hui Zhu <teawater@gmail.com> · 12b1a979
      Hui Zhu authored
      	* record.c (record_list_release_next): Change the first
      	record_reg to record_end.
      12b1a979
    • Alan Modra's avatar
      daily update · 34e39bb7
      Alan Modra authored
      34e39bb7
    • gdbadmin's avatar
      *** empty log message *** · 1af1412d
      gdbadmin authored
      1af1412d
    • Doug Evans's avatar
      * value.c (free_all_values): Tweak comment. · 725e88af
      Doug Evans authored
      725e88af
  5. Aug 27, 2009
    • Doug Evans's avatar
      * NEWS: Add note on "info sharedlibrary". · 55333a84
      Doug Evans authored
      	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'.
      55333a84
    • Dave Korn's avatar
      * doc/binutils.texi (--only-keep-debug): Relocate stray para here ... · b96fec5e
      Dave Korn authored
      	(--subsystem): ... from here.
      b96fec5e
    • Alan Modra's avatar
      PR ld/10518 · 600b8686
      Alan Modra authored
      correct changelog pr number (was 10515)
      600b8686
    • Jan Kratochvil's avatar
      gdb/ · 4e22772d
      Jan Kratochvil authored
      	* 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.
      4e22772d
    • Ralf Wildenhues's avatar
      Do not create $(bfdlibdir) and $(bfdincludedir) if !INSTALL_LIBBFD. · 573e8a1c
      Ralf Wildenhues authored
      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.
      573e8a1c
    • Michael Snyder's avatar
      2009-08-26 Michael Snyder <msnyder@vmware.com> · 2efab443
      Michael Snyder authored
      	* gdb.base/i386-reverse.c: New file.
      	* gdb.base/i386-reverse.exp: New file.
      	* gdb.base/Makefile.in: Add new files to be removed.
      2efab443
    • gdbadmin's avatar
      *** empty log message *** · 38d9e59d
      gdbadmin authored
      38d9e59d
    • Alan Modra's avatar
      daily update · 2bff125a
      Alan Modra authored
      2bff125a
    • Michael Snyder's avatar
      2009-08-22 Michael Snyder <msnyder@vmware.com> · d691bec7
      Michael Snyder authored
      	* i386-tdep.c (i386_process_record): Break out of prefix loop
      	if not amd64.  Otherwise inc/dec instructions are lost.
      d691bec7
    • DJ Delorie's avatar
      * config/tc-mep.c (md_pcrel_from_section): Handle any other · 4e7defc1
      DJ Delorie authored
      forced-relocation cases.
      4e7defc1
  6. Aug 26, 2009
Loading