小编Vij*_*jay的帖子

了解uboot.lds

我试图了解如何在基于powerpc mpc8313处理器的主板上完成uboot的移植.在此过程中,我遇到了名为uboot.lds的文件,链接器脚本文件.

我需要了解这个文件.我的意思是提到的内容的重要性以及在uboot包中定义实际地址的位置.

例如; 在SECTIONS中,我可以在其中找到以下信息的重要性:

/* Read-only sections, merged into text segment: */
. = + SIZEOF_HEADERS;
.interp : { *(.interp) }
.hash          : { *(.hash)  }
.dynsym        : { *(.dynsym)  }
.dynstr        : { *(.dynstr)  }
.rel.text      : { *(.rel.text)  }
.rela.text     : { *(.rela.text)  }
.rel.data      : { *(.rel.data)  }
.rela.data     : { *(.rela.data)  }
.rel.rodata    : { *(.rel.rodata)  }
.rela.rodata   : { *(.rela.rodata)  }
.rel.got       : { *(.rel.got)  }
.rela.got      : { *(.rela.got)  }
.rel.ctors     : { …
Run Code Online (Sandbox Code Playgroud)

linker u-boot

8
推荐指数
1
解决办法
9599
查看次数

标签 统计

linker ×1

u-boot ×1