what's difference between "relocatable link" and "final link"?
Ian Lance Taylor
ian@airs.com
Mon Jun 12 09:19:00 GMT 2006
"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
More information about the Binutils
mailing list