Am 04.10.2010 um 06:08 schrieb Segher Boessenkool:
 The -m64 is not yet working in my gcc configuration. Using -mcpu=powerpc64 instead, the C files compiled
They compiled as 32-bit objects, that's no good.
 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.
Or enable 64-bit target support in binutils. It sounds like the linker script does OUTPUT_ARCH(powerpc:common); fix that?
For the record, the linker script had OUTPUT_ARCH(powerpc), changing that to OUTPUT_ARCH(powerpc:common64) helped. Thanks for pointing me in the right direction.
Andreas