From 40ca48d44fb8794633a466015ab5b34f978bf2c6 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Thu, 6 Feb 2025 10:44:28 +0800 Subject: [PATCH] binutils: Drop stale references to gold I'm surprised --enable-gold doesn't cause an error when the tarball does not contain gold. --- chapter08/binutils.xml | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml index 6717543da..70f6bd026 100644 --- a/chapter08/binutils.xml +++ b/chapter08/binutils.xml @@ -57,7 +57,6 @@ cd build ../configure --prefix=/usr \ --sysconfdir=/etc \ - --enable-gold \ --enable-ld=default \ --enable-plugins \ --enable-shared \ @@ -70,14 +69,6 @@ cd build The meaning of the new configure parameters: - - --enable-gold - - Build the gold linker and install it as ld.gold (alongside the - default linker). - - - --enable-ld=default @@ -142,12 +133,6 @@ cd build grep '^FAIL:' $(find -name '*.log') - Twelve tests fail in the gold test suite when the - and - options are passed to GCC. - - - Install the package: make tooldir=/usr install @@ -167,7 +152,7 @@ cd build Installed directory - addr2line, ar, as, c++filt, dwp, elfedit, gprof, gprofng, ld, ld.bfd, ld.gold, nm, + addr2line, ar, as, c++filt, dwp, elfedit, gprof, gprofng, ld, ld.bfd, nm, objcopy, objdump, ranlib, readelf, size, strings, and strip libbfd.so, libctf.so, libctf-nobfd.so, libgprofng.so, libopcodes.so, and libsframe.so @@ -277,17 +262,6 @@ cd build - - ld.gold - - A cut down version of ld that only supports the - elf object file format - - ld.gold - - - - ld.bfd