Skip to content

Instantly share code, notes, and snippets.

@am11
Last active August 29, 2015 14:13
Show Gist options
  • Save am11/e075d33f2bb7ab6e0cde to your computer and use it in GitHub Desktop.
Save am11/e075d33f2bb7ab6e0cde to your computer and use it in GitHub Desktop.
readelf -d build/Release/binding.node (its still node-sass)
# `readelf -d build/Release/binding.node` in node-sass root,
# after running `node-gyp rebuild` once on Linux
# (don't forget to apply the patch described here:
# https://github.com/sass/node-sass/issues/602#issuecomment-70369562) :)
Dynamic section at offset 0x16bc48 contains 29 entries:
Tag Type Name/Value
0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libgcc_s.so.1]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
0x000000000000000e (SONAME) Library soname: [binding.node]
0x000000000000000c (INIT) 0x65668
0x000000000000000d (FINI) 0x13617c
0x0000000000000019 (INIT_ARRAY) 0x365230
0x000000000000001b (INIT_ARRAYSZ) 216 (bytes)
0x000000000000001a (FINI_ARRAY) 0x365308
0x000000000000001c (FINI_ARRAYSZ) 8 (bytes)
0x000000006ffffef5 (GNU_HASH) 0x1f0
0x0000000000000005 (STRTAB) 0x1a720
0x0000000000000006 (SYMTAB) 0x6458
0x000000000000000a (STRSZ) 186839 (bytes)
0x000000000000000b (SYMENT) 24 (bytes)
0x0000000000000003 (PLTGOT) 0x36d000
0x0000000000000002 (PLTRELSZ) 24504 (bytes)
0x0000000000000014 (PLTREL) RELA
0x0000000000000017 (JMPREL) 0x5f6b0
0x0000000000000007 (RELA) 0x49cf0
0x0000000000000008 (RELASZ) 88512 (bytes)
0x0000000000000009 (RELAENT) 24 (bytes)
0x000000006ffffffe (VERNEED) 0x49be0
0x000000006fffffff (VERNEEDNUM) 5
0x000000006ffffff0 (VERSYM) 0x480f8
0x000000006ffffff9 (RELACOUNT) 258
0x0000000000000000 (NULL) 0x0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment