diff options
author | Olaf Hering <olh@suse.de> | 2005-10-29 04:46:49 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-29 09:11:00 +0400 |
commit | 67a1b68263d58a3ed5ce024468606044a1561312 (patch) | |
tree | 0e997ea83aa27cb2ceb622549acc8e47aefa6bb2 /arch/ppc64/boot/crt0.S | |
parent | a4497235f00d811943831c9d76995d36c4ffab2d (diff) | |
download | linux-67a1b68263d58a3ed5ce024468606044a1561312.tar.xz |
[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/crt0.S')
-rw-r--r-- | arch/ppc64/boot/crt0.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ppc64/boot/crt0.S b/arch/ppc64/boot/crt0.S index 5788a453a7a2..8bfdeaf3be83 100644 --- a/arch/ppc64/boot/crt0.S +++ b/arch/ppc64/boot/crt0.S @@ -12,8 +12,8 @@ #include "ppc_asm.h" .text - .globl _start -_start: + .globl _zimage_start +_zimage_start: bl reloc_offset reloc_offset: |