OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
14 years ago2009-09-03 Ozkan Sezer <sezeroz@gmail.com>
hjl [Thu, 3 Sep 2009 16:46:54 +0000 (16:46 +0000)]
2009-09-03  Ozkan Sezer  <sezeroz@gmail.com>

PR target/39065
* configure.ac: Also check for intptr_t.
* config.h.in: Regenerated.
* configure: Regenerated.
* hashtab.c (hash_pointer): Cast the pointer argument to intptr_t
instead of of long.

14 years ago * config/tc-bfin.c (md_assemble): Bump line counters if there is
jiez [Thu, 3 Sep 2009 16:32:38 +0000 (16:32 +0000)]
* config/tc-bfin.c (md_assemble): Bump line counters if there is
EOL in the instruction.

testsuite/
* gas/bfin/line_number.l, gas/bfin/line_number.s: New test.
* gas/bfin/bfin.exp: Add the new test.

14 years ago gas/
jiez [Thu, 3 Sep 2009 16:17:35 +0000 (16:17 +0000)]
gas/
* config/bfin-defs.h (IS_GENREG): Define.
(IS_DAGREG): Define.
(IS_SYSREG): Define.
* config/bfin-parse.y (asm_1): Check illegal register move
instructions.

gas/testsuite/
* gas/bfin/expected_move_errors.s,
gas/bfin/expected_move_errors.l: Add "LC1 = I0;".
* gas/bfin/move.s, gas/bfin/move.d: Remove "CYCLES = A0.W".

opcodes/
* bfin-dis.c (IS_DREG): Define.
(IS_PREG): Define.
(IS_AREG): Define.
(IS_GENREG): Define.
(IS_DAGREG): Define.
(IS_SYSREG): Define.
(decode_REGMV_0): Check illegal register move instructions.

14 years ago * config/bfin-parse.y (asm_1): Fix a typo.
jiez [Thu, 3 Sep 2009 15:48:15 +0000 (15:48 +0000)]
* config/bfin-parse.y (asm_1): Fix a typo.

testsuite/
* gas/bfin/expected_comparison_errors.l: Expect error on Line 13.

14 years ago * config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
jiez [Thu, 3 Sep 2009 15:36:01 +0000 (15:36 +0000)]
* config/bfin-parse.y (asm_1): Add LOOP_BEGIN and LOOP_END.
* config/tc-bfin.c (bfin_start_line_hook): Remove.
(bfin_loop_beginend): New.
* config/tc-bfin.h (bfin_start_line_hook): Don't declare.
(md_start_line_hook): Don't define.
* config/bfin-aux.h (bfin_loop_beginend): Declare.

testsuite/
* gas/bfin/loop.s, gas/bfin/loop.d: New test.
* gas/bfin/loop2.s, gas/bfin/loop2.d: New test.
* gas/bfin/loop3.s, gas/bfin/loop3.d: New test.
* gas/bfin/bfin.exp: Add the new tests.

14 years ago * elf64-mips.c (mips_elf64_howto_table_rela): Add support for
macro [Thu, 3 Sep 2009 15:21:09 +0000 (15:21 +0000)]
* elf64-mips.c (mips_elf64_howto_table_rela): Add support for
R_MIPS_TLS_DTPMOD64 and R_MIPS_TLS_TPREL64, replacing the
respective stubs.

14 years ago2009-09-03 Tristan Gingold <gingold@adacore.com>
gingold [Thu, 3 Sep 2009 13:20:31 +0000 (13:20 +0000)]
2009-09-03  Tristan Gingold  <gingold@adacore.com>

* config/tc-ia64.c (ia64_vms_note): Use lbasename instead of basename.
Call xstrdup on the result and free the buffer after use.

14 years ago2009-09-03 Tristan Gingold <gingold@adacore.com>
gingold [Thu, 3 Sep 2009 12:54:21 +0000 (12:54 +0000)]
2009-09-03  Tristan Gingold  <gingold@adacore.com>

* as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h.

14 years ago * Makefile.am (BUILD_LIBINTL): New variable.
davek [Thu, 3 Sep 2009 04:47:46 +0000 (04:47 +0000)]
* Makefile.am (BUILD_LIBINTL): New variable.
(i386-gen$(EXEEXT_FOR_BUILD)): Use it.
(ia64-gen$(EXEEXT_FOR_BUILD)): And here.
(z8kgen$(EXEEXT_FOR_BUILD)): And here.
* Makefile.in: Regenerate.

14 years agoupdate copyright dates
amodra [Thu, 3 Sep 2009 02:02:48 +0000 (02:02 +0000)]
update copyright dates

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

