diff options
author | Olaf Hering <olh@suse.de> | 2005-10-28 17:46:48 -0700 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-29 15:10:12 +1000 |
commit | a4497235f00d811943831c9d76995d36c4ffab2d (patch) | |
tree | 7731fe28f9b5b98a94f9182766a20eb862e6f5cf /arch/ppc64/boot/zImage.lds | |
parent | afbe8c4bb0155f533d6e57edd269c93e2f23c2fa (diff) | |
download | op-kernel-dev-a4497235f00d811943831c9d76995d36c4ffab2d.zip op-kernel-dev-a4497235f00d811943831c9d76995d36c4ffab2d.tar.gz |
[PATCH] ppc64 boot: make the zImage relocateable
Make the zImage relocateable. So yaboot could just load and run any ELF
binary, without worrying about its load address.
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.lds | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/ppc64/boot/zImage.lds b/arch/ppc64/boot/zImage.lds index fb465a4..79d62c7 100644 --- a/arch/ppc64/boot/zImage.lds +++ b/arch/ppc64/boot/zImage.lds @@ -13,7 +13,9 @@ SECTIONS *(.rodata*) *(.data*) *(.sdata*) - *(.got*) + __got2_start = .; + *(.got2) + __got2_end = .; } . = ALIGN(4096); |