[llvm-dev] question about --emit-relocs with lld

Kees Cook via llvm-dev llvm-dev at lists.llvm.org
Thu Apr 4 13:48:51 PDT 2019


On Thu, Apr 4, 2019 at 1:42 PM Tom Stellard <tstellar at redhat.com> wrote:
>
> On 04/04/2019 01:21 PM, Kees Cook via llvm-dev wrote:
> > Hi,
> >
> > While doing Linux kernel builds linked with lld, I've tracked down a
> > difference that breaks relocation of the kernel image (e.g. under
> > KASLR[1]). Some relocations are changed to ABS (weirdly, all are in
> > .rodata section). Note the difference below in the resulting linked
> > output.
>
> Can you file a bug for this.

Sure! Done: https://bugs.llvm.org/show_bug.cgi?id=41385

Thanks!

-- 
Kees Cook


More information about the llvm-dev mailing list