This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
What's the difference between the relocatable link and the final link
- From: "redriver jiang" <jiangpeople at gmail dot com>
- To: binutils at sourceware dot org
- Date: Wed, 16 May 2007 20:06:20 +0800
- Subject: What's the difference between the relocatable link and the final link
Hi.
Recently I am porint the binutils to a new target. The new target
utilize the EFL format. I've read the BFD Internals several times,
and find that I should write the rellocate function in ELF32-cpu.c.
But I am confused by the "relocatable link " and "final Link". I think
the relocate function in elf32-cpu.c is used by the final link, and
the "special function" in howto structure is used by the relocatable
link. Is this understanding correct?
And when the linker performs a relocatable link?
Thanks!
redriver