]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: warning: allocated section `.data_nosave' not in segment
authorSean MacLennan <smaclennan@pikatech.com>
Tue, 29 Sep 2009 06:00:06 +0000 (06:00 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 14 Oct 2009 05:58:39 +0000 (16:58 +1100)
commitd45e99344bf14e0553261b1400f54f5e45b3f92c
tree2162ff887c8c6b8e1e05f88aef9148cc916e0db9
parent18f17f809b941b0715c8b9f7e9992a52069bf8b0
powerpc: warning: allocated section `.data_nosave' not in segment

We need to align before the output section. Having the align inside
the output section causes the linker to put some filler in there,
which makes it a non-empty section, but this section isn't assigned to
a segment so you get a warning from the linker.

Signed-off-by: Sean MacLennan <smaclennan@pikatech.com>
Acked-by: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/vmlinux.lds.S