From 4350669654193cfd741a9ff9def436efb9b13bef Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 3 Aug 2021 21:58:23 -0500 Subject: Make stripping work fo rboth x86 and x86_64 --- chapter08/strippingagain.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'chapter08') diff --git a/chapter08/strippingagain.xml b/chapter08/strippingagain.xml index 7692f6ce9..bf2493b02 100644 --- a/chapter08/strippingagain.xml +++ b/chapter08/strippingagain.xml @@ -40,10 +40,15 @@ Read the related entry in for the rationale to use the install command here. + The linux loader's name is ld-linux-x86-64.so.2 on 64-bit systems + and ld-linux.so.2 on 32-bit systems. The contruct below selects the + correct name for the current architecture. + + -save_usrlib="ld-linux-x86-64.so.2 + save_usrlib="$(cd /usr/lib; ls ld_linux*) libc.so.6 libthread_db.so.1 libquadmath.so.&libquadmath-version; -- cgit v1.2.3-54-g00ecf