aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/stripping.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/chapter08/stripping.xml b/chapter08/stripping.xml
index e7ab14f6d..519119088 100644
--- a/chapter08/stripping.xml
+++ b/chapter08/stripping.xml
@@ -42,12 +42,14 @@
<note><para>The ELF loader's name is ld-linux-x86-64.so.2 on 64-bit systems
and ld-linux.so.2 on 32-bit systems. The construct below selects the
- correct name for the current architecture.</para></note>
+ correct name for the current architecture, excluding anything ending
+ with <quote>g</quote>, in case the commands below have already been
+ run.</para></note>
<!-- 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="$(cd /usr/lib; ls ld-linux*)
+<screen><userinput>save_usrlib="$(cd /usr/lib; ls ld-linux*[^g])
libc.so.6
libthread_db.so.1
libquadmath.so.&libquadmath-version;