]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: make 2nd argument of .dcb.* consistently optional
authorJan Beulich <jbeulich@suse.com>
Wed, 11 Aug 2021 06:34:18 +0000 (08:34 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 11 Aug 2021 06:34:18 +0000 (08:34 +0200)
commitbcd17d4f518dcd9ffa8b2217f3e215df331bfb1b
tree72635b13727200fefa81f0e6a89a8cd992915444
parentde133cf98cdf4cb3d1461ef10c83ce72df7399c7
gas: make 2nd argument of .dcb.* consistently optional

Unlike the forms consuming/producing integer data, the floating point
ones so far required the 2nd argument to be present, contrary to
documentation. To avoid code duplication, split float_length() out of
hex_float() (taking the opportunity to adjust error message wording).
gas/read.c
gas/testsuite/gas/all/float.s