mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 12:33:36 +08:00
fix test for overlflow of literal pool
This commit is contained in:
parent
de8b1efeaa
commit
3971ce954f
@ -1,3 +1,7 @@
|
||||
2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
|
||||
|
||||
* config/tc-arm.c: Fix test for overlow of literal pool.
|
||||
|
||||
2001-06-11 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
* NEWS: Updated for the new -n option for the MIPS assembler.
|
||||
|
@ -1295,7 +1295,7 @@ add_to_lit_pool ()
|
||||
|
||||
if (lit_count == next_literal_pool_place) /* New entry. */
|
||||
{
|
||||
if (next_literal_pool_place > MAX_LITERAL_POOL_SIZE)
|
||||
if (next_literal_pool_place >= MAX_LITERAL_POOL_SIZE)
|
||||
{
|
||||
inst.error = _("Literal Pool Overflow");
|
||||
return FAIL;
|
||||
|
Loading…
Reference in New Issue
Block a user