Linux Kernel Analysis 07

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.