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: what's difference between "relocatable link" and "final link"?


"Huang, Chunhao" <Chunhao.Huang@sony.com.cn> writes:

> When I study the BFD library, I meet "relocatable link" and
> "final link" several times, but I can NOT find out the difference
> between them. My rough comprehension is that "relocatable link"
> done by assembler, which is something like parsing the local
> symbols in sections. while "final link" done by linker.

A relocateable link is what the linker does when you use the -r
option.

A final link is what the linker does when you do not use the -r
option.

Ian


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