ELF revisited

2021-10-06  本文已影响0人  Wilbur_

Compilers and assemblers generate relocatable object files.
Compilers generate assembly code, assemblers generate binary code.
**Linkers generate executable object files. **
Key point here is Linkers generate executable object files (assembly code come from compilers and assemblers

Different system has different ways of organizing object files (Windows uses Portable Executable (PE) format. Mac OS-X uses the Mach-O format.

Modern x86-64 Linux and Unix systems use Executable and Linkable Format

Although different format organized the file differently, basic concept are similar.

image.png
上一篇下一篇

猜你喜欢

热点阅读