On 08/02/2010 01:59 PM, H. Peter Anvin wrote: > On 08/02/2010 12:35 PM, Yinghai Lu wrote: >> >> it seems I can not global variables in arch/x86/boot/compressed/misc.c >> > > I just looked at it, it's the fact that we don't relocate the GOT that > is causing problems. It's relatively easy to fix: here is a patch, but > in grand Linus tradition it is completely untested. > Untested indeed... here is one which doesn't clobber live registers. -hpa