BIN and ELF File concepts

Source: Internet
Author: User
Bin is a binary file, M $ bin is a Mz file, and Unix bin is an elf file.
Therefore, the bin concept is relatively large and the elf concept is smaller.
The ELF file contains some additional field information, but the bin does not.

Executable and linking format (ELF) files are commonly used object file formats in x86 Linux systems. There are three main types:

(1) a relocatable file suitable for connection. It can be used with other target files to create executable files and share the target files.

(2) executable files suitable for execution. They are used to provide the process image of the program and load the memory for execution.

(3) shared object file (shared object file). The connector can connect it with other relocated files and shared target files to other target files, the dynamic connector can also combine it with executable files and other shared target files to create a process image.

 

The difference between the Hex file and the binfile is also transferred in the previous post.

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.