aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc64/boot/zImage.lds
diff options
context:
space:
mode:
authorOlaf Hering <olh@suse.de>2005-10-28 20:46:49 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-29 01:11:00 -0400
commit67a1b68263d58a3ed5ce024468606044a1561312 (patch)
tree0e997ea83aa27cb2ceb622549acc8e47aefa6bb2 /arch/ppc64/boot/zImage.lds
parenta4497235f00d811943831c9d76995d36c4ffab2d (diff)
[PATCH] ppc64 boot: proof that reloc works
To prove that the relocation works, move the crt0.o away from the beginning. Move linker options from command line into linker script. rename entry point because '_start' is referenced in printf output. Signed-off-by: Olaf Hering <olh@suse.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/ppc64/boot/zImage.lds')
-rw-r--r--arch/ppc64/boot/zImage.lds3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ppc64/boot/zImage.lds b/arch/ppc64/boot/zImage.lds
index 79d62c733ec0..4b6bb3ffe3dc 100644
--- a/arch/ppc64/boot/zImage.lds
+++ b/arch/ppc64/boot/zImage.lds
@@ -1,6 +1,9 @@
1OUTPUT_ARCH(powerpc:common) 1OUTPUT_ARCH(powerpc:common)
2ENTRY(_zimage_start)
2SECTIONS 3SECTIONS
3{ 4{
5 . = (4*1024*1024);
6 _start = .;
4 .text : 7 .text :
5 { 8 {
6 *(.text) 9 *(.text)