readelf 可用來知道需要哪些 so 檔
arm-mv5sft-linux-gnueabi-readelf -d /NFS/marvell_rfs/usr/sbin/thttpd
Dynamic section at offset 0x10f10 contains 25 entries:
Tag Type Name/Value
0x00000001 (NEEDED) Shared library: [libcrypt.so.1]
0x00000001 (NEEDED) Shared library: [libc.so.6]
0x0000000c (INIT) 0x9488
0x0000000d (FINI) 0x15694
0x00000019 (INIT_ARRAY) 0x20f04
0x0000001b (INIT_ARRAYSZ) 4 (bytes)
0x0000001a (FINI_ARRAY) 0x20f08
0x0000001c (FINI_ARRAYSZ) 4 (bytes)
0x00000004 (HASH) 0x81a8
0x00000005 (STRTAB) 0x8c30
0x00000006 (SYMTAB) 0x8500
0x0000000a (STRSZ) 927 (bytes)
0x0000000b (SYMENT) 16 (bytes)
0x00000015 (DEBUG) 0x0
0x00000003 (PLTGOT) 0x21000
0x00000002 (PLTRELSZ) 880 (bytes)
0x00000014 (PLTREL) REL
0x00000017 (JMPREL) 0x9118
0x00000011 (REL) 0x90f8
0x00000012 (RELSZ) 32 (bytes)
0x00000013 (RELENT) 8 (bytes)
0x6ffffffe (VERNEED) 0x90b8
0x6fffffff (VERNEEDNUM) 2
0x6ffffff0 (VERSYM) 0x8fd0
0x00000000 (NULL) 0x0
留言
張貼留言