From: Denys Vlasenko <dvlasenk@redhat.com>
To: sedat.dilek@gmail.com
Cc: linux-kernel@vger.kernel.org, x86@kernel.org
Subject: Re: CBL issue #431: lld: x86_64: sysfs: cannot create duplicate filename $module/.rodata.cst{16,32}
Date: Mon, 8 Apr 2019 16:42:16 +0200 [thread overview]
Message-ID: <5c5c169d-3bad-9e34-8c56-bedca3e5ae08@redhat.com> (raw)
In-Reply-To: <CA+icZUVvtLkNNor+9wQy1_bt=NfRAfJD9f_daqX2Da=EcdjAaA@mail.gmail.com>
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.
next prev parent reply other threads:[~2019-04-08 14:42 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-08 13:36 Sedat Dilek
2019-04-08 13:56 ` Denys Vlasenko
2019-04-08 13:58 ` Denys Vlasenko
2019-04-08 14:23 ` Sedat Dilek
2019-04-08 14:29 ` Denys Vlasenko
2019-04-08 14:34 ` Sedat Dilek
2019-04-08 14:42 ` Denys Vlasenko [this message]
2019-04-08 14:44 ` Sedat Dilek
2019-04-08 14:57 ` Sedat Dilek
2019-04-08 15:04 ` Denys Vlasenko
2019-04-08 15:08 ` Sedat Dilek
2019-04-08 15:16 ` Sedat Dilek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5c5c169d-3bad-9e34-8c56-bedca3e5ae08@redhat.com \
--to=dvlasenk@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sedat.dilek@gmail.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®