aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-08-10 13:45:01 +0800
committerXi Ruoyao <xry111@xry111.site>2023-08-10 13:45:01 +0800
commitf0b518a01e2cfaf12c277ca6fb4cf30e96498d8a (patch)
treebec3b27cefb1bb48843688f95fabf29352ddb699
parent30e0a7b28fa9c2a1c2e0347cf62eef44448ab1b3 (diff)
binutils: Remove libgprofng.a, add libgprofng.so into contents section
-rw-r--r--chapter08/binutils.xml16
1 files changed, 14 insertions, 2 deletions
diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml
index 5ff11a755..1fd436bd1 100644
--- a/chapter08/binutils.xml
+++ b/chapter08/binutils.xml
@@ -153,7 +153,7 @@ cd build</userinput></screen>
<para>Remove useless static libraries:</para>
-<screen><userinput remap="install">rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,sframe,opcodes}.a</userinput></screen>
+<screen><userinput remap="install">rm -fv /usr/lib/lib{bfd,ctf,ctf-nobfd,gprofng,opcodes,sframe}.a</userinput></screen>
</sect2>
@@ -168,7 +168,8 @@ cd build</userinput></screen>
<seglistitem>
<seg>addr2line, ar, as, c++filt, dwp, elfedit, gprof, gprofng, ld, ld.bfd, ld.gold, nm,
objcopy, objdump, ranlib, readelf, size, strings, and strip</seg>
- <seg>libbfd.so, libctf.so, libctf-nobfd.so, libopcodes.so, and libsframe.so</seg>
+ <seg>libbfd.so, libctf.so, libctf-nobfd.so, libgprofng.so,
+ libopcodes.so, and libsframe.so</seg>
<seg>/usr/lib/ldscripts</seg>
</seglistitem>
</segmentedlist>
@@ -416,6 +417,17 @@ cd build</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry id="libgprofng">
+ <term><filename class="libraryfile">libgprofng</filename></term>
+ <listitem>
+ <para>A library containing most routines used by
+ <command>gprofng</command></para>
+ <indexterm zone="ch-system-binutils libgprofng">
+ <primary sortas="c-libgprofng">libgprofng</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="libopcodes">
<term><filename class="libraryfile">libopcodes</filename></term>
<listitem>