public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Jan Beulich <jbeulich@suse.com>
To: dvalin@internode.on.net
Cc: binutils@sourceware.org
Subject: Re: [PATCH 1/3] gas: sanitize FB- and dollar-label uses
Date: Mon, 25 Mar 2024 07:55:22 +0100	[thread overview]
Message-ID: <c46b1e05-c6ff-4fa0-a257-95ff859d4227@suse.com> (raw)
In-Reply-To: <93b9be78-3689-4d4f-b7dc-f8f9ba389ccd@localhost>

On 23.03.2024 06:11, dvalin@internode.on.net wrote:
> On 22.03.24 10:40, Jan Beulich wrote:
> 
>> I don't view it as sensible to be more lax when it comes to references
> 
>> to (uses of) such labels compared to their definition: The latter has
> 
>> been limited to decimal numerics, while the former permitted any radix.
> 
>> Beyond that leading zeroes on such labels aren't helpful either. Imo
> 
>> labels and their use sites would better match literally, to avoid
> 
>> confusion.
> 
> For the last several decades, my code has used only decimal labels, but
> 
> it does use zero as the full label. So it would be handy if leading zero suppression did not clobber the case of:
> 
> 0:

And of course it doesn't. 0: is used all over the place. Including (in its
$-label counterpart) in the one testcase I ended up in need of modifying.

Jan

  reply	other threads:[~2024-03-25  6:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-23  5:11 dvalin
2024-03-25  6:55 ` Jan Beulich [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-22  9:37 [PATCH 0/3] gas: FB and dollar labels Jan Beulich
2024-03-22  9:40 ` [PATCH 1/3] gas: sanitize FB- and dollar-label uses Jan Beulich
2024-03-26  9:58   ` Nick Clifton
2024-03-26 10:08     ` Jan Beulich
2024-03-26 11:15       ` Nick Clifton

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=c46b1e05-c6ff-4fa0-a257-95ff859d4227@suse.com \
    --to=jbeulich@suse.com \
    --cc=binutils@sourceware.org \
    --cc=dvalin@internode.on.net \
    /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).