14 years ago*** empty log message ***
gdbadmin [Thu, 3 Sep 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

14 years ago * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
tromey [Wed, 2 Sep 2009 17:03:36 +0000 (17:03 +0000)]
* gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.

14 years ago * output.cc (Output_file::resize): Call map_no_anonymous rather
ian [Wed, 2 Sep 2009 16:39:06 +0000 (16:39 +0000)]
* output.cc (Output_file::resize): Call map_no_anonymous rather
than map.

14 years agomerge from gcc
dj [Wed, 2 Sep 2009 16:08:35 +0000 (16:08 +0000)]
merge from gcc

14 years agogdb
tromey [Wed, 2 Sep 2009 14:53:52 +0000 (14:53 +0000)]
gdb
* frame.h (frame_unwinder_is): Declare.
* frame.c (frame_unwinder_is): New function.
* dwarf2loc.c: Include dwarf2-frame.h.
(dwarf_expr_frame_cfa): New function.
(dwarf2_evaluate_loc_desc): Use it.
(needs_frame_frame_cfa): New function.
(dwarf2_loc_desc_needs_frame): Use it.
* dwarf2expr.h (struct dwarf_expr_context) <get_frame_cfa>: New
field.
* dwarf2expr.c (execute_stack_op) <DW_OP_call_frame_cfa>: New
case.
* dwarf2-frame.h (dwarf2_frame_cfa): Declare.
* dwarf2-frame.c (no_get_frame_cfa): New function.
(execute_stack_op): Use it.
(dwarf2_frame_cfa): New function.
gdb/testsuite
* gdb.dwarf2/callframecfa.exp: New file.
* gdb.dwarf2/callframecfa.S: New file.

14 years ago2009-09-02 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 2 Sep 2009 14:14:49 +0000 (14:14 +0000)]
2009-09-02  Tristan Gingold  <gingold@adacore.com>

* configure.com: Do not copy makefile.vms-in to makefile.vms
* makefile.vms-in: Renamed to...
* makefile.vms: ... this usual name as it is not processed anymore.
Remove WRITE_DEBUG_OBJS (unused) and reorder object files for
objdump.exe.

14 years ago * binutils-all/bfin/unknown-mode.s: New test.
jiez [Wed, 2 Sep 2009 09:35:11 +0000 (09:35 +0000)]
* binutils-all/bfin/unknown-mode.s: New test.
* binutils-all/bfin/objdump.exp: New test.

14 years ago * config/bfin-parse.y (value_match): Use int instead of long.
jiez [Wed, 2 Sep 2009 08:57:38 +0000 (08:57 +0000)]
* config/bfin-parse.y (value_match): Use int instead of long.

From  Michael Frysinger  <michael.frysinger@analog.com>
* config/bfin-defs.h (Expr_Node_Value): Declare the i_value
member as long long.

14 years agoregenerate copyright update
amodra [Wed, 2 Sep 2009 08:10:55 +0000 (08:10 +0000)]
regenerate copyright update

14 years ago From Bernd Schmidt <bernd.schmidt@analog.com>
jiez [Wed, 2 Sep 2009 07:30:31 +0000 (07:30 +0000)]
From  Bernd Schmidt  <bernd.schmidt@analog.com>
* config/gas/bfin-parse.y (asm_1): Clean up and unify error handling
for load and store insns.
(neg_value): Delete function.

testsuite/
From  Bernd Schmidt  <bernd.schmidt@analog.com>
* gas/bfin/expected_errors.l, gas/bfin/expected_errors.s:
Check error messages for invalid load/store insns.

14 years agoupdate copyright dates
amodra [Wed, 2 Sep 2009 07:25:35 +0000 (07:25 +0000)]
update copyright dates

14 years agoupdate copyright dates
amodra [Wed, 2 Sep 2009 07:24:19 +0000 (07:24 +0000)]
update copyright dates

14 years agoupdate copyright dates
amodra [Wed, 2 Sep 2009 07:22:31 +0000 (07:22 +0000)]
update copyright dates

14 years agoupdate copyright dates
amodra [Wed, 2 Sep 2009 07:21:39 +0000 (07:21 +0000)]
update copyright dates

14 years agoupdate copyright dates
amodra [Wed, 2 Sep 2009 07:21:03 +0000 (07:21 +0000)]
update copyright dates

14 years agoupdate copyright dates
amodra [Wed, 2 Sep 2009 07:20:29 +0000 (07:20 +0000)]
update copyright dates

14 years agoupdate copyright dates
amodra [Wed, 2 Sep 2009 07:18:35 +0000 (07:18 +0000)]
update copyright dates

14 years ago2009-09-02 Paolo Bonzini <bonzini@gnu.org>
bonzini [Wed, 2 Sep 2009 07:05:01 +0000 (07:05 +0000)]
2009-09-02  Paolo Bonzini  <bonzini@gnu.org>

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

14 years agosplit changelog
amodra [Wed, 2 Sep 2009 04:47:29 +0000 (04:47 +0000)]
split changelog

