Re: [regression] 72042a8c7b01 x86/purgatory: Make functions and variables static

From: Thomas Gleixner
Date: Thu Mar 09 2017 - 15:42:28 EST


On Thu, 9 Mar 2017, Borislav Petkov wrote:

> On Thu, Mar 09, 2017 at 08:11:03PM +0100, Thomas Gleixner wrote:
> > > git@homer:..kexec-tools/kexec-tools-2.0.5> grep -IR 'elf_rel_.*symbol' . | egrep 'backup_|digest'|grep x86_64
> > > ./kexec/arch/x86_64/kexec-x86_64.c: elf_rel_set_symbol(&info->rhdr, "backup_src_start",
> > > ./kexec/arch/x86_64/kexec-x86_64.c: elf_rel_set_symbol(&info->rhdr, "backup_src_size",
> > > ./kexec/arch/x86_64/kexec-x86_64.c: elf_rel_set_symbol(&info->rhdr, "backup_start",
> >
> > Came so far as well. Lovely undocumented dependencies.....
>
> Maybe that'll help a little:
>
> https://lkml.kernel.org/r/20170103153814.GC29807@xxxxxxxxxx
>
> And yap, that thing needs a bunch of text ontop saying sh*t and why it
> is magical.

I know how to fix it, but I'll do that tomorrow with brain awake