ppc: avoid runtime relocations
commit30ea4fff0644d743536769740136d1dc7e4c716d
authorblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sun, 30 Jan 2011 13:07:40 +0000 (30 13:07 +0000)
committerblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sun, 30 Jan 2011 13:07:40 +0000 (30 13:07 +0000)
treef5b8254c30e137fdb77b6484325fc9521d5a8e3a
parent134d4f4af69786878518c8da5c20e21269b827f5
ppc: avoid runtime relocations

Because the sizes of cells and pointers do not match on PPC64,
relocations of an ucell array using the address of the array itself
can't be computed by the linker.

Use a fixed address on PPC64 for the array, so we can use a fixed
ucell sized constant for the relocation offset.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@1018 f158a5a8-5612-0410-a976-696ce0be7e32
arch/ppc/build.xml
arch/ppc/qemu/kernel.c
arch/ppc/qemu/ofmem.c
arch/ppc64/qemu/ldscript