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 B40BC3858C30 for ; Tue, 14 Feb 2023 16:07:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B40BC3858C30 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 886D4120145; Tue, 14 Feb 2023 17:07:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emagii.com; s=default; t=1676390840; bh=8bacaQtQ4X4Vxr/A6zmTdvMaFJMAS2aWV6t7E5ZHQJs=; h=Subject:To:From; b=0XaRHKkZms0IwyB7Ypv6Kow5Dpzkxf7GUsAMF8b5ruanRVikFgYk3zNLDLQgmkJa6 M6bh+CAFUOnH3SeoyPC2n71mirBsXb8iaKeO0WvbKsPypOFeAgqzsb6MnEgjIXvTsn 88j225rSJ4P8/1o1bFw+YMY1CoVTiaB+64AQkBPg= 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: Date: Tue, 14 Feb 2023 17:07:20 +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: [PATCH v4 0/6] ASCIZ Command for output section Content-Language: sv-FI To: Nick Clifton , binutils@sourceware.org References: <20230213162009.15515-1-binutils@emagii.com> <235dfe58-9c1e-8b2d-9f9b-1a3d12e4ab52@redhat.com> From: Ulf Samuelsson In-Reply-To: <235dfe58-9c1e-8b2d-9f9b-1a3d12e4ab52@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-PPP-Message-ID: <167639084082.3793642.1911026176636283709@localhost.localdomain> X-PPP-Vhost: emagii.com X-Spam-Status: No, score=-5.9 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: Thank You. I will start to try to implement the "ASCII" command as well. ASCII , I had some problems with getting syntax errors on this so I think I will send in a preliminary patchset and see if anyone can spot an obvious error. One question:    The lang_add_string contains an error message if the string does not fit into the allocated area.    This will never get triggered by the ASCIZ command, since that will allocate the size of the string.    If you specify a size to the ASCII command and then provide a longer string it will trigger.    There are no translations for the string at the moment.    Will the linker output the English string, or what?    What is the procedure to get a translation?    I can provide a Swedish translation at the least. Best Regards Ulf Samuelsson Den 2023-02-14 kl. 11:16, skrev Nick Clifton: > Hi Ulf, > >> Introduce an ASCIZ command for an output section >> When generating a header for an embedded system >> there is often a need to add text information. > > Thanks for contributing this patch series.  I have applied > the patches with a few minor tweaks - mostly to the new > test case so that it did not cause new failures on targets > which pad code to an alignment greater than 4 bytes. > > Cheers >   Nick > >