This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Re: x86-64: LD default ELF section file offset == LMA ?


--- Ian Lance Taylor wrote:
> etienne@cygne:~/projet/gujin$ gcc -m64
> -Wl,-n,-z,max-page-size=0x1000,-Ttext=0x110000
> hello_64bits.s hello_64bits.elf -nostartfiles -nodefaultlibs
> etienne@cygne:~/projet/gujin$ ls -l hello_64bits.elf
> 
> Are you sure you are checking the right output file?  I
> don't see a -o option on the first command.

That's it.
I now have a working ELF64 demo.

Thanks,
Etienne.




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