本文共 1699 字,大约阅读时间需要 5 分钟。
test_got(void)fff87260: stwu r1, -16(r1)fff87264: mflr r0fff87268: bcl- 20, 4*cr7+so, fff8726cfff8726c: stw r30, 8(r1)fff87270: mflr r30fff87274: addis r30, r30, 3fff87278: stw r0, 20(r1)fff8727c: addi r30, r30, 32496... ...fff87280: lwz r9, -32768(r30)其中 0xfff8726c + 0x30000 + 32496 - 32768 == 0xfffb4e34查找got表.got2 0x00000000fffb4e34 lib_common/lib_common.a(test.got.o)
位置无关码、位置有关码、链接地址、加载地址
https://blog.csdn.net/lizuobin2/article/details/52049892powerpc uboot链接脚本大改造
https://blog.csdn.net/skyflying2012/article/details/48846833MPC8560 uboot笔记
https://blog.csdn.net/evenness/article/details/7411356P4080上电启动及uboot流程
http://www.360doc.com/content/15/0324/09/1671317_457581500.shtml.section 后面跟着的“ax” 和%progbits是什么意思? .section .flashtext.Reset_Handler,"ax",%progbits
https://blog.csdn.net/wangbotao1990/article/details/86995910uboot的relocation原理详细分析
https://blog.csdn.net/skyflying2012/article/details/37660265linux源码entry_32.S中interrupt数组的分析
https://blog.csdn.net/jinhongzhou/article/details/60155517.2.3 映像的复杂性
http://book.51cto.com/art/200910/158760.htmPowerPC non-DPAA 平台上的…
https://blog.csdn.net/woshigaoyuan/article/details/13996275POWERPC-UBOOT 好文
http://www.pudn.com/Download/item/id/2456377.html【嵌入式Linux学习七步曲之第三篇 Linux系统bootlaoder移植】 从反汇编来看U-boot在PPC架构下的PIC(位置无关程序)设计
https://blog.csdn.net/sailor_8318/article/details/4852691U-Boot GOT表分析和u-boot.lds解读
https://www.cnblogs.com/julyatgalileo/p/5233428.htmlDebugging PowerPC ELF Binaries 深度好文
http://devpit.org/wiki/Debugging_PowerPC_ELF_Binaries动态链接库地址重定位
https://blog.csdn.net/imyangjianwei/article/details/84700705Linux动态链接为什么要用PLT和GOT表?
https://www.zhihu.com/question/21249496/answer/20055825