Stop the assembler from running out of memory when asked to generate a huge number...
authorNick Clifton <nickc@redhat.com>
Tue, 6 Dec 2016 15:31:14 +0000 (15:31 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 6 Dec 2016 15:31:14 +0000 (15:31 +0000)
commit005304aae36522a90bbe169faea36db559d0f3d6
tree5502c5133c6bc2c8fc5dff3fec81fa0cf4741f2c
parent7c2ba67e6ab10879968c938aefd4d0d0b4ce79bc
Stop the assembler from running out of memory when asked to generate a huge number of spaces.

PR gas/20901
* read.c (s_space): Place an upper limit on the number of spaces
generated.
gas/ChangeLog
gas/read.c