Changeset a11cbb1


Ignore:
Timestamp:
02/28/2024 04:02:53 PM (3 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/mips64el
Children:
e871ed6
Parents:
057e32dc
git-author:
Xi Ruoyao <xry111@…> (02/03/2024 02:40:30 PM)
git-committer:
Xi Ruoyao <xry111@…> (02/28/2024 04:02:53 PM)
Message:

mips64el: binutils: Do not --enable-gold

MIPS does not support DT_GNU_HASH and DT_MIPS_XHASH is used instead with
--enable-default-hash-style=gnu. But gold does not support DT_MIPS_XHASH
so it will be completely useless and produce many test failures. Just
disable it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/binutils.xml

    r057e32dc ra11cbb1  
    5252<screen><userinput remap="configure">../configure --prefix=/usr       \
    5353             --sysconfdir=/etc   \
    54              --enable-gold       \
    5554             --enable-ld=default \
    5655             --enable-plugins    \
     
    6362    <variablelist>
    6463      <title>The meaning of the new configure parameters:</title>
    65 
    66       <varlistentry>
    67         <term><parameter>--enable-gold</parameter></term>
    68         <listitem>
    69           <para>Build the gold linker and install it as ld.gold (alongside the
    70           default linker).</para>
    71         </listitem>
    72       </varlistentry>
    7364
    7465      <varlistentry>
     
    136127<screen><userinput remap="test">grep '^FAIL:' $(find -name '*.log')</userinput></screen>
    137128
    138     <para>Twelve tests fail in the gold test suite when the
    139     <option>--enable-default-pie</option> and
    140     <option>--enable-default-ssp</option> options are passed to GCC.</para>
    141 
    142129 <!--    <para>Three tests in the gprofng suite are also known to fail.</para>-->
    143130
     
    161148
    162149      <seglistitem>
    163         <seg>addr2line, ar, as, c++filt, dwp, elfedit, gprof, gprofng, ld, ld.bfd, ld.gold, nm,
     150        <seg>addr2line, ar, as, c++filt, dwp, elfedit, gprof, gprofng, ld, ld.bfd, nm,
    164151        objcopy, objdump, ranlib, readelf, size, strings, and strip</seg>
    165152        <seg>libbfd.so, libctf.so, libctf-nobfd.so, libgprofng.so,
     
    267254          <indexterm zone="ch-system-binutils ld">
    268255            <primary sortas="b-ld">ld</primary>
    269           </indexterm>
    270         </listitem>
    271       </varlistentry>
    272 
    273       <varlistentry id="ld.gold">
    274         <term><command>ld.gold</command></term>
    275         <listitem>
    276           <para>A cut down version of ld that only supports the
    277           elf object file format</para>
    278           <indexterm zone="ch-system-binutils ld.gold">
    279             <primary sortas="b-ld.gold">ld.gold</primary>
    280256          </indexterm>
    281257        </listitem>
Note: See TracChangeset for help on using the changeset viewer.