]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86: remove arbitrary ELF section limit in i386 relocatable kernel
authorH. Peter Anvin <hpa@zytor.com>
Mon, 30 Jun 2008 21:42:18 +0000 (14:42 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 1 Jul 2008 03:22:58 +0000 (20:22 -0700)
commit908ec7afacfdc83dc10938ed1d3c38b3526034ec
treed23299bdbb52bd56b2e0d4943fd30272ea5d8ffa
parentaa60d13fb04f6d5ce72e4da508a4048b934ebd24
x86: remove arbitrary ELF section limit in i386 relocatable kernel

Impact: build failure in maximal configurations

The 32-bit x86 relocatable kernel requires an auxilliary host program
to process the relocations.  This program had a hard-coded arbitrary
limit of a 100 ELF sections.  Instead of a hard-coded limit, allocate
the structures dynamically.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
arch/x86/boot/compressed/relocs.c