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 7D61A3857349 for ; Fri, 9 Sep 2022 10:35:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7D61A3857349 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=1662719755; 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=CYgO4qMiOqesfQU+LVWvhWoezvYpL5DIRNka4VF4i0c=; b=BTQIU+zHYz2m4D3UahPLHhyz7Dk2btg8rMQajSUG/O1Tg1HvxQCD6+JJT8STmwBIlN92EZ O/NSrhcpP4x3HxQQaGZlroGdRWn1M2c1FwDDj56wMWrd8ezu1hLAo7xlYD4R8P/IGDMjvh MOeEkXdnLw+AnTIbcrj1wcqr0eaFVfk= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-347-6IBMuzFONjG4J6GXJ9UUfg-1; Fri, 09 Sep 2022 06:35:54 -0400 X-MC-Unique: 6IBMuzFONjG4J6GXJ9UUfg-1 Received: by mail-wm1-f70.google.com with SMTP id r128-20020a1c4486000000b003b3f017f259so657380wma.3 for ; Fri, 09 Sep 2022 03:35:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=CYgO4qMiOqesfQU+LVWvhWoezvYpL5DIRNka4VF4i0c=; b=L7OpUxS2l5l0FQPeizSzWJw3dUzQln3RTlD3+NNPhBsGPaMSFIj/iJMR+GjwGliaeZ F7CEHVJqqFl9ONnJSQ+YSmts16LcTbeFTC+wZEHpxnNz+GIQYNVE5PEgCrNdNBPQDR9C cJBG7QJRw3KP3M6L3xJfB2Mm0UMdgg6cBtyLOPvKiPfUCJ3cJZUA2m6PopWrB+xzRdqc BKBUwXN5Lio5Oz8rZtRMNVGbz8xW28edot0RSy7B+0Y0NUosymuE4G99nB9/FQWJ1lB5 z4aXMKYeYtFDa97POerLLUcbnTpAN4DzovAthhdPiRDiAcmISWF1TcA9cQv8dqcyvHs2 5bQA== X-Gm-Message-State: ACgBeo3aszyQ7w+RpLrPY3WaVCBKoitaQc1AaTIn94/quU0NeKT6TGi9 l0MQgJHfTWpFVBZ6F8HHLJF6fA0TJg0jb696EJlafZSpMuBq1bpc3mYX4muhWBsYk2ABc/cU/rD zsgdWogXd40tQwce2sg== X-Received: by 2002:a05:6000:184c:b0:223:2c8b:c43c with SMTP id c12-20020a056000184c00b002232c8bc43cmr7896691wri.16.1662719752895; Fri, 09 Sep 2022 03:35:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR6nfQrMu5L7DLf2ZPjJFFORgjAbh3Vp+DE0kAtJQcOunsbRiFcngoMWfroN5iTPzrGNhjsvdQ== X-Received: by 2002:a05:6000:184c:b0:223:2c8b:c43c with SMTP id c12-20020a056000184c00b002232c8bc43cmr7896685wri.16.1662719752676; Fri, 09 Sep 2022 03:35:52 -0700 (PDT) Received: from [192.168.1.6] (adsl-2-solo-172-253.claranet.co.uk. [80.168.172.253]) by smtp.gmail.com with ESMTPSA id s4-20020adfdb04000000b0021e42e7c7dbsm163684wri.83.2022.09.09.03.35.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 Sep 2022 03:35:52 -0700 (PDT) Message-ID: <5320b853-9c31-60a8-aeab-d87ed470ac39@redhat.com> Date: Fri, 9 Sep 2022 11:35:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: [PATCH v2 2/2] ld: pe: Apply review suggestions on the existing exports/imports arrays To: =?UTF-8?Q?Martin_Storsj=c3=b6?= , binutils@sourceware.org References: <20220906154447.1402361-1-martin@martin.st> <20220906154447.1402361-2-martin@martin.st> From: Nick Clifton In-Reply-To: <20220906154447.1402361-2-martin@martin.st> 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: 7bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE 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 Martin, > Use a separate explicit max_exports/imports field, instead of > deducing it from the number of allocated elements. Use a named > constant for the incremental growth of the array. Patch approved - please apply. Cheers Nick