public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ulf Samuelsson <binutils@emagii.com>
To: binutils@sourceware.org
Subject: Re: Paired Nested Macroses Support
Date: Thu, 16 Feb 2023 09:29:40 +0100	[thread overview]
Message-ID: <1cb8b9b6-8e05-8dee-782b-3e1802d9777a@emagii.com> (raw)
In-Reply-To: <CAEk2QZNYwQeknpX0nLmKqxjhgEM_kZVCPX9BZhvuayNo-SVe8g@mail.gmail.com>


Den 2023-02-16 kl. 00:37, skrev Dmytro Tarasiuk via Binutils:
> Good day!
>
> Writing paired nested macros is not possible in the gas macro assembler.
> For example, BEGIN/WHILE macros for loops, etc.  This is important to me
> for writing portable pseudocode between different architectures that
> supports gas.  I have implemented this extension since version 2.35.1
> binutils and have to manually migrate it with each new stable release.
> There are very few changes.  How can they be included into main code? Is it
> really?

I had a similar problem myself so I started to subscribe
to the mailing list a week ago,
I explained in an "[RFC]" mail what I wanted to do with the linker.
Provided the first patchset, got some comments and reworked
the patch as well as adding to the "NEWS" file, the ld.texi for
documentation and finally added a testsuite for my new ASCIZ feature.
Nick Clifton made some small modifications and then pushed
the patch to the master branch so one week later it is part of binutils.

Working on my second patch at the moment.

Best Regards
Ulf Samuelsson

> Regards.

      parent reply	other threads:[~2023-02-16  8:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-15 23:37 Dmytro Tarasiuk
2023-02-16  8:04 ` Jan Beulich
     [not found]   ` <CAEk2QZN7aQ26PANUY-ua3sBuGZhPL9fA9Q=k4V3mAsV2R+heGA@mail.gmail.com>
2023-02-16 16:31     ` Jan Beulich
     [not found]       ` <CAEk2QZPYg+Q=EXAcR98AUHsGOT8c4GSFpPndjsB+ZC7ukzkG0g@mail.gmail.com>
2023-02-17  8:01         ` Jan Beulich
2023-02-16  8:29 ` Ulf Samuelsson [this message]

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=1cb8b9b6-8e05-8dee-782b-3e1802d9777a@emagii.com \
    --to=binutils@emagii.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).