UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

取消
显示结果 
搜索替代 
您的意思是: 
Participant guodong_zl
Participant
170 次查看
注册日期: ‎05-28-2018

sdk中elf文件

请问sdk中elf文件里内容怎么理解?

0 项奖励
1 条回复1
Xilinx Employee
Xilinx Employee
149 次查看
注册日期: ‎09-14-2018

回复: sdk中elf文件

ELF, 是Extensible Linking Format的简写。并不是SDK专有,是一种通用的、用于可执行文件/Object文件/share libraries文件的文件格式。
在linux下,你可以使用readelf指令来查看elf文件各部分内容。一个elf文件具有以下几个部分:
1. A ELF file header: contains version/arch/OS/……
2. A program header table: tells the system how to create a process image.
3. Data referred to by entries in the program header table or section header table
4. A section header table: tells the system how to link this ELF file. Section has smaller graininess than segment.
建议通过下面的一些链接进一步学习elf,
https://en.wikipedia.org/wiki/Executable_and_Linkable_Format
http://infocenter.arm.com/help/topic/com.arm.doc.dui0101a/DUI0101A_Elf.pdf
http://www.choudan.net/2013/10/25/Linux%E8%BF%9B%E7%A8%8B%E5%9C%B0%E5%9D%80%E7%A9%BA%E9%97%B4%E5%AD%A6%E4%B9%A0%28%E4%BA%8C%29.html
http://blog.chinaunix.net/attachment/attach/26/40/46/9726404697228d82cda2af11366fa7722d3a4f1a58.pdf

----------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
----------------------------------------------------------------------------------------------