From: Alan Modra <amodra@gmail.com>
To: binutils@sourceware.org
Subject: Re: PR30715, VAX: md_create_long_jump
Date: Mon, 14 Aug 2023 21:30:21 +0930 [thread overview]
Message-ID: <ZNoXVTVG4yUNN2xf@squeak.grove.modra.org> (raw)
Tidy comment formatting.
diff --git a/gas/config/tc-vax.c b/gas/config/tc-vax.c
index d1a2998cdf5..8450bc11257 100644
--- a/gas/config/tc-vax.c
+++ b/gas/config/tc-vax.c
@@ -2185,10 +2185,10 @@ md_create_long_jump (char *ptr,
{
valueT offset;
- /* account for 1 byte instruction, 1 byte of address specifier and
- 4 bytes of offset from PC */
+ /* Account for 1 byte instruction, 1 byte of address specifier and
+ 4 bytes of offset from PC. */
offset = to_addr - (from_addr + 1 + 1 + 4);
- *ptr++ = VAX_JMP; /* long jump */
+ *ptr++ = VAX_JMP;
*ptr++ = VAX_PC_RELATIVE_MODE;
md_number_to_chars (ptr, offset, 4);
}
--
Alan Modra
Australia Development Lab, IBM
next reply other threads:[~2023-08-14 12:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-14 12:00 Alan Modra [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-08-12 10:31 Alan Modra
2023-08-12 18:55 ` Maciej W. Rozycki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZNoXVTVG4yUNN2xf@squeak.grove.modra.org \
--to=amodra@gmail.com \
--cc=binutils@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).