Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@imx6q-phytec-mira-rdk-nand:/tmp# ./test.sh
- + md5sum /usr/bin/evim
- 6e6bf3b3f40b56ac41cf19ea2932ff67 /usr/bin/evim
- + ldd /usr/bin/evim
- linux-vdso.so.1 (0xbebc2000)
- libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0x41030000)
- libgdk-3.so.0 => /usr/lib/libgdk-3.so.0 (0x41dc0000)
- libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x42a60000)
- libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x423f0000)
- libcairo.so.2 => /usr/lib/libcairo.so.2 (0x41c10000)
- libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x42700000)
- libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x42350000)
- libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x41b10000)
- libSM.so.6 => /usr/lib/libSM.so.6 (0x42800000)
- libICE.so.6 => /usr/lib/libICE.so.6 (0x42640000)
- libXt.so.6 => /usr/lib/libXt.so.6 (0x42210000)
- libX11.so.6 => /usr/lib/libX11.so.6 (0x41a10000)
- libm.so.6 => /lib/libm.so.6 (0x42030000)
- libtinfo.so.5 => /lib/libtinfo.so.5 (0x425e0000)
- libacl.so.1 => /usr/lib/libacl.so.1 (0x429a0000)
- libdl.so.2 => /lib/libdl.so.2 (0x427c0000)
- libc.so.6 => /lib/libc.so.6 (0x41910000)
- /lib/ld-linux-armhf.so.3 (0xb6f61000)
- libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x42940000)
- libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x42880000)
- libXext.so.6 => /usr/lib/libXext.so.6 (0x428e0000)
- librt.so.1 => /lib/librt.so.1 (0x427e0000)
- libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x42a40000)
- libXi.so.6 => /usr/lib/libXi.so.6 (0x42920000)
- libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x42860000)
- libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x428a0000)
- libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x42900000)
- libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0x429e0000)
- libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x42670000)
- libatk-bridge-2.0.so.0 => /usr/lib/libatk-bridge-2.0.so.0 (0x42490000)
- libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x42440000)
- libwayland-cursor.so.0 => /usr/lib/libwayland-cursor.so.0 (0x42ac0000)
- libwayland-egl.so.1 => /usr/lib/libwayland-egl.so.1 (0x42ae0000)
- libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x42aa0000)
- libepoxy.so.0 => /usr/lib/libepoxy.so.0 (0x41cf0000)
- libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x426d0000)
- libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x417d0000)
- libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x42730000)
- libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x41e70000)
- libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x422b0000)
- libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x41fb0000)
- libpthread.so.0 => /lib/libpthread.so.0 (0x42580000)
- libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x41f20000)
- libpng16.so.16 => /usr/lib/libpng16.so.16 (0x42510000)
- libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x42b80000)
- libxcb.so.1 => /usr/lib/libxcb.so.1 (0x42790000)
- libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x42b60000)
- libXrender.so.1 => /usr/lib/libXrender.so.1 (0x42960000)
- libz.so.1 => /lib/libz.so.1 (0x42610000)
- libGL.so.1 => /usr/lib/libGL.so.1 (0x42110000)
- libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x423a0000)
- libffi.so.8 => /usr/lib/libffi.so.8 (0x42a20000)
- libpcre.so.1 => /usr/lib/libpcre.so.1 (0x420a0000)
- libattr.so.1 => /usr/lib/libattr.so.1 (0x429c0000)
- libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x42260000)
- libatspi.so.0 => /usr/lib/libatspi.so.0 (0x424d0000)
- libmount.so.1 => /lib/libmount.so.1 (0x421c0000)
- libresolv.so.2 => /lib/libresolv.so.2 (0x425b0000)
- libexpat.so.1 => /usr/lib/libexpat.so.1 (0x426a0000)
- libuuid.so.1 => /usr/lib/libuuid.so.1 (0x42a80000)
- libXau.so.6 => /usr/lib/libXau.so.6 (0x42840000)
- libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x428c0000)
- libglapi.so.0 => /usr/lib/libglapi.so.0 (0x42300000)
- libdrm.so.2 => /usr/lib/libdrm.so.2 (0x42a00000)
- libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0x42760000)
- libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x42820000)
- libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0x42b00000)
- libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x42980000)
- libxcb-dri3.so.0 => /usr/lib/libxcb-dri3.so.0 (0x42b20000)
- libxcb-present.so.0 => /usr/lib/libxcb-present.so.0 (0x42b40000)
- libxcb-sync.so.1 => /usr/lib/libxcb-sync.so.1 (0x42ba0000)
- libxshmfence.so.1 => /usr/lib/libxshmfence.so.1 (0x42be0000)
- libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0x42bc0000)
- libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x42550000)
- libblkid.so.1 => /lib/libblkid.so.1 (0x42170000)
- + readelf -S /usr/bin/evim
- There are 31 section headers, starting at offset 0x1d65f0:
- Section Headers:
- [Nr] Name Type Addr Off Size ES Flg Lk Inf Al
- [ 0] NULL 00000000 000000 000000 00 0 0 0
- [ 1] .interp PROGBITS 415d0154 000154 000019 00 A 0 0 1
- [ 2] .note.gnu.bu[...] NOTE 415d0170 000170 000024 00 A 0 0 4
- [ 3] .note.ABI-tag NOTE 415d0194 000194 000020 00 A 0 0 4
- [ 4] .gnu.hash GNU_HASH 415d01b4 0001b4 000018 04 A 5 0 4
- [ 5] .dynsym DYNSYM 415d01cc 0001cc 002c60 10 A 6 3 4
- [ 6] .dynstr STRTAB 415d2e2c 002e2c 003209 00 A 0 0 1
- [ 7] .gnu.version VERSYM 415d6036 006036 00058c 02 A 5 0 2
- [ 8] .gnu.version_r VERNEED 415d65c4 0065c4 000100 00 A 6 5 4
- [ 9] .rel.dyn REL 415d66c4 0066c4 00f0f8 08 A 5 0 4
- [10] .rel.plt REL 415e57bc 0157bc 001580 08 AI 5 22 4
- [11] .init PROGBITS 415e6d3c 016d3c 00000c 00 AX 0 0 4
- [12] .plt PROGBITS 415e6d48 016d48 0021a4 04 AX 0 0 4
- [13] .text PROGBITS 415e8ef0 018ef0 178b74 00 AX 0 0 8
- [14] .fini PROGBITS 41761a64 191a64 000008 00 AX 0 0 4
- [15] .rodata PROGBITS 41761a6c 191a6c 028ec4 00 A 0 0 4
- [16] .ARM.exidx ARM_EXIDX 4178a930 1ba930 000008 00 AL 13 0 4
- [17] .eh_frame PROGBITS 4178a938 1ba938 000004 00 A 0 0 4
- [18] .init_array INIT_ARRAY 4179af3c 1baf3c 000004 04 WA 0 0 4
- [19] .fini_array FINI_ARRAY 4179af40 1baf40 000004 04 WA 0 0 4
- [20] .data.rel.ro PROGBITS 4179af44 1baf44 00658c 00 WA 0 0 4
- [21] .dynamic DYNAMIC 417a14d0 1c14d0 000180 08 WA 6 0 4
- [22] .got PROGBITS 417a1650 1c1650 0019b0 04 WA 0 0 4
- [23] .data PROGBITS 417a3000 1c3000 012474 00 WA 0 0 8
- [24] .bss NOBITS 417b5478 1d5474 009240 00 WA 0 0 8
- [25] .ARM.attributes ARM_ATTRIBUTES 00000000 1d5474 000035 00 0 0 1
- [26] .gnu_debuglink PROGBITS 00000000 1d54ac 00000c 00 0 0 4
- [27] .gnu.liblist GNU_LIBLIST 00000000 1d54b8 0005dc 14 28 0 4
- [28] .gnu.libstr STRTAB 00000000 1d5a94 00049a 00 0 0 1
- [29] .gnu.prelink_undo PROGBITS 00000000 1d5f30 00058c 01 0 0 4
- [30] .shstrtab STRTAB 00000000 1d64bc 000133 00 0 0 1
- Key to Flags:
- W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
- L (link order), O (extra OS processing required), G (group), T (TLS),
- C (compressed), x (unknown), o (OS specific), E (exclude),
- y (purecode), p (processor specific)
- + sync
- + echo 3
- [ 620.880084] test.sh (944): drop_caches: 3
- + perf stat sh -c 'LD_BIND_NOW=true LD_DEBUG=statistics /usr/bin/evim 2>&1 > /dev/null'
- 955: number of relocations: 17543
- 955: number of relocations from cache: 1035
- 955: number of relative relocations: 38269
- E233: cannot open display
- 955:
- 955: runtime linker statistics:
- 955: final number of relocations: 17543
- 955: final number of relocations from cache: 1035
- Performance counter stats for 'sh -c LD_BIND_NOW=true LD_DEBUG=statistics /usr/bin/evim 2>&1 > /dev/null':
- 171.15 msec task-clock # 0.205 CPUs utilized
- 229 context-switches # 0.001 M/sec
- 0 cpu-migrations # 0.000 K/sec
- 791 page-faults # 0.005 M/sec
- <not counted> cycles (0.00%)
- <not counted> instructions (0.00%)
- <not counted> branches (0.00%)
- <not counted> branch-misses (0.00%)
- 0.835321489 seconds time elapsed
- 0.110834000 seconds user
- 0.064989000 seconds sys
- + set +x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement