ld -Ttext

ArrayTang 2010-01-18 01:03:35
我在linux kernel makefile中看到 link 选项 -Ttext 100000, 这个是什么意思? 谢谢
...全文
121 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
独孤过儿 2010-01-21
  • 打赏
  • 举报
回复
-T scriptfile
--script=scriptfile
Use scriptfile as the linker script. This script replaces ld’s default linker script (rather than adding to
it), so commandfile must specify everything necessary to describe the output file. If scriptfile does not
exist in the current directory, "ld" looks for it in the directories specified by any preceding -L options.
Multiple -T options accumulate.
ling1874 2010-01-21
  • 打赏
  • 举报
回复
是编译地址
ArrayTang 2010-01-19
  • 打赏
  • 举报
回复
是载入内存后的物理地址吗?
充电宝111 2010-01-18
  • 打赏
  • 举报
回复
text段的地址

4,441

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