From: Milton Miller Date: Fri, 2 Jan 2009 10:46:04 +0000 (+0000) Subject: powerpc: Make dummy section a valid note header X-Git-Tag: v2.6.29-rc2~76^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e16459c6b7e9c1390020a3e2a033b5383d1c4f3b;p=pandora-kernel.git powerpc: Make dummy section a valid note header We are declaring the dummy section (used to work around a binutils bug) as PT_NOTE, but we don't have enough bytes for it to be a valid note header, and kexec userspace complains: Warning: Elf Note name is not null terminated Warning: append= option is not passed. Using the first kernel root partition Warning: Elf Note name is not null terminated Instead of using the arbitray value 0xf177 (aka "fill"), declare a no-name no-description note of type 0. Signed-off-by: Milton Miller Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed