Linux ld: `-m` 选项和命令 `ld -melf_32 -Ttext 0 -e startup_32` 的含义是什么
Linux ld: What's the meaning of `-m` option and the command `ld -melf_32 -Ttext 0 -e startup_32`
看过ld的手册,-m emulation
选项指的是emulate the emulation linker
,描述的是什么意思。而-T scriptfile
选项可以use scriptfile as the linker script
,但是-Ttext 0
选项指的是什么,有效吗?
-Ttext 0
告诉链接器在地址 0
处启动程序
15.3 Linker emulation selection
A linker emulation is a "personality" of the linker, which gives the linker default values for the other aspects of the target system. In particular, it consists of
the linker script
the target
several "hook" functions that are run at certain stages of the linking process to do special things that some targets require
http://ftp.gnu.org/old-gnu/Manuals/binutils/html_node/binutils_20.html
看过ld的手册,-m emulation
选项指的是emulate the emulation linker
,描述的是什么意思。而-T scriptfile
选项可以use scriptfile as the linker script
,但是-Ttext 0
选项指的是什么,有效吗?
-Ttext 0
告诉链接器在地址 0
15.3 Linker emulation selection
A linker emulation is a "personality" of the linker, which gives the linker default values for the other aspects of the target system. In particular, it consists of
the linker script
the target
several "hook" functions that are run at certain stages of the linking process to do special things that some targets require
http://ftp.gnu.org/old-gnu/Manuals/binutils/html_node/binutils_20.html