Executable loading one, preprocessing, compiling, linking, and format of the destination file
How is the executable program coming?
Preprocessing replaces the macro definition in the include with string processing.
EFL format? target file format, using EFL in Windows with PE Linux.
Static links, dynamic links?
Abi and file format relationships? Binary compatible .
relocatable file executable file share destination file
Connectors: Link Editor, dynamic linker
* * When creating or adding a process image, the system will theoretically copy a segment of the file into a virtual memory segment.
The executable file is loaded into memory to begin executing the first line of code.
General static links put all of the code in a code snippet
Second, executable programs, shared libraries and dynamic links
Research executable program loading, execution environment, etc.
The function call parameter is passed before the system invokes the parameter.
Examples of dynamic links at load and run time.
Third, the loading of the executable program
Linux Kernel Analysis 07