Mac:查看so的ABI:修订间差异

来自WHY42
(已建立頁面,內容為 "<source lang="bash"> brew install binutils /usr/local/opt/binutils/bin/readlef -A xx.so </source> Category:Linux/Unix")
 
无编辑摘要
 
第4行: 第4行:


</source>
</source>
<pre>
hfli@HaifengdeMacBook-Pro:jniLibs/armeabi-v7a ‹master*›$ /usr/local/opt/binutils/bin/readelf -A libcrypto.so
Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "ARM v7"
  Tag_CPU_arch: v7
  Tag_CPU_arch_profile: Application
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-2
  Tag_FP_arch: VFPv3
  Tag_Advanced_SIMD_arch: NEONv1
  Tag_ABI_PCS_GOT_use: GOT-indirect
  Tag_ABI_PCS_wchar_t: 4
  Tag_ABI_FP_denormal: Needed
  Tag_ABI_FP_exceptions: Needed
  Tag_ABI_FP_number_model: IEEE 754
  Tag_ABI_align_needed: 8-byte
  Tag_ABI_enum_size: int
  Tag_CPU_unaligned_access: v6
  Tag_ABI_FP_16bit_format: IEEE 754
</pre>


[[Category:Linux/Unix]]
[[Category:Linux/Unix]]

2020年11月5日 (四) 04:35的最新版本

brew install binutils
/usr/local/opt/binutils/bin/readlef -A xx.so
hfli@HaifengdeMacBook-Pro:jniLibs/armeabi-v7a ‹master*›$ /usr/local/opt/binutils/bin/readelf -A libcrypto.so
Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "ARM v7"
  Tag_CPU_arch: v7
  Tag_CPU_arch_profile: Application
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-2
  Tag_FP_arch: VFPv3
  Tag_Advanced_SIMD_arch: NEONv1
  Tag_ABI_PCS_GOT_use: GOT-indirect
  Tag_ABI_PCS_wchar_t: 4
  Tag_ABI_FP_denormal: Needed
  Tag_ABI_FP_exceptions: Needed
  Tag_ABI_FP_number_model: IEEE 754
  Tag_ABI_align_needed: 8-byte
  Tag_ABI_enum_size: int
  Tag_CPU_unaligned_access: v6
  Tag_ABI_FP_16bit_format: IEEE 754