Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2932820yba; Mon, 8 Apr 2019 07:43:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqwrdBb/2ciNddAG3PA24h+6FdgaHir91MEF8bGqZVvA7WT3S1eOdbft7em+QJIh6obXncDL X-Received: by 2002:a17:902:b28b:: with SMTP id u11mr30139264plr.257.1554734607878; Mon, 08 Apr 2019 07:43:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554734607; cv=none; d=google.com; s=arc-20160816; b=0TdMpHuRFFluUZwHEuBS8q3budNkN6xIqXRZ5Req2rJ6QLX028WYO3yx88opPKlENP pYSntn7NpLykIQ35EN3rhRMkXkCBwuFTTVYMRdL0uE0kxZak8X6bmCeBBdRcK9J+JA6A +FgZ2qbcHEMsbmXstEuTXM0ud052lBRJG07uHgwfMgqDD/wGNDNaQBNe0qMOgo0jNE0h CRZ6gKrYRTsxYRS5yUBwfLtCq8ZwVB8Xls6D0GT2B2InVuDMgzUI0wWUHZE7ivg7pY1Z G0o3fN4cXP56qYFPcXGtYiVHJF6SNaOJ3C3/qhYBU+XkMW/j1dlACYCQq7n0doECxtiS xh8Q== 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:from:references:cc:to:subject; bh=aNtuGH5WufJWRb5gxSi92UBr6rO/Laq/ezt5XhlsxMk=; b=DW/lGqCXmNSeRdSw4HPPjNiK3h3esLkUIEnOSu5Q5yGF+KPgHaYj+H1AnUW4dIZelQ cDsihs+9fh/lyvM8J4Aa1HxBVnIO4Ru2E7WhXY6opxQQIji4FggYrZQPpefsV5Il4thC 9sCKVYOIAR4sx+BsRieTQbjEiV5dlfLIQkQFrp0djF1NU3uXi5td0oDlnH8ld0cNMgxO 0CnwJp/tBc0pXF7ydSCzwDVV2slCZuWkC0Lmdx/HiBv0pUriJ8jTmmx15v1BNBVAO1is nUJHdYY3lFRsFMyU4x9ITtKhgs5uFG92bHm4OcaNBXq4Yu5YFtcR5Kyv4NYbRLS9AclI 3oaQ== 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 124si21385995pgi.38.2019.04.08.07.43.11; Mon, 08 Apr 2019 07:43:27 -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 S1727321AbfDHOmT (ORCPT + 99 others); Mon, 8 Apr 2019 10:42:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54342 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726585AbfDHOmS (ORCPT ); Mon, 8 Apr 2019 10:42:18 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2A1A281243; Mon, 8 Apr 2019 14:42:18 +0000 (UTC) Received: from [10.43.17.46] (unknown [10.43.17.46]) by smtp.corp.redhat.com (Postfix) with ESMTP id 75B735C642; Mon, 8 Apr 2019 14:42:17 +0000 (UTC) Subject: Re: CBL issue #431: lld: x86_64: sysfs: cannot create duplicate filename $module/.rodata.cst{16,32} To: sedat.dilek@gmail.com Cc: linux-kernel@vger.kernel.org, x86@kernel.org References: <99dde862-6aee-65a0-8b39-33b8ac10df45@redhat.com> <863a33cf-0a1a-17af-0ea8-42e288f8a1fd@redhat.com> From: Denys Vlasenko Message-ID: <5c5c169d-3bad-9e34-8c56-bedca3e5ae08@redhat.com> Date: Mon, 8 Apr 2019 16:42:16 +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: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 08 Apr 2019 14:42:18 +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 4:34 PM, Sedat Dilek wrote: > v2: > > sdi@iniza:~/src/linux-kernel/linux$ git --no-pager diff > diff --git a/arch/x86/crypto/camellia-aesni-avx-asm_64.S > b/arch/x86/crypto/camellia-aesni-avx-asm_64.S > index a14af6eb09cb..712d6a7e8b8f 100644 > --- a/arch/x86/crypto/camellia-aesni-avx-asm_64.S > +++ b/arch/x86/crypto/camellia-aesni-avx-asm_64.S > @@ -573,8 +573,12 @@ > ENDPROC(roundsm16_x4_x5_x6_x7_x0_x1_x2_x3_y4_y5_y6_y7_y0_y1_y2_y3_ab) > vmovdqu y7, 15 * 16(rio); > > > -/* NB: section is mergeable, all elements must be aligned 16-byte blocks */ > -.section .rodata.cst16, "aM", @progbits, 16 > +/* > + * 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 > + * instead of object name as unique suffix > + */ > +.section .rodata.cst16.camellia_aesni_avx_asm_64, "aM", @progbits, 16 > .align 16 > > #define SHUFB_BYTES(idx) \ > diff --git a/arch/x86/crypto/camellia-aesni-avx2-asm_64.S > b/arch/x86/crypto/camellia-aesni-avx2-asm_64.S > index b66bbfa62f50..34f6b0c4196d 100644 > --- a/arch/x86/crypto/camellia-aesni-avx2-asm_64.S > +++ b/arch/x86/crypto/camellia-aesni-avx2-asm_64.S > @@ -626,8 +626,12 @@ > ENDPROC(roundsm32_x4_x5_x6_x7_x0_x1_x2_x3_y4_y5_y6_y7_y0_y1_y2_y3_ab) > .long 0x00010203, 0x04050607, 0x80808080, 0x80808080 > .long 0x00010203, 0x04050607, 0x80808080, 0x80808080 > > -/* NB: section is mergeable, all elements must be aligned 16-byte blocks */ > -.section .rodata.cst16, "aM", @progbits, 16 > +/* > + * 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 > + * instead of object name as unique suffix > +*/ > +.section .rodata.cst16.ccamellia_aesni_avx2_asm_64, "aM", @progbits, 16 why "ccamellia", not "camellia"? > I tried to check for the .rodata.cst32 case, how do I identify the *.S files? ? Looks like all .rodata.cst32 sections have suffixes, nothing to fix.