From: Alan Modra Date: Wed, 26 Jun 2024 08:16:48 +0000 (+0930) Subject: tweak latest vms-alpha.c change X-Git-Tag: binutils-2_43~237 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=01a8854406356b6ecfed3a81028d9d552bf18905;p=thirdparty%2Fbinutils-gdb.git tweak latest vms-alpha.c change It's that tiny bit nicer to have the "len" expression in order of the components in the buffer. --- diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c index a53ccdf4eb9..6eea61df08a 100644 --- a/bfd/vms-alpha.c +++ b/bfd/vms-alpha.c @@ -7733,7 +7733,7 @@ evax_bfd_print_dst (struct bfd *abfd, unsigned int dst_size, FILE *file) evax_bfd_print_valspec (buf, len, 4, file); - len -= 1 + nlen + sizeof (*recbeg); + len -= sizeof (*recbeg) + 1 + nlen; if (len >= 4) fprintf (file, _(" len: %u bits\n"), (unsigned) bfd_getl32 (name + 1 + nlen));