]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: switch convert_to_bignum() to taking just an expression
authorJan Beulich <jbeulich@suse.com>
Fri, 13 Jun 2025 06:40:01 +0000 (08:40 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 13 Jun 2025 06:40:01 +0000 (08:40 +0200)
commit2e284502288b705d1878a0aac29720b6d6e15fb8
tree0bc37f0731191f3762320269a0285664b74af690
parent023b7811d644a8e3d60b802731a8987232ebb1a0
gas: switch convert_to_bignum() to taking just an expression

Both callers, despite spelling things differently, now pass the same
input for its 2nd parameter. Therefore, as was supposed to be the case
anyway, this 2nd parameter isn't needed anymore - the function can
calculate "sign" all by itself from the incoming expression. Instead
make the function return the resulting value, for emit_expr_with_reloc()
to consume for setting its "extra_digit" local variable.
gas/read.c