From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from emagii.se (www.emagii.com [185.133.207.17]) by sourceware.org (Postfix) with ESMTPS id ECB993858D33 for ; Thu, 16 Feb 2023 08:29:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ECB993858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=emagii.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=emagii.com Received: from [10.175.196.145] (84-55-68-216.customers.ownit.se [84.55.68.216]) by emagii.se (Postfix) with ESMTPSA id 648B71201D3 for ; Thu, 16 Feb 2023 09:29:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emagii.com; s=default; t=1676536180; bh=mdaXuWcv2k1zlYaSRNoAD7UleV9t+4p5pPK/7a348LY=; h=Subject:To:From; b=dLXN/J4wQwNpi7q20YcHaKuQ9hxu/H1Ua0BJQvE+RZ+XQtcPKbZI7VV904lg+Th2f haTN1B+EmxnlSMF3Nz854Pk0w4YrL+jIOe07bfdDTsrQacWOOxBHVstI03sD9Vq8A9 xNAhamb8M6Q6qREQvgfhZT214SxwXO5ldVD9KJ1s= Authentication-Results: emagii.beebytevps.io; spf=pass (sender IP is 84.55.68.216) smtp.mailfrom=binutils@emagii.com smtp.helo=[10.175.196.145] Received-SPF: pass (emagii.beebytevps.io: connection is authenticated) Message-ID: <1cb8b9b6-8e05-8dee-782b-3e1802d9777a@emagii.com> Date: Thu, 16 Feb 2023 09:29:40 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: Paired Nested Macroses Support Content-Language: sv-FI To: binutils@sourceware.org References: From: Ulf Samuelsson In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-PPP-Message-ID: <167653618066.3879422.4243406484603639910@localhost.localdomain> X-PPP-Vhost: emagii.com X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_FAIL,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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.