[OpenBIOS] [RFC 1/2] switch-arch: Prepare ppc64 support
blauwirbel at gmail.com
Sun Oct 3 16:18:08 CEST 2010
On Sun, Oct 3, 2010 at 1:20 PM, Andreas Färber <andreas.faerber at web.de> wrote:
> Detect ppc64 as Big Endian and 64-bit.
> Reuse arch/ppc/ wherever possible.
Perhaps we should try to aim for unified targets, like in recent Linux
there is unified sparc32 and sparc64 tree in arch/sparc.
> Signed-off-by: Andreas Färber <andreas.faerber at web.de>
> The -m64 is not yet working in my gcc configuration. Using -mcpu=powerpc64 instead, the C files compiled
> but despite tweaking the linker script and adding -melf64ppc to LD there was a mismatch:
> powerpc-elf-ld: powerpc:common64 architecture of input file `target/arch/ppc/qemu/start.o' is incompatible with powerpc:common output
You should build binutils for powerpc64-elf.
More information about the OpenBIOS