diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2005-11-03 16:03:06 +1100 |
---|---|---|
committer | Michael Ellerman <michael@ellerman.id.au> | 2005-11-03 16:03:06 +1100 |
commit | e19e4ab4154a831788365c07e7a10d9114bba46c (patch) | |
tree | 63c61be402940f0731d6810b2d1d7372b61a9815 /include/asm-powerpc | |
parent | 358c86fda080a5e7c66dcaad3707061f32fff7cc (diff) |
powerpc: Set entry point and text address in linker script
Currently we set the kernel entry point and the address of the text
section in the Makefile, using CONFIG_KERNEL_START.
But we've already got <asm/page.h> in the linker script, so we can just
use KERNELBASE directly. That means if we ever change KERNELBASE there's
one less place to change it.
And we can set the entry point with ENTRY().
There are zero differences from "readelf -a vmlinux" with or without this
patch.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Diffstat (limited to 'include/asm-powerpc')
0 files changed, 0 insertions, 0 deletions