14 years ago[cgen]
dj [Wed, 2 Sep 2009 02:10:35 +0000 (02:10 +0000)]
[cgen]
* 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.

14 years ago2009-09-02 Hui Zhu <teawater@gmail.com>
teawater [Wed, 2 Sep 2009 01:31:09 +0000 (01:31 +0000)]
2009-09-02  Hui Zhu  <teawater@gmail.com>

* record.c (record_resume): Change "signal" to "siggnal".

14 years ago*** empty log message ***
gdbadmin [Wed, 2 Sep 2009 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

14 years agodaily update
amodra [Wed, 2 Sep 2009 00:00:04 +0000 (00:00 +0000)]
daily update

14 years ago2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 1 Sep 2009 23:59:10 +0000 (23:59 +0000)]
2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>

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

14 years agoadd missing pr number
amodra [Tue, 1 Sep 2009 23:55:05 +0000 (23:55 +0000)]
add missing pr number

14 years ago2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 1 Sep 2009 23:17:45 +0000 (23:17 +0000)]
2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/att-regs.s: Remove a tab.

14 years ago2009-09-01 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 1 Sep 2009 21:27:47 +0000 (21:27 +0000)]
2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>

* elf64-x86-64.c (elf64_x86_64_finish_dynamic_symbol): Declare
plt earlier.

14 years agoFix VPATH search for generated sources in binutils, gas, ld.
rwild [Tue, 1 Sep 2009 20:56:51 +0000 (20:56 +0000)]
Fix VPATH search for generated sources in binutils, gas, ld.

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.

14 years agoAvoid multiple link time definitions of _printf() for C++
keithmarshall [Tue, 1 Sep 2009 20:41:55 +0000 (20:41 +0000)]
Avoid multiple link time definitions of _printf() for C++

14 years agoChange to "Copyright 2009".
hjl [Tue, 1 Sep 2009 19:30:23 +0000 (19:30 +0000)]
Change to "Copyright 2009".

14 years ago * gdb.texinfo (Caching Data of Remote Targets): Add note on
devans [Tue, 1 Sep 2009 18:48:57 +0000 (18:48 +0000)]
* gdb.texinfo (Caching Data of Remote Targets): Add note on
non-stop mode's affect on remote caching.

14 years ago * gold.cc: Include "incremental.h".
ian [Tue, 1 Sep 2009 17:32:34 +0000 (17:32 +0000)]
* gold.cc: Include "incremental.h".
(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.

14 years ago * output.cc (Output_file::open_for_modification): New method.
ian [Tue, 1 Sep 2009 17:32:20 +0000 (17:32 +0000)]
* output.cc (Output_file::open_for_modification): New method.
(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.

14 years ago Pmacro .equals -> .equal?
devans [Tue, 1 Sep 2009 16:31:26 +0000 (16:31 +0000)]
Pmacro .equals -> .equal?
* pmacros.scm (-pmacro-builtin-equal?): Renamed from
-pmacro-builtin-equals.  All callers updated.
(pmacros-init!): Rename .equals to .equal?.
* doc/pmacros.texi: Update.
* testsuite/pmacros-1.test: Update.

14 years agotext2html <> inside double-quotes workaround, v3
devans [Tue, 1 Sep 2009 16:17:52 +0000 (16:17 +0000)]
text2html <> inside double-quotes workaround, v3

14 years agotexi2html <> workaround, v2
devans [Tue, 1 Sep 2009 16:13:25 +0000 (16:13 +0000)]
texi2html <> workaround, v2

14 years ago * doc/porting.texi: Work around texi2html bug where it doesn't
devans [Tue, 1 Sep 2009 16:02:15 +0000 (16:02 +0000)]
* doc/porting.texi: Work around texi2html bug where it doesn't
properly escape <> inside double-quotes inside @code.

14 years ago * doc/porting.texi (Doing an opcodes port): Add step to specify
devans [Tue, 1 Sep 2009 15:47:55 +0000 (15:47 +0000)]
* doc/porting.texi (Doing an opcodes port): Add step to specify
the .opc file.

14 years agomerge from gcc
dj [Tue, 1 Sep 2009 14:27:37 +0000 (14:27 +0000)]
merge from gcc

14 years ago* select.cc (peek_console): Always check window size when there is ANY keyboard
cgf [Tue, 1 Sep 2009 14:25:10 +0000 (14:25 +0000)]
* select.cc (peek_console): Always check window size when there is ANY keyboard
activity.

14 years ago2009-09-01 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 1 Sep 2009 13:38:26 +0000 (13:38 +0000)]
2009-09-01  Tristan Gingold  <gingold@adacore.com>

* makefile.vms: Adjust include pathes.  Remove useless vaxctrl
library.
* configure.com: Ported to Itanium VMS.  Create build.com DCL script.
Make edit silent.

14 years ago2009-09-01 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 1 Sep 2009 13:37:00 +0000 (13:37 +0000)]
2009-09-01  Tristan Gingold  <gingold@adacore.com>

* makefile.vms: Adjust include pathes.  Remove useless vaxctrl
library.
* configure.com: Ported to Itanium VMS.  Create build.com DCL script.
Make edit silent.

14 years ago2009-09-01 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 1 Sep 2009 13:16:53 +0000 (13:16 +0000)]
2009-09-01  Tristan Gingold  <gingold@adacore.com>

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

14 years ago2009-09-01 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 1 Sep 2009 13:15:07 +0000 (13:15 +0000)]
2009-09-01  Tristan Gingold  <gingold@adacore.com>

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

14 years ago2009-09-01 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 1 Sep 2009 13:13:00 +0000 (13:13 +0000)]
2009-09-01  Tristan Gingold  <gingold@adacore.com>

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

14 years ago2009-09-01 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 1 Sep 2009 13:10:45 +0000 (13:10 +0000)]
2009-09-01  Tristan Gingold  <gingold@adacore.com>

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

14 years agogdb/testsuite/
jkratoch [Tue, 1 Sep 2009 12:06:55 +0000 (12:06 +0000)]
gdb/testsuite/
* gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
gdb.base/solib-overlap-main.c: New.

14 years ago2009-09-01 Hui Zhu <teawater@gmail.com>
teawater [Tue, 1 Sep 2009 11:41:40 +0000 (11:41 +0000)]
2009-09-01  Hui Zhu  <teawater@gmail.com>

* record.c (record_resume): Change "siggnal" to "signal".

14 years ago * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
jiez [Tue, 1 Sep 2009 07:21:41 +0000 (07:21 +0000)]
* config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
in comparison.

testsuite/
* gas/bfin/expected_comparison_errors.s: Add more cases.
* gas/bfin/expected_comparison_errors.l: Update accordingly.

14 years ago * config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
jiez [Tue, 1 Sep 2009 07:20:21 +0000 (07:20 +0000)]
* config/bfin-parse.y (asm_1): Only PREG and DREG are allowed
in comparison.

testsuite/
* gas/bfin/expected_comparison_errors.s: Add more cases.
* gas/bfin/expected_comparison_errors.l: Update accordingly.

14 years ago 2007-09-28 Bernd Schmidt <bernd.schmidt@analog.com>
jiez [Tue, 1 Sep 2009 05:56:29 +0000 (05:56 +0000)]
2007-09-28  Bernd Schmidt  <bernd.schmidt@analog.com>
* 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.

14 years ago2009-08-31 Hui Zhu <teawater@gmail.com>
teawater [Tue, 1 Sep 2009 03:32:49 +0000 (03:32 +0000)]
2009-08-31  Hui Zhu  <teawater@gmail.com>

* record.c (record_resume_siggnal): Deleted.
(record_resume): Ditto.
(record_wait): Change record_resume_siggnal to
TARGET_SIGNAL_0.

14 years ago * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,
jiez [Tue, 1 Sep 2009 02:54:10 +0000 (02:54 +0000)]
* scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,
_stack and __bss_start.
* emulparams/bfin.sh (ENTRY): Remove.

14 years ago * read.c (TC_START_LABEL): Add a new argument.
jiez [Tue, 1 Sep 2009 00:24:00 +0000 (00:24 +0000)]
* read.c (TC_START_LABEL): Add a new argument.
(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.

14 years agodaily update
amodra [Tue, 1 Sep 2009 00:00:08 +0000 (00:00 +0000)]
daily update

14 years ago*** empty log message ***
gdbadmin [Tue, 1 Sep 2009 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

14 years agomerge from gcc
dj [Mon, 31 Aug 2009 23:24:07 +0000 (23:24 +0000)]
merge from gcc

14 years ago2009-08-31 Takaki Makino <t@snowelm.com>
jjohnstn [Mon, 31 Aug 2009 22:12:40 +0000 (22:12 +0000)]
2009-08-31  Takaki Makino  <t@snowelm.com>

        * libm/machine/i386/f_pow.c(_f_pow): Alter ASM so it works with
        newer gcc versions.
        * libm/maachine/i386/f_powf.c(_f_powf): Ditto.

14 years ago Implement TARGET_OBJECT_STACK_MEMORY.
devans [Mon, 31 Aug 2009 20:18:45 +0000 (20:18 +0000)]
Implement TARGET_OBJECT_STACK_MEMORY.
* 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'.

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

PR gas/10570
* write.c (write_object_file): Revert the accidental change
made in revision 1.124 on 2009-08-17.

14 years ago * ltmain.sh (func_normal_abspath): New function.
davek [Mon, 31 Aug 2009 16:59:32 +0000 (16:59 +0000)]
* ltmain.sh (func_normal_abspath): New function.
(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.

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