[root@localhost lib]# readelf -l librt.so.1
Elf file type is DYN (Shared object file)
Entry point 0x1880
There are 9 program headers, starting at offset 52
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
PHDR 0x000034 0x00000034 0x00000034 0x00120 0x00120 R E 0x4
INTERP 0x005c6c 0x00005c6c 0x00005c6c 0x00013 0x00013 R 0x1
[Requesting program interpreter: /lib/ld-linux.so.2]
LOAD 0x000000 0x00000000 0x00000000 0x0648c 0x0648c R E 0x1000
LOAD 0x006ebc 0x00007ebc 0x00007ebc 0x0028c 0x00370 RW 0x1000
DYNAMIC 0x006edc 0x00007edc 0x00007edc 0x000f8 0x000f8 RW 0x4
NOTE 0x000154 0x00000154 0x00000154 0x00020 0x00020 R 0x4
GNU_EH_FRAME 0x005c80 0x00005c80 0x00005c80 0x00074 0x00074 R 0x4
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4
GNU_RELRO 0x006ebc 0x00007ebc 0x00007ebc 0x00144 0x00144 R 0x1
Section to Segment mapping:
Segment Sections...
00
01 .interp
02 .note.ABI-tag .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_d .gnu.version_r .rel.dyn .rel.plt .init .plt .text __libc_freeres_fn .fini .rodata .interp .eh_frame_hdr .eh_frame .gcc_except_table .hash
03 .ctors .dtors .jcr __libc_subfreeres .data.rel.ro .dynamic .got .got.plt .data .bss
04 .dynamic
05 .note.ABI-tag
06 .eh_frame_hdr
07
08 .ctors .dtors .jcr __libc_subfreeres .data.rel.ro .dynamic .got
[root@localhost lib]# ll ld-linux.so.2
lrwxrwxrwx 1 root root 9 Sep 5 21:54 ld-linux.so.2 -> ld-2.5.so
[root@localhost lib]#
上面是CentOS5.3版本下的查询所得信息。
阅读(736) | 评论(0) | 转发(0) |