Re: [PATCH v6 22/25] x86/asm: annotate indirect jumps

From: Nick Desaulniers
Date: Fri Oct 23 2020 - 14:04:57 EST


On Fri, Oct 23, 2020 at 10:48 AM Sami Tolvanen <samitolvanen@xxxxxxxxxx> wrote:
>
> On Thu, Oct 22, 2020 at 09:25:53AM +0200, Peter Zijlstra wrote:
> > > There's a new linker flag for renaming duplicates:
> > >
> > > https://sourceware.org/bugzilla/show_bug.cgi?id=26391
> > >
> > > But I guess that doesn't help us now.
> >
> > Well, depends a bit if clang can do it; we only need this for LTO builds
> > for now.
>
> LLD doesn't seem to support -z unique-symbol.

https://github.com/ClangBuiltLinux/linux/issues/1184
--
Thanks,
~Nick Desaulniers