diff options
Diffstat (limited to 'chapter08/strippingagain.xml')
-rw-r--r-- | chapter08/strippingagain.xml | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/chapter08/strippingagain.xml b/chapter08/strippingagain.xml index f1eaa060d..9c162a86a 100644 --- a/chapter08/strippingagain.xml +++ b/chapter08/strippingagain.xml @@ -43,9 +43,14 @@ <!-- also of interest are libgfortan, libgo, libgomp, and libobjc from GCC --> <!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"--> -<screen><userinput>save_usrlib="ld-&glibc-version;.so libc-&glibc-version;.so libpthread-&glibc-version;.so libthread_db-&libthread_db-version;.so - libquadmath.so.&libquadmath-version; libstdc++.so.&libstdcpp-version; - libitm.so.&libitm-version; libatomic.so.&libatomic-version;" <!-- libcilkrts.so.&libcilkrts-version;--> +<screen><userinput>save_usrlib="ld-linux-x86-64.so.2 + libc.so.6 + libpthread.so.6 + libthread_db.so + libquadmath.so.&libquadmath-version; + libstdc++.so.6 + libitm.so.&libitm-version; + libatomic.so.&libatomic-version;" cd /usr/lib @@ -59,10 +64,13 @@ for LIB in $save_usrlib; do done online_usrbin="bash find strip" -online_usrlib="libbfd-&binutils-version;.so libdl-&glibc-version;.so - libhistory.so.&readline-version; libncursesw.so.&ncurses-version; - libm-&glibc-version;.so libreadline.so.&readline-version; - libz.so.&zlib-version; +online_usrlib="libbfd.so + libdl.so.2 + libhistory.so + libncursesw.so + libm.so.6 + libreadline.so + libz.so $(cd /usr/lib; find libnss*.so* -type f)" for BIN in $online_usrbin; do |