x86-64: LD default ELF section file offset == LMA ?
Etienne Lorrain
etienne_lorrain@yahoo.fr
Fri Apr 3 19:18:00 GMT 2009
--- 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.
More information about the Binutils
mailing list