Next: The .init and
Up: ELF: From The
There are three main types for ELF files.
- An executable file contains code and data suitable for
execution. It specifies the memory layout of the process.
- A relocatable file contains code and data suitable for
linking with other relocatable and shared object files.
- A shared object file (a.k.a. shared library) contains
code and data suitable
for the link editor ld at link time and the
dynamic linker at run time. The dynamic linker may be called
ld.so.1, libc.so.1 or ld-linux.so.1, depending
on the implementation.
The most useful part of ELF lies in its section structure. With
the right tools and techniques, programmers can manipulate the execution
of executables with great flexibility.
Tue Aug 1 14:18:10 MDT 1995