Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/binutils.xml

    r22166ba r835e40c  
    5252<screen><userinput remap="configure">../configure --prefix=/usr       \
    5353             --sysconfdir=/etc   \
     54             --enable-gold       \
    5455             --enable-ld=default \
    5556             --enable-plugins    \
     
    6263
    6364      <varlistentry>
     65        <term><parameter>--enable-gold</parameter></term>
     66        <listitem>
     67          <para>Build the gold linker and install it as ld.gold (alongside the
     68          default linker).</para>
     69        </listitem>
     70      </varlistentry>
     71
     72      <varlistentry>
    6473        <term><parameter>--enable-ld=default</parameter></term>
    6574        <listitem>
     
    107116          ultimately be located) is set to <filename
    108117          class="directory">$(exec_prefix)/$(target_alias)</filename>. For
    109           example, 64-bit LoongArch machines would expand that to <filename
    110           class="directory">/usr/loongarch64-pc-linux-gnu</filename>. Because this is
     118          example, x86_64 machines would expand that to <filename
     119          class="directory">/usr/x86_64-pc-linux-gnu</filename>. Because this is
    111120          a custom system, this target-specific directory in <filename
    112121          class="directory">/usr</filename> is not required. <filename
     
    133142<screen><userinput remap="test">grep '^FAIL:' $(find -name '*.log')</userinput></screen>
    134143
     144    <para>Twelve tests fail in the gold test suite when the
     145    <option>--enable-default-pie</option> and
     146    <option>--enable-default-ssp</option> options are passed to GCC.</para>
     147
    135148    <para>Install the package:</para>
    136149
     
    153166
    154167      <seglistitem>
    155         <seg>addr2line, ar, as, c++filt, dwp, elfedit, gprof, gprofng, ld, ld.bfd, nm,
     168        <seg>addr2line, ar, as, c++filt, dwp, elfedit, gprof, gprofng, ld, ld.bfd, ld.gold, nm,
    156169        objcopy, objdump, ranlib, readelf, size, strings, and strip</seg>
    157170        <seg>libbfd.so, libctf.so, libctf-nobfd.so, libopcodes.so, and libsframe.so</seg>
     
    258271          <indexterm zone="ch-system-binutils ld">
    259272            <primary sortas="b-ld">ld</primary>
     273          </indexterm>
     274        </listitem>
     275      </varlistentry>
     276
     277      <varlistentry id="ld.gold">
     278        <term><command>ld.gold</command></term>
     279        <listitem>
     280          <para>A cut down version of ld that only supports the
     281          elf object file format</para>
     282          <indexterm zone="ch-system-binutils ld.gold">
     283            <primary sortas="b-ld.gold">ld.gold</primary>
    260284          </indexterm>
    261285        </listitem>
Note: See TracChangeset for help on using the changeset viewer.