aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2022-02-17 19:07:23 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2022-02-17 19:39:07 +0800
commite5b4b3fff6b3eddaa1bc2d920c11fb964d0e3668 (patch)
treed4a2e3a6841d1c9d2adf3b527ca2a710f625b4b7
parent24fe054b4e727b5f6ffcf0f4a07ee58672ab4116 (diff)
gcc: update contents and descriptions
Add lto-dump and libitm, and reword description for liblto_plugin because it's actually used by libbfd (from binutils).
-rw-r--r--chapter08/gcc.xml28
1 files changed, 25 insertions, 3 deletions
diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml
index e3db3bf1f..cd3a9b9fe 100644
--- a/chapter08/gcc.xml
+++ b/chapter08/gcc.xml
@@ -345,7 +345,8 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
<seglistitem>
<seg>c++, cc (link to gcc), cpp, g++, gcc,
- gcc-ar, gcc-nm, gcc-ranlib, gcov, gcov-dump, and gcov-tool</seg>
+ gcc-ar, gcc-nm, gcc-ranlib, gcov, gcov-dump, gcov-tool,
+ and lto-dump</seg>
<seg>libasan.{a,so}, libatomic.{a,so}, libcc1.so, libgcc.a, libgcc_eh.a,
libgcc_s.so, libgcov.a, libgomp.{a,so}, libitm.{a,so},
@@ -485,6 +486,17 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry id="lto-dump">
+ <term><command>lto-dump</command></term>
+ <listitem>
+ <para>Tool for dumping object files produced by GCC with LTO
+ enabled</para>
+ <indexterm zone="ch-system-gcc lto-dump">
+ <primary sortas="b-lto-dump">lto-dump</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="libasan">
<term><filename class="libraryfile">libasan</filename></term>
<listitem>
@@ -547,6 +559,16 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
</listitem>
</varlistentry>
+ <varlistentry id="libitm">
+ <term><filename class="libraryfile">libitm</filename></term>
+ <listitem>
+ <para>The GNU transactional memory library</para>
+ <indexterm zone="ch-system-gcc libitm">
+ <primary sortas="c-libitm">libitm</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="liblsan">
<term><filename class="libraryfile">liblsan</filename></term>
<listitem>
@@ -560,8 +582,8 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib</userinput></screen>
<varlistentry id="liblto_plugin">
<term><filename class="libraryfile">liblto_plugin</filename></term>
<listitem>
- <para>GCC's Link Time Optimization (LTO) plugin allows GCC to perform
- optimizations across compilation units</para>
+ <para>GCC's LTO plugin allows binutils to process object files
+ produced by GCC with LTO enabled</para>
<indexterm zone="ch-system-gcc liblto_plugin">
<primary sortas="c-liblto_plugin">liblto_plugin</primary>
</indexterm>