This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:TI C/C++编译器
在cl6x或clpru生成的任何.obj文件上使用'readelf'实用程序会生成警告:
~/tmp$ echo > empty.c
~/tmp$ cl6x空.c
~/tmp$ readelf --file-header empty.obj | grep程序
readelf:警告:可能是ELF标题损坏-它具有非零程序标题偏移,但没有程序标题
程序头开始:2484 (文件中的字节)
程序标头大小:32 (字节)
程序标题数:0
如图所示,文件头确实包含非零的程序头表偏移(e_phoff),即使它没有程序头表。 ELF规格说明:
e_phoff
我同意你的分析。 感谢您让我们了解此问题。 我在 SDOWP系统中提交了CodeGen-3597以对此进行调查。 欢迎您使用我签名中下面的SDOWP链接进行关注。
谢谢,此致,
-George