From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 0E5DC3858D1E for ; Tue, 14 Feb 2023 16:20:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0E5DC3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1676391620; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5zqHSBeEuULCO4PX6qp9YA0MMLj2pE37nc9kbFWBecg=; b=fJcaPHS2k4Fubl9SqeMq50AkNy7TlsAecP7Y2kfndJ03gQVbrtVhChd/bPoafqSP8AeySY mncTRtfGh/RmTkYi9FwKMPQUq8b7wMaa7ysc8e2R9mUMXrEay+9rLAZWejdHg8MhJvJg+X 3GcJ7fSw42u9iA+XgE2Lbn7l5yD0/dc= Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-377-eWK9c0lPN6KKHfFauE9W3g-1; Tue, 14 Feb 2023 11:20:18 -0500 X-MC-Unique: eWK9c0lPN6KKHfFauE9W3g-1 Received: by mail-qk1-f199.google.com with SMTP id o24-20020a05620a22d800b007389d2f57f3so9795446qki.21 for ; Tue, 14 Feb 2023 08:20:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:subject:from:references:to :content-language:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=5zqHSBeEuULCO4PX6qp9YA0MMLj2pE37nc9kbFWBecg=; b=Ig/DK8+TTpR3GdOctt4vHOmZwHyqK5Y1rBeMUMGvtLm7/D2MVzfUf1Z4DyK6MbS2GH a6dajJgrkx8C7VUFGI1MhL5LV3h1H7F7wDj4+vpVVogNXoqqzUJ/g/G0E+oV0RmGZDAR +/SddMlGr/PVVaUwTl1t9lTD1LdO7HBO2f1BuxLc2KEE+ygnYAcAxr0AKipzHz7gCWpQ CdYZ+O6RdlQwLJ3ED+kSh+4cxFSOlkJeVyNduJunGCmdBT+al6Vf/RPSWX7A3h0TAHj3 z/lLbvdAYwN7vWsII7eWTN4ITCUqatPiacXhAo+g0j5AEio2nitd+Crh+BJv8KXH0o+Z dTCQ== X-Gm-Message-State: AO0yUKVcGQI3hK67GsO0zUKtFhR2IF6rlkc8bLquwaOf5IpR3wU5/JW4 HyaWUE3iefaRuw7ATNHUnC2Fb1SZFsW543Xv/tEl2NOwdT1Uj2rRVEf3JjPmDtwOjvqdX4As1fq HBpEfz2Bb9aWQpo/GtubLsqU= X-Received: by 2002:a05:622a:54f:b0:3bb:7eaf:c10a with SMTP id m15-20020a05622a054f00b003bb7eafc10amr4682744qtx.65.1676391615620; Tue, 14 Feb 2023 08:20:15 -0800 (PST) X-Google-Smtp-Source: AK7set+O/Nsj7iTAgrN4RaQV9j41mXxvR1ONyWbfQ/2Ij5k96TlF9lgNnhio1dgTBuug5xco6IoZfA== X-Received: by 2002:a05:622a:54f:b0:3bb:7eaf:c10a with SMTP id m15-20020a05622a054f00b003bb7eafc10amr4682711qtx.65.1676391615344; Tue, 14 Feb 2023 08:20:15 -0800 (PST) Received: from [192.168.1.18] ([79.123.83.169]) by smtp.gmail.com with ESMTPSA id p6-20020ac84086000000b003b9a573aec6sm11482956qtl.70.2023.02.14.08.20.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Feb 2023 08:20:14 -0800 (PST) Message-ID: <9e5e4394-1421-e1ba-910e-b02b3c22808e@redhat.com> Date: Tue, 14 Feb 2023 16:20:13 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 To: Ulf Samuelsson , binutils@sourceware.org References: <20230213162009.15515-1-binutils@emagii.com> <235dfe58-9c1e-8b2d-9f9b-1a3d12e4ab52@redhat.com> From: Nick Clifton Subject: Re: [PATCH v4 0/6] ASCIZ Command for output section In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-GB Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,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: Hi Ulf, > 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. Ah - you know that I mentioned that I had tidied up the code a little bit ? Well the other area I tidied was the lang_add_string function. I simplified it, removed the redundant size checking code and string padding code, and changed the stacked if-statements into a simpler switch-statement... So currently there are no messages that need translation, > There are no translations for the string at the moment. > Will the linker output the English string, or what? If a translation for a specific string is not available then it will just be displayed as-is. So in this case the English version will be used. >    What is the procedure to get a translation? The hard way: Create a new ld/po/ld.pot file and send it to the Translation Project with a request for new translations: https://translationproject.org/html/maintainers.html The easy way: Wait for the next official release of the binutils. As part of the process for creating a release I take care of asking the Translation Project to update the translation files. Note - this does not mean that new translations will be created for all supported languages. The translation project runs on a volunteer basis and it is up the the volunteers to find time to create new translations and/or update old translations. >    I can provide a Swedish translation at the least. If you would like to volunteer some time to the Translation Project I am sure that they would love to hear from you. Cheers Nick