loongarch: binutils: Don't enable gold

gold has no LoongArch support, so --enable-gold will cause a build
failure.
This commit is contained in:
Xi Ruoyao 2023-06-11 05:36:52 +08:00
parent f272b23795
commit 3ba50cf694
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -51,7 +51,6 @@ cd build</userinput></screen>
<screen><userinput remap="configure">../configure --prefix=/usr \
--sysconfdir=/etc \
--enable-gold \
--enable-ld=default \
--enable-plugins \
--enable-shared \
@ -61,14 +60,6 @@ cd build</userinput></screen>
<variablelist>
<title>The meaning of the configure parameters:</title>
<varlistentry>
<term><parameter>--enable-gold</parameter></term>
<listitem>
<para>Build the gold linker and install it as ld.gold (alongside the
default linker).</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>--enable-ld=default</parameter></term>
<listitem>
@ -141,10 +132,6 @@ cd build</userinput></screen>
<screen><userinput remap="test">grep '^FAIL:' $(find -name '*.log')</userinput></screen>
<para>Twelve tests fail in the gold test suite when the
<option>--enable-default-pie</option> and
<option>--enable-default-ssp</option> options are passed to GCC.</para>
<para>Install the package:</para>
<screen><userinput remap="install">make tooldir=/usr install</userinput></screen>
@ -165,7 +152,7 @@ rm -fv /usr/share/man/man1/{gprofng,gp-*}.1</userinput></screen>
<segtitle>Installed directory</segtitle>
<seglistitem>
<seg>addr2line, ar, as, c++filt, dwp, elfedit, gprof, gprofng, ld, ld.bfd, ld.gold, nm,
<seg>addr2line, ar, as, c++filt, dwp, elfedit, gprof, gprofng, ld, ld.bfd, 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>/usr/lib/ldscripts</seg>
@ -274,17 +261,6 @@ rm -fv /usr/share/man/man1/{gprofng,gp-*}.1</userinput></screen>
</listitem>
</varlistentry>
<varlistentry id="ld.gold">
<term><command>ld.gold</command></term>
<listitem>
<para>A cut down version of ld that only supports the
elf object file format</para>
<indexterm zone="ch-system-binutils ld.gold">
<primary sortas="b-ld.gold">ld.gold</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="ld.bfd">
<term><command>ld.bfd</command></term>
<listitem>