Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2922078yba; Mon, 8 Apr 2019 07:30:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1c/jAyflTQwFGA/sh0M9EZBiBo4e5N8DVajWb0qM+vwImr8gA4rDm+2Fy7AwjG2HJa+Mq X-Received: by 2002:a63:5c43:: with SMTP id n3mr26710236pgm.163.1554733843182; Mon, 08 Apr 2019 07:30:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554733843; cv=none; d=google.com; s=arc-20160816; b=kCWOg+uBtZFy8kyHTIyP0Oe45MiYSV4oy2TxoeGlJJkibjsF2hDcYjeBs02ReXrOT4 w6twksypLdWG9QSTIceJI4btQ70Qz8NiZzrGBjT/ZvIMbbdGJVucVef1Cr/4eXhg94LM 1oh6EpBdQTGK+HZPOGztUGjuymbBQwlbtPXH/7NG8nHqUjK6jO92Y06nCuLyNklLcTdp 6CCgkO5dTr820aitSwD5QxNtbYEVZ+/fU2z1UTx7pl1hmxMGajHjPydjRWzWEMOQO9Ty U9gAW8twkOIsCJcnbUnTgSP3y6vKzIQ9ZuoIoUtXN11URwogbhAqZwGeT2FpS52Fbrjk YaOQ== 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=iWzP/AsV0rVXmY6WUWqZrEkYZWJz0FgvlOurKEsI2wM=; b=EWhGcQOsF63aN71mbrIN9qb5qFWY/Re7OelzSSF2oLAsu8z5CvTfKTWDOn79+qlwCo fLNu2DhAjd3q0ByVgk/oXvXfhASDsGyjghDzDFLhadYjhLlKX8OlYMP6U0KDw1P3Var6 6PBoo5RvRXW9X+efp9r+yLVBAe3yC0j0iVTtowdYwAC2ziQz7OWGP62n96Lu0AN3a2oP LlALbSqTuAa9FdnglZLZk3XHBOoZ4at5IUeSmKUwnHKp/5Qq/TpgUT1076nfB3Brm48G V/MEFQ+jNbR4O/Whrv/vq+OUCZUW9VzH8nhf5iTqf1y3B+hJYOBUx3rkS/ilCeAj+mF2 AcHg== 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 f7si26126666pgq.522.2019.04.08.07.30.26; Mon, 08 Apr 2019 07:30:43 -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 S1726939AbfDHO3b (ORCPT + 99 others); Mon, 8 Apr 2019 10:29:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41130 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726615AbfDHO3b (ORCPT ); Mon, 8 Apr 2019 10:29:31 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1063F30894ED; Mon, 8 Apr 2019 14:29:31 +0000 (UTC) Received: from [10.43.17.46] (unknown [10.43.17.46]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5E21163F83; Mon, 8 Apr 2019 14:29:30 +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> From: Denys Vlasenko Message-ID: <863a33cf-0a1a-17af-0ea8-42e288f8a1fd@redhat.com> Date: Mon, 8 Apr 2019 16:29: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: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Mon, 08 Apr 2019 14:29:31 +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:23 PM, Sedat Dilek wrote: > For the .rodata.cst16 part you mean sth. like this? yes, see below > --- 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 dashes in the name may cause problems, replace with '_'. > .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..d6ce36e82a93 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 dashes in the name may cause problems, replace with '_'.