From: Nick Clifton Date: Tue, 12 Jun 2001 08:27:53 +0000 (+0000) Subject: fix test for overlflow of literal pool X-Git-Tag: dberlin-typesystem-branchpoint~269 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3971ce954fddbcb8154267ebc18a34c5967ff17b;p=external%2Fbinutils.git fix test for overlflow of literal pool --- diff --git a/gas/ChangeLog b/gas/ChangeLog index a110b2a..e5db5e1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2001-06-12 Nick Clifton + + * config/tc-arm.c: Fix test for overlow of literal pool. + 2001-06-11 H.J. Lu * NEWS: Updated for the new -n option for the MIPS assembler. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index b394faa..fa5c85a 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -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;