Red Hat Bugzilla – Bug 908966
Enable gold linker for ARM architecture
Last modified: 2013-03-06 11:13:39 EST
Description of problem:
Gold linker in binutils is currently only built for x86 platforms. Would it be possible to enable building the gold linker for arm? Some people might like the faster linker.
With a simple test build it appeared that gold linker is buildable in
Just need the following change in the binutils.spec to enable it.
$ diff -u binutils.spec.x binutils.spec
--- binutils.spec.x 2013-03-05 11:55:01.389026867 -0500
+++ binutils.spec 2013-03-05 11:55:17.944308415 -0500
@@ -47,7 +47,7 @@
-%define gold_arches %ix86 x86_64
+%define gold_arches %ix86 x86_64 %arm
%define build_gold both
binutils appears to build without problem as a fedora 19 scratch build with gold enabled:
binutils-22.214.171.124.1-4.fc19 now contains this patch.