info4sales-gcc@xxxxxxxx wrote: > 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? Did you look at the gas manual, Section 8,12, 80386 Dependent Features? Andrew.