forked from Imagelibrary/binutils-gdb
* cgen-ibld.in (extract_normal): Avoid memory range errors.
* m32c-ibld.c: Regenerated.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2006-01-03 DJ Delorie <dj@redhat.com>
|
||||||
|
|
||||||
|
* cgen-ibld.in (extract_normal): Avoid memory range errors.
|
||||||
|
* m32c-ibld.c: Regenerated.
|
||||||
|
|
||||||
2005-12-27 Alan Modra <amodra@bigpond.net.au>
|
2005-12-27 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* Makefile.am: Run "make dep-am".
|
* Makefile.am: Run "make dep-am".
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
THIS FILE IS MACHINE GENERATED WITH CGEN: Cpu tools GENerator.
|
THIS FILE IS MACHINE GENERATED WITH CGEN: Cpu tools GENerator.
|
||||||
- the resultant file is machine generated, cgen-ibld.in isn't
|
- the resultant file is machine generated, cgen-ibld.in isn't
|
||||||
|
|
||||||
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2005
|
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2005, 2006
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of the GNU Binutils and GDB, the GNU debugger.
|
This file is part of the GNU Binutils and GDB, the GNU debugger.
|
||||||
@@ -440,9 +440,8 @@ extract_normal (CGEN_CPU_DESC cd,
|
|||||||
word_length may be too big. */
|
word_length may be too big. */
|
||||||
if (cd->min_insn_bitsize < cd->base_insn_bitsize)
|
if (cd->min_insn_bitsize < cd->base_insn_bitsize)
|
||||||
{
|
{
|
||||||
if (word_offset == 0
|
if (word_offset + word_length > total_length)
|
||||||
&& word_length > total_length)
|
word_length = total_length - word_offset;
|
||||||
word_length = total_length;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Does the value reside in INSN_VALUE, and at the right alignment? */
|
/* Does the value reside in INSN_VALUE, and at the right alignment? */
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
THIS FILE IS MACHINE GENERATED WITH CGEN: Cpu tools GENerator.
|
THIS FILE IS MACHINE GENERATED WITH CGEN: Cpu tools GENerator.
|
||||||
- the resultant file is machine generated, cgen-ibld.in isn't
|
- the resultant file is machine generated, cgen-ibld.in isn't
|
||||||
|
|
||||||
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2005
|
Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2005, 2006
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of the GNU Binutils and GDB, the GNU debugger.
|
This file is part of the GNU Binutils and GDB, the GNU debugger.
|
||||||
@@ -440,9 +440,8 @@ extract_normal (CGEN_CPU_DESC cd,
|
|||||||
word_length may be too big. */
|
word_length may be too big. */
|
||||||
if (cd->min_insn_bitsize < cd->base_insn_bitsize)
|
if (cd->min_insn_bitsize < cd->base_insn_bitsize)
|
||||||
{
|
{
|
||||||
if (word_offset == 0
|
if (word_offset + word_length > total_length)
|
||||||
&& word_length > total_length)
|
word_length = total_length - word_offset;
|
||||||
word_length = total_length;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Does the value reside in INSN_VALUE, and at the right alignment? */
|
/* Does the value reside in INSN_VALUE, and at the right alignment? */
|
||||||
|
|||||||
Reference in New Issue
Block a user