[arch-projects] ELF questions
jason at archlinux.org
Wed Mar 16 19:06:24 EST 2005
On Wed, Mar 16, 2005 at 06:03:36PM -0600, Aaron Griffin wrote:
> Ok, I'm not really clear, on a binary level, about ELF objects, so I'm
> going to shoot some questions out there:
> Is an elf binary required to link to things such as libc? let's
> assume for a moment the SO does not call any libc functions. that
> should work fine. however, if it does call libc functions, is it able
> to resolve that, perhaps, strlen() is linked into it's parent?
Doesn't the linker (ld) handle resolving symbols? And if it can't find one
you won't even be able to run the executable because you'll get an
unresolved symbol error.
If you understand, things are just as they are. If you do not understand,
things are just as they are.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the arch-projects