Error: cannot represent relocation type BFD_RELOC_64
Nick Clifton
nickc@redhat.com
Tue Dec 23 09:44:00 GMT 2008
Hi kanishk,
> Any insight into this..
The assembler is generating an object file which contains the
BFD_RELOC_64 relocation. So the assembler must think that it is
creating a 64-bit binary. Take a look at the gas command line being
issued by gcc when you are compiling application.c. ie:
gcc -v -I/usr/src/linux-headers-2.6.27-9/include/ application.c log.c
-lpthread
If there is nothing on the gas command line to indicate that 64-bit mode
has been selected then have a look in the assembler source file. (ie
add --save-temps to the gcc command line). Maybe 64-bit mode is being
selected inside the assembler source file.
Cheers
Nick
More information about the Binutils
mailing list