Force 64 bit addressing in asm files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
 I use gcc 4.3.0 and binutils (with --enable-64-bit-bfd) recompiled on my amd64 because I need large memory model. My project include one assembly file, which has the .code64 statement in the head.
My problem is that gcc does not generate 64 bit addressing only for the assembly file, whereas the native C source files have 64 bits code and pointers.
The result is that when linking ld gives the usual "relocation truncated to fit: R_X86_64_32S against symbol xxxxx".
So, there is a way to force AS to generate of 64 bits code and addressing?
Thanks for the time spent reading!

Matteo


      Inviato da Yahoo! Mail. 
La casella di posta intelligente.
http://it.docs.yahoo.com/mail/overview/index.html


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux