FAQ : linkers
Posted: Fri Feb 13, 2004 3:50 am
here comes a question from http://www.osdev.org/osfaq2/index.php/Linkers
What i know for sure is that LD is able to link while keeping relocations in your final object (called the 'incremental link') and it also can stand unresolved symbols if instructed to do so ...
As far as i know, ld does not create shared libraries by itself. You have to give the proper flags to GCC itself so that it can generate position-independent code (note that i'm only talking about ELF shared libraries).Is it still true ld can't create shared libraries, or is this dated information?
What i know for sure is that LD is able to link while keeping relocations in your final object (called the 'incremental link') and it also can stand unresolved symbols if instructed to do so ...