]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Excessive gas .irpt count
authorAlan Modra <amodra@gmail.com>
Thu, 9 Jan 2025 04:37:49 +0000 (15:07 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 9 Jan 2025 04:53:21 +0000 (15:23 +1030)
commite0a07d7fc564d91ed24d916dc7125d7159388580
tree5110658ce1bd8a778834ab20bed8e17f12a4719c
parent87199294875e0e9cb484038f89a16417d0cd2081
Excessive gas .irpt count

There is a test in do_repeat to error on "negative" repeat counts.
Just at what value a ssize_t is negative of course depends on the
host.  Change the excessive repeat count to a fixed value, 0x80000000,
ie. what would be seen as negative on a 32-bit host.
gas/read.c
gas/testsuite/gas/macros/end.l