3 ms·
In a sense there kinda is. Pre-linking is a way to statically specify the lookup for a given shared library in an ELF executable. It's still kinda dynamic link
by CuriousCosmic 4y ago
In a sense there kinda is.
Pre-linking is a way to statically specify the lookup for a given shared library in an ELF executable. It's still kinda dynamic linking because the file is loaded at runtime but there's no library lookup, it's just "load this file at this path into address space while we load the rest of the main executable". Before PIC there would have been a bit more of a distinction but nowadays static and dynamic libraries are really only distinguished by where the symbols are (unless you want to be able to dynamically load and unload after startup).