本文介绍了readelf命令中mips标志的含义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在Linux上执行了命令"readelf -h test"("test"是我的二进制程序),并且得到了以下文本:
I have executed the command "readelf -h test" ("test" is my binary program) on linux, and got following text:
ELF header:
Magic: 7f 45 4c 46 ....
Data: 2's complement, little endian
...
**Flags: 0x1007, noreorder, pic, cpic, o32, mips1**
...
请让我详细了解上述文本中标志的含义吗?
Could you please let me know each meanings of flags of the above text in detail?
我已经用Google搜索了,但是找不到答案.任何评论将不胜感激.
I have googled it, but could not find answers. Any comments would be appreciated.
推荐答案
ELF header flags are architecture-specific. For MIPS they are defined in SYSTEM V APPLICATION BINARY INTERFACE
EF_MIPS_NOREORDER 0x00000001
EF_MIPS_PIC 0x00000002
EF_MIPS_CPIC 0x00000004
EF_MIPS_ARCH 0xf0000000
这篇关于readelf命令中mips标志的含义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!