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.