diff options
author | Nick Clifton <nickc@redhat.com> | 2001-06-12 08:27:53 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-06-12 08:27:53 +0000 |
commit | 3971ce954fddbcb8154267ebc18a34c5967ff17b (patch) | |
tree | c7c435a368529e728789f575d2c6578e502597ec /gas/config/tc-arm.c | |
parent | de8b1efeaa85bd0fb32317787a709811b7ca60f6 (diff) | |
download | gdb-3971ce954fddbcb8154267ebc18a34c5967ff17b.zip gdb-3971ce954fddbcb8154267ebc18a34c5967ff17b.tar.gz gdb-3971ce954fddbcb8154267ebc18a34c5967ff17b.tar.bz2 |
fix test for overlflow of literal pool
Diffstat (limited to 'gas/config/tc-arm.c')
-rw-r--r-- | gas/config/tc-arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |