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 ?


H.J. Lu wrote:
> I got
> 
> [hjl@gnu-6 tmp]$ cat f.s
>        .file   "hello_64bits.c"
> ...
> .note.GNU-stack,"",@progbits
> [hjl@gnu-6 tmp]$ gcc -c f.s
> [hjl@gnu-6 tmp]$ ld  -z max-page-size=0x1000 -Ttext=0x110000  f.o
> [hjl@gnu-6 tmp]$ readelf -Sl a.out
> ...
> 
> Does it do what you wanted?

 Yes, perfect, thanks.
 I do not know what I was doing wrong, but I can reproduce your
result so it is fine.

 Thanks again,
 Etienne.




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