aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/strippingagain.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/strippingagain.xml')
-rw-r--r--chapter06/strippingagain.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/chapter06/strippingagain.xml b/chapter06/strippingagain.xml
index f95b534be..a1d1d8388 100644
--- a/chapter06/strippingagain.xml
+++ b/chapter06/strippingagain.xml
@@ -32,7 +32,8 @@
<!-- 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_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"-->
+<screen><userinput>save_lib="ld-&glibc-version;.so libc-&glibc-version;.so libpthread-&glibc-version;.so libthread_db-&libthread_db-version;.so"
cd /lib
@@ -42,9 +43,9 @@ for LIB in $save_lib; do
objcopy --add-gnu-debuglink=$LIB.dbg $LIB
done
-save_usrlib="libquadmath.so.0.0.0 libstdc++.so.6.0.23
- libmpx.so.2.0.1 libmpxwrappers.so.2.0.1 libitm.so.1.0.0
- libcilkrts.so.5.0.0 libatomic.so.1.2.0"
+save_usrlib="libquadmath.so.&libquadmath-version; libstdc++.so.&libstdcpp-version;
+ libmpx.so.&libmpx-version; libmpxwrappers.so.&libmpxwrap-version; libitm.so.&libitm-version;
+ libcilkrts.so.&libcilkrts-version; libatomic.so.&libatomic-version;"
cd /usr/lib