This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]