Linux kernel link script setting architecture

03_OUTPUT_ARCH
http://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_mono/ld.html#IDX345
OUTPUT_ARCH (bfdname ):
Specify a machine architecture.
As in the link script of U-Boot:
OUTPUT_ARCH(arm)

Guess you like

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