Changeset 3388c22 for chapter08/strippingagain.xml
- Timestamp:
- 07/26/2021 07:13:05 AM (3 years ago)
- Branches:
- ml-11.0, multilib
- Children:
- 85cd74c2
- Parents:
- f18f2d6 (diff), ff96923 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/strippingagain.xml
rf18f2d6 r3388c22 35 35 <!--<screen><userinput>save_lib="ld-2.25.so libc-2.25.so libpthread-2.25.so libthread_db-1.0.so"--> 36 36 <screen><userinput>save_usrlib="ld-&glibc-version;.so libc-&glibc-version;.so libpthread-&glibc-version;.so libthread_db-&libthread_db-version;.so 37 libquadmath.so.&libquadmath-version; libstdc++.so.&libstdcpp-version; 37 libquadmath.so.&libquadmath-version; libstdc++.so.&libstdcpp-version; libz.so.&zlib-version; 38 38 libitm.so.&libitm-version; libatomic.so.&libatomic-version;" <!-- libcilkrts.so.&libcilkrts-version;--> 39 39 … … 41 41 for LIB in $save_usrlib; do 42 42 objcopy --only-keep-debug $LIB $LIB.dbg 43 strip --strip-unneeded $LIB 44 objcopy --add-gnu-debuglink=$LIB.dbg $LIB 43 cp $LIB /tmp/$LIB 44 strip --strip-unneeded /tmp/$LIB 45 objcopy --add-gnu-debuglink=$LIB.dbg /tmp/$LIB 46 install -vm755 /tmp/$LIB /usr/lib 47 rm /tmp/$LIB 45 48 done</userinput> 46 49 <userinput arch="ml_32,ml_all"> 47 50 cd /usr/lib32 48 51 for LIB in $save_usrlib; do 49 objcopy --only-keep-debug $LIB $LIB.dbg 50 strip --strip-unneeded $LIB 51 objcopy --add-gnu-debuglink=$LIB.dbg $LIB 52 objcopy --only-keep-debug $LIB $LIB.dbg 53 cp $LIB /tmp/$LIB 54 strip --strip-unneeded /tmp/$LIB 55 objcopy --add-gnu-debuglink=$LIB.dbg /tmp/$LIB 56 install -vm755 /tmp/$LIB /usr/lib32 57 rm /tmp/$LIB 52 58 done</userinput> 53 59 <userinput arch="ml_x32,ml_all"> 54 60 cd /usr/libx32 55 61 for LIB in $save_usrlib; do 56 objcopy --only-keep-debug $LIB $LIB.dbg 57 strip --strip-unneeded $LIB 58 objcopy --add-gnu-debuglink=$LIB.dbg $LIB 62 objcopy --only-keep-debug $LIB $LIB.dbg 63 cp $LIB /tmp/$LIB 64 strip --strip-unneeded /tmp/$LIB 65 objcopy --add-gnu-debuglink=$LIB.dbg /tmp/$LIB 66 install -vm755 /tmp/$LIB /usr/libx32 67 rm /tmp/$LIB 59 68 done</userinput><userinput> 60 69 … … 76 85 -exec strip --strip-debug {} ';'</userinput><userinput> 77 86 78 find /usr/lib -type f -name \*.so* ! -name \*dbg \87 find /usr/lib -type f -name \*.so* ! -name \*dbg ! -name libz.so* \ 79 88 -exec strip --strip-unneeded {} ';'</userinput> 80 <userinput arch="ml_32,ml_all">find /usr/lib32 -type f -name \*.so* ! -name \*dbg \89 <userinput arch="ml_32,ml_all">find /usr/lib32 -type f -name \*.so* ! -name \*dbg ! -name libz.so* \ 81 90 -exec strip --strip-unneeded {} ';'</userinput> 82 <userinput arch="ml_x32,ml_all">find /usr/libx32 -type f -name \*.so* ! -name \*dbg \91 <userinput arch="ml_x32,ml_all">find /usr/libx32 -type f -name \*.so* ! -name \*dbg ! -name libz.so* \ 83 92 -exec strip --strip-unneeded {} ';'</userinput><userinput> 84 93
Note:
See TracChangeset
for help on using the changeset viewer.