aboutsummaryrefslogtreecommitdiffstats
path: root/chapter01
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2021-07-28 17:00:25 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2021-07-28 18:46:22 +0800
commit08f72423ce26a60982fb06fb4b34f800d2c8a3ad (patch)
treec81ff943134f6ee2400c03ee5077a801ce24ac1a /chapter01
parent79902f4e5120549197b50e735c812b2ec545e520 (diff)
always use --strip-unneeded for stripping
The behavior of --strip-unneeded and --strip-all are same for executables and shared libraries. For static libraries, --strip-unneeded keeps the symbols needed for relocation processing so it won't break static archives.
Diffstat (limited to 'chapter01')
-rw-r--r--chapter01/changelog.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index ab4b04b7e..c84ee042a 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -47,6 +47,16 @@
<para>2021-07-27</para>
<itemizedlist>
<listitem>
+ <para>[xry111] - Always use --strip-unneeded for stripping.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
+ <listitem>
+ <para>2021-07-27</para>
+ <itemizedlist>
+ <listitem>
<para>[xry111] - Use workaround for Glibc NSS modules during
stripping, to prevent bash from crash.</para>
</listitem>