fix test for overlflow of literal pool
authorNick Clifton <nickc@redhat.com>
Tue, 12 Jun 2001 08:27:53 +0000 (08:27 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 12 Jun 2001 08:27:53 +0000 (08:27 +0000)
gas/ChangeLog
gas/config/tc-arm.c

index a110b2a5414f01d2360ed5550812e726d31d9ef6..e5db5e12e875991ef5cf9800a42f8be855c9c619 100644 (file)
@@ -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.
index b394faaa866a78a1e1108d7588543f25acafd9d4..fa5c85a4e96e080ec32e30ef383476e20cbbe9e3 100644 (file)
@@ -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;