]> bbs.cooldavid.org Git - net-next-2.6.git/commit
x86, setup: Allow global variables and functions in the decompressor
authorH. Peter Anvin <hpa@linux.intel.com>
Mon, 2 Aug 2010 22:34:44 +0000 (15:34 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Mon, 2 Aug 2010 22:34:44 +0000 (15:34 -0700)
commit22a57f5896df218356bae6203dfaf04bcfd6c88c
treee956ddcf7edf8457978d324a2e9c954b31be2206
parent70b0d22d581a5deef7b2876b0c3774635b8d846c
x86, setup: Allow global variables and functions in the decompressor

In order for global variables and functions to work in the
decompressor, we need to fix up the GOT in assembly code.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
LKML-Reference: <4C57382E.8050501@zytor.com>
arch/x86/boot/compressed/head_32.S
arch/x86/boot/compressed/head_64.S
arch/x86/boot/compressed/vmlinux.lds.S