Switch system-wide arm default linker to gold.
I'll send out a PSA this weekend and submit this CL early next week.
Although this is a system-wide tool switch, it is a relative low risk
CL, restore to bfd for a single package is as easy as adding an extra
compiler option "-fuse-ld=bfd".
TEST=cbuildbot chromiumos-sdk daisy-release (togetehr with Luis's patch for force toolchain rebuild), all perf test
BUG=chromium:218956
Change-Id: I27f13600a0fafa50faf3d8ea5658642fc5f1ef27
Reviewed-on: https://chromium-review.googlesource.com/251201
Reviewed-by: Han Shen <shenhan@chromium.org>
Tested-by: Han Shen <shenhan@chromium.org>
Commit-Queue: Han Shen <shenhan@chromium.org>
diff --git a/scripts/cros_setup_toolchains.py b/scripts/cros_setup_toolchains.py
index e38cb8c..a081df7 100644
--- a/scripts/cros_setup_toolchains.py
+++ b/scripts/cros_setup_toolchains.py
@@ -53,6 +53,7 @@
# Overrides for {gcc,binutils}-config, pick a package with particular suffix.
CONFIG_TARGET_SUFFIXES = {
'binutils' : {
+ 'armv7a-cros-linux-gnueabi': '-gold',
'i686-pc-linux-gnu' : '-gold',
'x86_64-cros-linux-gnu' : '-gold',
},