powerpc/vmlinux.lds: Move _edata down
authorMichael Ellerman <michael@ellerman.id.au>
Sun, 9 Aug 2009 19:06:24 +0000 (19:06 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Aug 2009 00:29:29 +0000 (10:29 +1000)
commit903444e4297264ec0959e886695911659edb425c
tree87bcffec066757d3961446c290b671f35892c1f4
parenta15098c90df1ac2b1bfe1d33dd1c47063213aa9a
powerpc/vmlinux.lds: Move _edata down

Currently _edata does not include several data sections, this causes
the kernel's report of memory usage at boot to not match reality, and
also prevents kmemleak from working - because it scan between _sdata
and _edata for pointers to allocated memory.

This mirrors a similar change made recently to the x86 linker script.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/vmlinux.lds.S