OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
14 years agobfd/
jbeulich [Mon, 31 Aug 2009 12:02:33 +0000 (12:02 +0000)]
bfd/
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.

14 years ago * lib/ld-lib.exp (is_elf_format): Return 1 for bfin-*-uclinux.
jiez [Mon, 31 Aug 2009 11:02:53 +0000 (11:02 +0000)]
* lib/ld-lib.exp (is_elf_format): Return 1 for bfin-*-uclinux.

14 years ago * config/bfin-aux.h: Change format from DOS to UNIX.
jiez [Mon, 31 Aug 2009 10:12:26 +0000 (10:12 +0000)]
* config/bfin-aux.h: Change format from DOS to UNIX.

14 years ago * ld-ifunc/ifunc.exp: Match R_PPC64_JUMP_IREL.
amodra [Mon, 31 Aug 2009 06:18:17 +0000 (06:18 +0000)]
* ld-ifunc/ifunc.exp: Match R_PPC64_JUMP_IREL.

14 years ago*** empty log message ***
gdbadmin [Mon, 31 Aug 2009 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Mon, 31 Aug 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago2009-08-30 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
ironhead [Sun, 30 Aug 2009 23:20:52 +0000 (23:20 +0000)]
2009-08-30  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/wtsapi32.h (WTSQuerySessionInformationA,
        WTSQuerySessionInformationW, WTSQuerySessionInformation, WTSFreeMemory):
        Moved to (_WIN32_WINNT >= 0x0500) guard.
        (thanks to Pierre Ossman)

14 years ago2009-08-30 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 30 Aug 2009 18:31:53 +0000 (18:31 +0000)]
2009-08-30  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert the
accidental checkin.
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Likwise.

14 years ago PR ld/10569
amodra [Sun, 30 Aug 2009 05:48:55 +0000 (05:48 +0000)]
PR ld/10569
* ld-elf/commonpage2.d: New.
* ld-elf/maxpage4.d: Likewise.
* ld-elf/maxpage4.t: Likewise.

14 years ago PR ld/10569
amodra [Sun, 30 Aug 2009 05:47:43 +0000 (05:47 +0000)]
PR ld/10569
* 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.

14 years ago PR ld/10569
amodra [Sun, 30 Aug 2009 05:46:26 +0000 (05:46 +0000)]
PR ld/10569
* bfd.c (bfd_emul_get_maxpagesize): Don't abort.
(bfd_emul_get_commonpagesize): Likewise.

