This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Help with PPC Relocation options
- From: Rohit Arul Raj <rohitarulraj at gmail dot com>
- To: gcc <gcc at gcc dot gnu dot org>
- Date: Mon, 1 Aug 2011 12:12:01 +0530
- Subject: Help with PPC Relocation options
Hello All,
I compiled a simple 1.c file with -mpcu=e500mc64 option and while
trying to create a relocatable, i am getting the following error:
$powerpc-elf-ld.exe -static -r 1.o
powerpc-elf-ld.exe: Relocatable linking with relocations from format
elf64-powerpc (1.o) to format elf32-powerpc (a.out) is not supported
$ powerpc-elf-ld.exe -static -r 1.o --oformat elf64-powerpc
powerpc-elf-ld.exe: Relocatable linking with relocations from format
elf64-powerpc (1.o) to format elf64-powerpc (a.out) is not supported
Is relocatable linking not allowed for 64bit PPC?
Regards,
Rohit