Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2942181yba; Mon, 8 Apr 2019 07:55:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqwO6ptsgNV2bAi3C1ExWb9qdk93EnMSegn51HVribb1ApHmB0YdJo9WzYNLy+lQ9zgjdZnh X-Received: by 2002:a62:1193:: with SMTP id 19mr29704837pfr.82.1554735353897; Mon, 08 Apr 2019 07:55:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554735353; cv=none; d=google.com; s=arc-20160816; b=rac6S+MDPZEIU1PLk1RjwHCM/2T36KXycLlv9hVuU7vaNocM738nxrGi4HMI27irs7 7nYl0MUR2tC4UQiKDJ4fwwo0WzYamgNKJ00c49+tVZysKSHFU1536uQHl24ySEmQIM6P H3btXo05Iy7t0gnLPcv0tMBGOCTUfQFNJtJ4GdkQ4ZtOGovBIPA/nZwl8j/LB+kaaNxa M4eT2aBRglsMF9SIVzq6KDXYDdb58MuSO9FoOp9+pL5xDiUbPOO6nRnCU/9JxySPYRXd PTaeSNkW+b8QoNVQNL+uI/z1EPAFZ3+euA10rdlFarDhdI95oKd08PebeGUme7sxHGPZ raOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=wzdn+ptR0ieEWBXjWJdMAPJi+i3Hc0FPqug3WgZ72SY=; b=F2vjMrAu2OYuCMqvSkHpaRCGP05oqibdIdk3PrvqqjCnswbLhrSM3YhsVx4XNctPBs R7W7pncD3sEhOw5Vw07UdCUwrY6Kf6BtIG0Ltlqw+WKDbrmxzk3FpClmoYr1xdBf3MIY MSNpGpZ7HGENJFa7b58oV42EXFJwksRisNUeSQKOAWPr4cBvNhJjFuC9c0P0YgnLoER5 ReICEulqYj8UZSH6S59/f8bIcRZMkoNeKpytzUNWE/pZjxJYBxFw2jWbbio1vM0odZ9D UbBaMCvigqt073nZyZMRHm8WXVJxrU4mqtKpyHgunCEaG5W3/wdSssuX/JDANdGoFc31 3Wvg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d130si26355081pgc.197.2019.04.08.07.55.38; Mon, 08 Apr 2019 07:55:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726938AbfDHN6a (ORCPT + 99 others); Mon, 8 Apr 2019 09:58:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42026 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726383AbfDHN6a (ORCPT ); Mon, 8 Apr 2019 09:58:30 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 71ACE307D976; Mon, 8 Apr 2019 13:58:30 +0000 (UTC) Received: from [10.43.17.46] (unknown [10.43.17.46]) by smtp.corp.redhat.com (Postfix) with ESMTP id BE46B60BE5; Mon, 8 Apr 2019 13:58:29 +0000 (UTC) Subject: Re: CBL issue #431: lld: x86_64: sysfs: cannot create duplicate filename $module/.rodata.cst{16,32} From: Denys Vlasenko To: sedat.dilek@gmail.com Cc: linux-kernel@vger.kernel.org, x86@kernel.org References: Message-ID: <99dde862-6aee-65a0-8b39-33b8ac10df45@redhat.com> Date: Mon, 8 Apr 2019 15:58:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Mon, 08 Apr 2019 13:58:30 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/8/19 3:56 PM, Denys Vlasenko wrote: > I propose to change section name, append _module_ name and optionally > a comment why this is done: > >  /* NB: section is mergeable, all elements must be aligned 16-byte blocks */ > +/* There is more than one object in this section, let's use module name > +   as unique suffix */ Probably not clear enough... maybe this is better: +/* There is more than one object in this section, let's use module name + instead of object name as unique suffix */ -.section        .rodata.cst16, "aM", @progbits, 16 and do not use '-' in the name, replace with '_': +.section        .rodata.cst16.cast6_avx_x86_64_asm_64, "aM", @progbits, 16