From: Hans-Peter Nilsson <hp@bitrange.com>
To: Jan Beulich <JBeulich@novell.com>
Cc: binutils@sources.redhat.com
Subject: Re: [PATCH] Re: .macro behavior
Date: Mon, 28 Feb 2005 17:14:00 -0000 [thread overview]
Message-ID: <Pine.BSF.4.58.0502280933151.1606@dair.pair.com> (raw)
In-Reply-To: <s222dda9.071@emea1-mh.id2.novell.com>
On Mon, 28 Feb 2005, Jan Beulich wrote:
> This is a resubmission of the patch at
> http://sourceware.org/ml/binutils/2005-02/msg00120.html to address the
> inconsistent acceptance of identifiers between the macro handling code
> and
> the rest of the assembler, including the unability to use a macro the
> name
> of which starts with a dot.
> Over the previously submitted revisions, this has just cosmetic
> changes
> (NEWS entry, change to MMIX testcase removed again based on that
> target's
> maintainer's request) and thus I did not re-build or re-run the tests.
> +++ 2005-02-28/gas/NEWS 2005-02-28 09:52:47.000000000 +0100
> @@ -1,5 +1,11 @@
> -*- text -*-
>
> +* Macro names and macro parameter names can now be any identifier that
> would
> + also be legal as a symbol elsewhere. For macro parameter names, this
> is
> + known to cause problems in certain sources when the respective
> target uses
> + characters inconsistently (like MMIX's use of ':'), and thus macro
> + parameter references are no longer recognized as such.
> +
No, thanks, I don't like MMIX being accused of being
"inconsistent" like that. It *is* consistent - all trailing
":"s are chopped off. I think I now remember why; it's not
really related to ":" as separating namespaces, but the main
reason is so I could run the binutils test-suite! Most tests
"unportably" assumes that ":" is a label delimiter and not part
of the label. Maybe I should insiste that tests be rewritten
and labels there be defined as "label .set ." :-)
And I still think there's greater benefit from keeping the
syntax of macro *parameter names* the same as today, something
like "[A-Za-z_][A-Za-z0-9_]+" and not dependent on the target
symbol character set. (Heh, saying :alpha: and :alnum: would
imply it's locale-dependent. I don't think we want *that*! ;-)
brgds, H-P
next prev parent reply other threads:[~2005-02-28 14:54 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-28 13:37 Jan Beulich
2005-02-28 17:14 ` Hans-Peter Nilsson [this message]
[not found] ` <20050228222944.GF5299@bubble.modra.org>
2005-03-01 6:27 ` Hans-Peter Nilsson
2005-03-01 6:45 ` Hans-Peter Nilsson
2005-03-01 7:07 ` Alan Modra
-- strict thread matches above, loose matches on Subject: below --
2005-04-11 12:48 Jan Beulich
2005-03-29 16:26 Jan Beulich
2005-04-01 14:30 ` Nick Clifton
[not found] <s225d5fa.098@emea1-mh.id2.novell.com>
2005-03-02 15:20 ` Ian Lance Taylor
2005-03-02 15:04 Jan Beulich
2005-03-02 8:28 Jan Beulich
2005-03-02 14:42 ` Ian Lance Taylor
2005-02-28 19:22 Jan Beulich
2005-02-28 23:47 ` Hans-Peter Nilsson
2005-02-09 14:32 Jan Beulich
2005-02-09 15:03 ` Hans-Peter Nilsson
[not found] <s209d602.092@emea1-mh.id2.novell.com>
2005-02-09 14:14 ` Hans-Peter Nilsson
[not found] <s209c6d8.000@emea1-mh.id2.novell.com>
2005-02-09 14:11 ` Hans-Peter Nilsson
2005-02-09 14:06 Jan Beulich
[not found] <s209c8b9.060@emea1-mh.id2.novell.com>
2005-02-09 11:42 ` Hans-Peter Nilsson
2005-02-09 11:32 Jan Beulich
2005-02-09 10:28 Jan Beulich
2005-02-08 20:55 Jan Beulich
2005-02-08 23:05 ` Hans-Peter Nilsson
2005-02-08 23:58 ` Hans-Peter Nilsson
2005-02-08 17:52 Jan Beulich
2005-02-08 20:22 ` Hans-Peter Nilsson
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=Pine.BSF.4.58.0502280933151.1606@dair.pair.com \
--to=hp@bitrange.com \
--cc=JBeulich@novell.com \
--cc=binutils@sources.redhat.com \
/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).