]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc: Fix vmlinux.lds.S for 32-bit
authorPaul Mackerras <paulus@samba.org>
Fri, 4 Nov 2005 23:36:59 +0000 (10:36 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 4 Nov 2005 23:36:59 +0000 (10:36 +1100)
commitc51e3a417bb0f295e13a5bad86302b5212eafdf3
tree3d60529b8bf1af4eee98bfede157518520fbb423
parent5ad570786158e327a1c5d32dd3d66f26d8de6340
powerpc: Fix vmlinux.lds.S for 32-bit

We can't currently use asm-ppc/page.h in vmlinux.lds.S, so until
we have a merged page.h, define PAGE_SIZE and KERNELBASE locally.
Also gets rid of some dynamic executable cruft that we had for
32-bit.  With -Ttext=$(KERNELBASE) this didn't cause any problem,
but when we changed to putting . = KERNELBASE in the vmlinux.lds.S
this cruft caused the text to get linked at 0xa0 instead of
0xc0000000.  Oops.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/vmlinux.lds.S