The format of Linux binary kernel output in Linux and link script settings

02_OUTPUT_FORMAT
OUTPUT_FORMAT (bfdname ):
Specify the format of the output file.
Note: The
linker uses the BFD library to access .o files and document files.
BFD:
Binary format descriptor, that is, binary file format descriptor.
The output file format specified in the u-boot.lds link script:
OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
/ OUTPUT_FORMAT ("Elf32-arm", "elf32-arm", "elf32-arm") /

Guess you like

Origin blog.csdn.net/wzc18743083828/article/details/100544293