On Sun, Oct 3, 2010 at 1:20 PM, Andreas Färber andreas.faerber@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@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.