14 years agodaily update
amodra [Sun, 30 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sun, 30 Aug 2009 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago Updated sources to avoid using the identifier name "new", which is a
nickc [Sat, 29 Aug 2009 22:10:58 +0000 (22:10 +0000)]
    Updated sources to avoid using the identifier name "new", which is a
        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.

14 years ago * hardware.scm (-keyword-parse): Fix `enum-prefix' default for
devans [Sat, 29 Aug 2009 18:32:32 +0000 (18:32 +0000)]
* hardware.scm (-keyword-parse): Fix `enum-prefix' default for
rtl version 0.7.
* doc/rtl.texi: Improve docs on rtl 0.7 vs 0.8 differences.

14 years ago * hardware.scm (-keyword-parse): Fix `enum-prefix' default for
devans [Sat, 29 Aug 2009 18:31:58 +0000 (18:31 +0000)]
* hardware.scm (-keyword-parse): Fix `enum-prefix' default for
rtl version 0.7.
* doc/rtl.texi: Improve docs on rtl 0.7 vs 0.8 differences.

14 years agoRemove SIM_CHECK_MEMBER* in sim/common/.
rwild [Sat, 29 Aug 2009 11:36:26 +0000 (11:36 +0000)]
Remove SIM_CHECK_MEMBER* in sim/common/.

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.

14 years agoFix SIM_CHECK_MEMBER definition with Autoconf 2.64.
rwild [Sat, 29 Aug 2009 11:35:06 +0000 (11:35 +0000)]
Fix SIM_CHECK_MEMBER definition with Autoconf 2.64.

sim/common/:
* aclocal.m4 (SIM_CHECK_MEMBER): Use AU_ALIAS to define, not defn.
* configure: Regenerate.

14 years ago * config/tc-sh.c (md_apply_fix): Extend sign of the offset value
kkojima [Sat, 29 Aug 2009 10:38:32 +0000 (10:38 +0000)]
* config/tc-sh.c (md_apply_fix): Extend sign of the offset value
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.

14 years ago2009-08-29 Hui Zhu <teawater@gmail.com>
teawater [Sat, 29 Aug 2009 05:32:13 +0000 (05:32 +0000)]
2009-08-29  Hui Zhu  <teawater@gmail.com>

* i386-tdep.c (i386_process_record): Fix the error of string
ops instructions's handler.

14 years agobinutils/
hjl [Sat, 29 Aug 2009 00:41:25 +0000 (00:41 +0000)]
binutils/

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.

14 years agodaily update
amodra [Sat, 29 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Sat, 29 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * top.c (execute_command): Remove redundant comment.
devans [Fri, 28 Aug 2009 23:26:54 +0000 (23:26 +0000)]
* top.c (execute_command): Remove redundant comment.

14 years agogas/
hjl [Fri, 28 Aug 2009 21:42:15 +0000 (21:42 +0000)]
gas/

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.

14 years ago PR gdb/10565
drow [Fri, 28 Aug 2009 18:50:48 +0000 (18:50 +0000)]
PR gdb/10565

* 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.

14 years agotweak `sequence' docs
devans [Fri, 28 Aug 2009 16:02:55 +0000 (16:02 +0000)]
tweak `sequence' docs

14 years agospiff up docs of sequence, parallel, do-count
devans [Fri, 28 Aug 2009 16:01:11 +0000 (16:01 +0000)]
spiff up docs of sequence, parallel, do-count

14 years agogdb/
jkratoch [Fri, 28 Aug 2009 10:49:04 +0000 (10:49 +0000)]
gdb/
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.

14 years agodo-count #iterations parameter can be an expression
devans [Fri, 28 Aug 2009 06:24:51 +0000 (06:24 +0000)]
do-count #iterations parameter can be an expression

14 years agoRework do-count to take an expression for the iteration count,
devans [Fri, 28 Aug 2009 06:20:28 +0000 (06:20 +0000)]
Rework do-count to take an expression for the iteration count,
and swap the iteration-variable/#iterations arguments.

14 years ago2009-08-28 Hui Zhu <teawater@gmail.com>
teawater [Fri, 28 Aug 2009 02:10:18 +0000 (02:10 +0000)]
2009-08-28  Hui Zhu  <teawater@gmail.com>

* record.c (record_list_release_next): Change the first
record_reg to record_end.

14 years agodaily update
amodra [Fri, 28 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Fri, 28 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * value.c (free_all_values): Tweak comment.
devans [Thu, 27 Aug 2009 23:37:34 +0000 (23:37 +0000)]
* value.c (free_all_values): Tweak comment.

14 years ago * NEWS: Add note on "info sharedlibrary".
devans [Thu, 27 Aug 2009 21:56:38 +0000 (21:56 +0000)]
* NEWS: Add note on "info sharedlibrary".
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'.

14 years ago Add do-count rtl function.
devans [Thu, 27 Aug 2009 21:28:48 +0000 (21:28 +0000)]
Add do-count rtl function.
* rtl-c.scm (s-do-count): New function.
(do-count): New rtl handler.
* rtl-traverse.scm (-rtx-traverse-iteration): New function.
(-rtx-make-traverser-table): Add ITERATION.
* rtl.scm (rtx-env-make-iteration-locals): New function.
* rtx-funcs.scm (do-count): New rtl function.
* cpu/play.cpu: Add do-count-test insn.
* doc/rtl.texi: Add docs on do-count.

14 years ago * doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
davek [Thu, 27 Aug 2009 14:58:07 +0000 (14:58 +0000)]
* doc/binutils.texi (--only-keep-debug): Relocate stray para here ...
(--subsystem): ... from here.

14 years agoPR ld/10518
amodra [Thu, 27 Aug 2009 13:56:55 +0000 (13:56 +0000)]
PR ld/10518
correct changelog pr number (was 10515)

14 years agogdb/
jkratoch [Thu, 27 Aug 2009 06:33:25 +0000 (06:33 +0000)]
gdb/
* 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.

14 years ago* read.scm (parse-error): Really change error message output format
devans [Thu, 27 Aug 2009 06:09:02 +0000 (06:09 +0000)]
* read.scm (parse-error): Really change error message output format
to match context-owner-error.
* utils-cgen.scm (context-owner-error): Simplify.

14 years ago * read.scm (parse-error): Change error message output format
devans [Thu, 27 Aug 2009 05:47:12 +0000 (05:47 +0000)]
* read.scm (parse-error): Change error message output format
to match context-owner-error.
* rtl-c.scm (-rtl-c-get): Call estate-error instead of error.
(rtl-c-set-quiet, rtl-c-set-trace): Ditto.
(s-if, s-cond, -gen-non-vm-case-test): Ditto.
(operand): Call estate-error instead of context-error.
(local, delay): Ditto.
(ref, attr): Call estate-error instead of error.
* rtl-traverse.scm (tstate-error): New function.
(-rtx-traverse-error): Call tstate-error instead of context-error.
(-rtx-traverse-operands, -rtx-traverse): Ditto.
(estate-error): New function.
* rtl.scm (rtx-lvalue-mode-name): Handle locals.  Call estate-error
instead of error.
(e-if): Call estate-error instead of error.
* rtx-funcs.scm (error): Call estate-error instead of context-error.
(member): Ditto.
* utils-cgen.scm (context-error): New arg `intro', all callers updated.
Rewrite to call context-owner-error.
(context-owner-error): New function.

14 years agoDo not create $(bfdlibdir) and $(bfdincludedir) if !INSTALL_LIBBFD.
rwild [Thu, 27 Aug 2009 05:24:40 +0000 (05:24 +0000)]
Do not create $(bfdlibdir) and $(bfdincludedir) if !INSTALL_LIBBFD.

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.

14 years ago * ifield.scm (<ifield> constructor): New arg `location',
devans [Thu, 27 Aug 2009 04:22:56 +0000 (04:22 +0000)]
* ifield.scm (<ifield> constructor): New arg `location',
all callers updated.
* insn.scm (<insn> constructor): Ditto.
(<multi-insn> constructor): Ditto.
* minsn.scm (<macro-insn> constructor): Ditto.
* operand.scm (<operand> constructor): Ditto.
* utils-cgen.scm (builtin-location): New function.
(<source-ident>): Fix default value of member `location'.
(source-ident?): New function.

14 years agoremove cruft
devans [Thu, 27 Aug 2009 04:20:48 +0000 (04:20 +0000)]
remove cruft

14 years ago * rtl-traverse.scm (estate-new-env): Rename arg state -> estate.
devans [Thu, 27 Aug 2009 02:47:11 +0000 (02:47 +0000)]
* rtl-traverse.scm (estate-new-env): Rename arg state -> estate.
(estate-push-env, estate-with-modifiers): Ditto.
(estate-deepen): New function.

14 years agoFix name in previous entry. Blech, sorry Dave.
devans [Thu, 27 Aug 2009 02:45:25 +0000 (02:45 +0000)]
Fix name in previous entry.  Blech, sorry Dave.

14 years ago2009-08-26 Michael Snyder <msnyder@vmware.com>
msnyder [Thu, 27 Aug 2009 00:05:08 +0000 (00:05 +0000)]
2009-08-26  Michael Snyder  <msnyder@vmware.com>

* gdb.base/i386-reverse.c: New file.
* gdb.base/i386-reverse.exp: New file.
* gdb.base/Makefile.in: Add new files to be removed.

14 years ago*** empty log message ***
gdbadmin [Thu, 27 Aug 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Thu, 27 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago2009-08-22 Michael Snyder <msnyder@vmware.com>
msnyder [Wed, 26 Aug 2009 23:59:18 +0000 (23:59 +0000)]
2009-08-22  Michael Snyder  <msnyder@vmware.com>

* i386-tdep.c (i386_process_record): Break out of prefix loop
if not amd64.  Otherwise inc/dec instructions are lost.

14 years ago* config/tc-mep.c (md_pcrel_from_section): Handle any other
dj [Wed, 26 Aug 2009 23:28:12 +0000 (23:28 +0000)]
* config/tc-mep.c (md_pcrel_from_section): Handle any other
forced-relocation cases.

14 years ago * path.h (INTERIX_SYMLINK_COOKIE): Define.
corinna [Wed, 26 Aug 2009 20:32:35 +0000 (20:32 +0000)]
* path.h (INTERIX_SYMLINK_COOKIE): Define.
* path.cc (symlink_info::check_sysfile): Read Interix symlinks as well.

14 years ago * fhandler.cc (fhandler_base::open): Only set R/O attribute if ACLs
corinna [Wed, 26 Aug 2009 19:37:33 +0000 (19:37 +0000)]
* fhandler.cc (fhandler_base::open): Only set R/O attribute if ACLs
are not used.

14 years ago * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
jsm28 [Wed, 26 Aug 2009 19:12:17 +0000 (19:12 +0000)]
* gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
environment-pwd for remote host.
* gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.

14 years agomoxie fixes in gas.
rwild [Wed, 26 Aug 2009 18:27:35 +0000 (18:27 +0000)]
moxie fixes in gas.

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.

14 years ago * elf32-m68k.c: Rewrite initialization of GOT entries for TLS
nickc [Wed, 26 Aug 2009 13:42:27 +0000 (13:42 +0000)]
    * elf32-m68k.c: Rewrite initialization of GOT entries for TLS
        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.

14 years ago * elf32-m68k.c (elf_m68k_copy_indirect_symbol): Propagate non_got_ref
nickc [Wed, 26 Aug 2009 13:35:36 +0000 (13:35 +0000)]
    * elf32-m68k.c (elf_m68k_copy_indirect_symbol): Propagate non_got_ref
        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.

14 years ago * m68k-dis.c (print_insn_arg): Add movecr register names for
nickc [Wed, 26 Aug 2009 13:16:27 +0000 (13:16 +0000)]
    * m68k-dis.c (print_insn_arg): Add movecr register names for
        coldfire v4e families.

14 years ago PR ld/10555
nickc [Wed, 26 Aug 2009 13:08:06 +0000 (13:08 +0000)]
    PR ld/10555
        * emultempl/elf32.em (_after_open): Do not create a
        .note.gnu-build-id section if there are no input files.

14 years ago * config/obj-coff-seh.c (seh_arm_write_pdata): Test for
nickc [Wed, 26 Aug 2009 08:26:52 +0000 (08:26 +0000)]
    * config/obj-coff-seh.c (seh_arm_write_pdata): Test for
        seh_ctx_root being NULL.

14 years ago * new-features.sgml (ov-new1.7-posix): Add "KOI8-R" and "KOI8-U"
corinna [Wed, 26 Aug 2009 08:15:49 +0000 (08:15 +0000)]
* new-features.sgml (ov-new1.7-posix): Add "KOI8-R" and "KOI8-U"
charsets.

14 years ago PR ld/10515
amodra [Wed, 26 Aug 2009 04:33:41 +0000 (04:33 +0000)]
PR ld/10515
* linker.c (bfd_find_version_for_sym): Revert warning.

14 years agoFix confusing sentence about autoconf in gdbint.texinfo.
rwild [Wed, 26 Aug 2009 04:16:38 +0000 (04:16 +0000)]
Fix confusing sentence about autoconf in gdbint.texinfo.

gdb/doc/:
* gdbint.texinfo (Releasing GDB): Fix confusing sentence
about autoconf.

14 years ago PR ld/10515
amodra [Wed, 26 Aug 2009 01:21:55 +0000 (01:21 +0000)]
PR ld/10515
* linker.c (bfd_find_version_for_sym): Override a "*" match by any
other wildcard match.  Warn on multiple wildcard matches.

14 years agodaily update
amodra [Wed, 26 Aug 2009 00:00:05 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Wed, 26 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago2009-08-25 Andy Koppe <andy.koppe@gmail.com>
jjohnstn [Tue, 25 Aug 2009 18:47:24 +0000 (18:47 +0000)]
2009-08-25  Andy Koppe  <andy.koppe@gmail.com>

        * libc/stdlib/sb_charsets.c (__micro_atoi): Allow five-digit codepage
        numbers.
        * libc/locale/locale.c (loadlocale): Set MB_CUR_MAX to 1 for KOI8
        charsets.
        * libc/stdlib/local.h (__cp_conv): Remove incorrect number of codepages.

14 years ago * c-exp.y (yylex): Add cxx_only check for tokentab2 and tokentab3
kseitz [Tue, 25 Aug 2009 18:40:43 +0000 (18:40 +0000)]
* c-exp.y (yylex): Add cxx_only check for tokentab2 and tokentab3
searches.
(tokentab3): Add cxx_only for DOT_STAR.

14 years ago * sim-model.scm (-gen-mach-defns): Use @PREFIX@_INSN__MAX instead of
devans [Tue, 25 Aug 2009 16:30:06 +0000 (16:30 +0000)]
* sim-model.scm (-gen-mach-defns): Use @PREFIX@_INSN__MAX instead of
@CPU@_INSN__MAX.  Use @prefix@ instead of @cpu@ for engine_run
routines.

14 years agotweak previous change for consistency
devans [Tue, 25 Aug 2009 16:19:48 +0000 (16:19 +0000)]
tweak previous change for consistency

14 years ago * doc/pmacros.texi (pmacro default argument values): Add text.
devans [Tue, 25 Aug 2009 16:13:34 +0000 (16:13 +0000)]
* doc/pmacros.texi (pmacro default argument values): Add text.

14 years ago gdb/
palves [Tue, 25 Aug 2009 15:24:10 +0000 (15:24 +0000)]
gdb/
* 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.

14 years agogdb/
jkratoch [Tue, 25 Aug 2009 14:06:44 +0000 (14:06 +0000)]
gdb/
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.

14 years ago * mount.cc (fs_info::update): Add comment.
corinna [Tue, 25 Aug 2009 11:27:02 +0000 (11:27 +0000)]
* mount.cc (fs_info::update): Add comment.
* path.cc (symlink_info::check_reparse_point): Return -1 for volume
mount points.  Explain why.
(symlink_info::check): Call fs.update again for volume mount points.
Explain why.

14 years agoBuild cleanups in opcodes: cross-compilation and generators.
rwild [Tue, 25 Aug 2009 03:13:44 +0000 (03:13 +0000)]
Build cleanups in opcodes: cross-compilation and generators.

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.

14 years ago * options.h (Command_line::Pre_options): New class.
ccoutant [Tue, 25 Aug 2009 01:10:48 +0000 (01:10 +0000)]
* options.h (Command_line::Pre_options): New class.
(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.

14 years ago * c-exp.y (tokentab3): Add new token, ARROW_STAR. Changed all users.
kseitz [Tue, 25 Aug 2009 00:23:06 +0000 (00:23 +0000)]
* c-exp.y (tokentab3): Add new token, ARROW_STAR. Changed all users.
(tokentab2): Add new token, DOT_STAR. Changed all users.

14 years agodaily update
amodra [Tue, 25 Aug 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Tue, 25 Aug 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years agoFixed typo in ChangeLog.
ccoutant [Mon, 24 Aug 2009 23:33:33 +0000 (23:33 +0000)]
Fixed typo in ChangeLog.

14 years ago (General_options::no_keep_memory): Remove incorrect short option.
ccoutant [Mon, 24 Aug 2009 23:31:45 +0000 (23:31 +0000)]
(General_options::no_keep_memory): Remove incorrect short option.

14 years ago2009-08-24 Corinna Vinschen <corinna@vinschen.de>
jjohnstn [Mon, 24 Aug 2009 22:11:09 +0000 (22:11 +0000)]
2009-08-24  Corinna Vinschen  <corinna@vinschen.de>

        * libc/locale/locale.c: Update documentation.
        (loadlocale): Map "KOI8-R" and "KOI8-U" to CP20866 and CP21866.

2009-08-24  Andy Koppe  <andy.koppe@gmail.com>

        * libc/stdlib/sb_charsets.c (__cp_conv): Add KOI8-R (Russian, CP20866)
        and KOI8-U (Ukrainian, CP21866) to Windows codepage conversion tables.
        * libc/ctype/ctype_cp.h (__ctype_cp): Likewise for ctype tables.

14 years ago * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
kseitz [Mon, 24 Aug 2009 22:01:30 +0000 (22:01 +0000)]
* gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
Add two new C++ completer tests which limit the output to a
given class.

14 years ago * symtab.c (default_make_symbol_completion_list): Keep
kseitz [Mon, 24 Aug 2009 22:00:55 +0000 (22:00 +0000)]
* symtab.c (default_make_symbol_completion_list): Keep
':', too, so that we can limit searches in namespaces
and classes.

14 years ago * symtab.c (default_make_symbol_completion_list): Keep
kseitz [Mon, 24 Aug 2009 22:00:43 +0000 (22:00 +0000)]
* symtab.c (default_make_symbol_completion_list): Keep
':', too, so that we can limit searches in namespaces
and classes.

14 years ago2009-08-24 Michael Snyder <msnyder@vmware.com>
msnyder [Mon, 24 Aug 2009 20:27:16 +0000 (20:27 +0000)]
2009-08-24  Michael Snyder  <msnyder@vmware.com>

* gdb.base/del.exp: Fix typo in comment.
* gdb.base/step-bt.exp: Fix cut and paste error in comment.

14 years agoSync from GCC: Update AC_PREREQ entries to 2.64.
rwild [Mon, 24 Aug 2009 19:12:54 +0000 (19:12 +0000)]
Sync from GCC: Update AC_PREREQ entries to 2.64.

/:
* configure.ac (AC_PREREQ): Bump to 2.64.

intl/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libdecnumber/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libiberty/:
* configure.ac (AC_PREREQ): Bump to 2.64.

14 years agoMore build fixes in opcodes
rwild [Mon, 24 Aug 2009 19:05:01 +0000 (19:05 +0000)]
More build fixes in opcodes

opcodes/:
* Makefile.am (TARGET_LIBOPCODES_CFILES): New variable, taken
from $(CFILES), sorted, with dis-buf.c, dis-init.c, disassemble.c,
i386-gen.c, ia64-opc-a.c, ia64-opc-b.c, ia64-opc-f.c, ia64-opc-i.c,
ia64-opc-m.c, ia64-opc-d.c, ia64-gen.c, ia64-asmtab.c removed, and
msp430-dis.c added.
(LIBOPCODES_CFILES): New variable, adding to
TARGET_LIBOPCODES_CFILES also non-target library sources.
(CFILES): Factorize based on $(LIBOPCODES_CFILES), adding generator
files.
(ALL_MACHINES): Factorize based on $(TARGET_LIBOPCODES_CFILES).
(EXTRA_libopcodes_la_SOURCES): Use $(LIBOPCODES_CFILES).
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

14 years ago * python/python-value.c (valpy_richcompare): Don't return from
tromey [Mon, 24 Aug 2009 18:55:21 +0000 (18:55 +0000)]
* python/python-value.c (valpy_richcompare): Don't return from
inside a TRY_CATCH.

14 years ago * objdump.c (find_symbol_for_address): Avoid costly call to
ccoutant [Mon, 24 Aug 2009 18:43:50 +0000 (18:43 +0000)]
* objdump.c (find_symbol_for_address): Avoid costly call to
bfd_octets_per_byte.

14 years ago2009-08-24 Andy Koppe <andy.koppe@gmail.com>
jjohnstn [Mon, 24 Aug 2009 16:59:35 +0000 (16:59 +0000)]
2009-08-24  Andy Koppe  <andy.koppe@gmail.com>

        * libc/ctype/iswspace.c (iswspace): Include "non-breaking
        space" (U+00A0).
        * libc/ctype/iswblank.c (iswblank): Likewise.

14 years ago * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
nickc [Mon, 24 Aug 2009 15:22:58 +0000 (15:22 +0000)]
    * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
        .gnu.lto_ prefix.
        * scripttempl/armbpabi.sc: Likewise.
        * scripttempl/elf32sh-symbian.sc: Likewise.
        * scripttempl/elf64hppa.sc: Likewise.
        * scripttempl/mep.sc: Likewise.

14 years ago * globals.cc (ro_u_volume): New R/O unicode string.
corinna [Mon, 24 Aug 2009 11:14:29 +0000 (11:14 +0000)]
* globals.cc (ro_u_volume): New R/O unicode string.
* path.cc (symlink_info::check_reparse_point): Fix check for volume
mount points to work on Vista and later as well.

14 years ago * hardware.scm (<keyword>): Rename member print-name -> enum-prefix.
devans [Mon, 24 Aug 2009 06:46:16 +0000 (06:46 +0000)]
* hardware.scm (<keyword>): Rename member print-name -> enum-prefix.
Rename member prefix -> name-prefix.
(<keyword> getters): Update.
(-keyword-parse): Update.  Default enum-prefix to NAME-.
(-keyword-read): Update.  Don't compute default value for
enum-prefix here.
(define-keyword): Update.
(-hw-parse-keyword): Pass "UNUSED" for enum-prefix to -keyword-parse.
* read.scm (cgen-rtl-version): New function.
(-supported-rtl-versions): Add (0 8).
* desc-cpu.scm (-gen-hw-decl): Remove cruft.
* desc.scm (<keyword> gen-defn): prefix -> name-prefix.
* gas-test.scm (<keyword> test-data): prefix -> name-prefix.
* cpu/arm.cpu (gr-names, shift-type): Call define-rtl-version.
Update, print-name -> enum-prefix, make uppercase.
Remove unnecessary name-prefix spec.
* cpu/fr30.cpu (gr-names, cr-names, dr-names): Ditto.
* cpu/ip2k.cpu (register-names): Ditto.
* cpu/m68k.cpu (dr-names, ar-names): Ditto.
* cpu/sparc.cpu (gr-names): Ditto.
* cpu/xc16x.cpu (gr-names, ext-names,psw-names): Ditto.
(grb-names, conditioncode-names, extconditioncode-names): Ditto.
(grb8-names, r8-names, regmem8-names, regdiv8-names): Ditto.
(reg0-name, reg0-name1, regbmem8-names, memgr8-names): Ditto.
* cpu/ia32.cpu (gr8-names, gr16-names, gr-names): Call
define-rtl-version.  Update, print-name -> enum-prefix, make uppercase,
prefix -> name-prefix.
* cpu/sh64-compact.cpu (frc-names): Call define-rtl-version.
Update, print-name -> enum-prefix, make uppercase.
(drc-names, xf-names): Ditto.
* cpu/xstormy16.cpu (gr-names, gr-Rb-names): Ditto.
* doc/rtl.texi (Keywords): New section.
(hardware indices): Update text.
(rtl versions): Add 0.8.

14 years agodependency tracking fixes in ld
rwild [Mon, 24 Aug 2009 05:57:44 +0000 (05:57 +0000)]
dependency tracking fixes in ld

ld/:
* Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
rules.
(eelf32_spu.o): Add dependency tracking.
* Makefile.in: Regenerate.

14 years agoFix yacc and lex reruns with maintainer-mode off.
rwild [Mon, 24 Aug 2009 05:55:53 +0000 (05:55 +0000)]
Fix yacc and lex reruns with maintainer-mode off.

gas/:
* Makefile.am (am__skiplex, am__skipyacc): New.
* Makefile.in: Regenerate.

ld/:
* Makefile.am (am__skiplex, am__skipyacc): New.
* Makefile.in: Regenerate.

binutils/:
* Makefile.am (am__skiplex, am__skipyacc): New.
* Makefile.in: Regenerate.

gold/:
* Makefile.am (am__skiplex, am__skipyacc): New.
* Makefile.in: Regenerate.

14 years ago*** empty log message ***
gdbadmin [Mon, 24 Aug 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Mon, 24 Aug 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago2009-08-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 23 Aug 2009 19:03:58 +0000 (19:03 +0000)]
2009-08-23  H.J. Lu  <hongjiu.lu@intel.com>

 PR ld/10536
 * Makefile.in (install-html-recursive): Removed.