chromium/deps/gold.git
14 months agoLinux: Upgrade to gold 2.23.2. Include a patch to fix a race in the ehframe code. master
thestig@chromium.org [Wed, 16 Oct 2013 22:28:25 +0000 (22:28 +0000)]
Linux: Upgrade to gold 2.23.2. Include a patch to fix a race in the ehframe code.

BUG=161942
R=thakis@chromium.org

Review URL: https://codereview.chromium.org/27594002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/gold@228995 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

18 months agoAdd an OWNERS file for gold.
thestig@chromium.org [Mon, 3 Jun 2013 20:06:33 +0000 (20:06 +0000)]
Add an OWNERS file for gold.

R=thakis@chromium.org

Review URL: https://codereview.chromium.org/15995022

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/gold@203758 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoUpdate README.chromium for gold linker.
thakis@chromium.org [Fri, 16 Nov 2012 00:16:50 +0000 (00:16 +0000)]
Update README.chromium for gold linker.

The binaries for gold were already committed in a
previous CL.

BUG=127646
Review URL: https://codereview.chromium.org/11363231/
Patch from Sam Clegg <sbc@chromium.org>!

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/gold@168091 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoUpdate gold linker to binutils 23.1
thakis@chromium.org [Thu, 15 Nov 2012 18:48:07 +0000 (18:48 +0000)]
Update gold linker to binutils 23.1

Rebuilt gold32 and gold64 inside i386 and amd64 lucid
chroots.

This fixes a bug in the arm linker which causes a
chrome crash on startup.

BUG=127646
Review URL: http://codereview.chromium.org/11363231/
Patch by Sam Clegg <sbc@chromium.org>!

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/gold@167975 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoFix license metadata for gold
steveblock@chromium.org [Fri, 3 Aug 2012 15:02:08 +0000 (15:02 +0000)]
Fix license metadata for gold

BUG=138921

Review URL: https://chromiumcodereview.appspot.com/10830161

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/gold@149858 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoAdd a 32-bit gold binary and use it. git-svn
thestig@chromium.org [Wed, 29 Feb 2012 20:23:23 +0000 (20:23 +0000)]
Add a 32-bit gold binary and use it.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9508007

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/gold@124239 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoPrevent a possible deadlock in the linker script when using goma.
thakis@chromium.org [Thu, 16 Feb 2012 15:38:37 +0000 (15:38 +0000)]
Prevent a possible deadlock in the linker script when using goma.

Make (and now ninja) run ld under flock. Goma allows only a limited
number N of local gcc processes, which it does by running a custom gcc.

If N gcc processes are trying to run a link, N-1 will be waiting on
flock. The Nth process then tries to call an N+1th gcc process to determine the
bitness of the system, which blocks.

As a workaround, use getconf to determine bitness instead.
Review URL: https://chromiumcodereview.appspot.com/9402039

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/gold@122292 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoUpdate gold README.chromium to match install-build-deps.sh.
evan@chromium.org [Tue, 7 Feb 2012 00:09:10 +0000 (00:09 +0000)]
Update gold README.chromium to match install-build-deps.sh.

Rather than a script, I think instructions are simpler.
Review URL: https://chromiumcodereview.appspot.com/9328022

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/gold@120645 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoIn the non-x64 fallback code path, use the system ld.
evan@chromium.org [Fri, 3 Feb 2012 22:30:18 +0000 (22:30 +0000)]
In the non-x64 fallback code path, use the system ld.

The 32-bit buildbots are set up with gold as the system ld, and
fail when this code causes them to fall back to bfd ld.
Review URL: https://chromiumcodereview.appspot.com/9328007

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/gold@120423 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoWork around 32-bit Linux userlands.
evan@chromium.org [Fri, 3 Feb 2012 19:48:40 +0000 (19:48 +0000)]
Work around 32-bit Linux userlands.

- Move the gold binary to "gold64".
- Make "ld" a script that tests the userland bitness and executes the
  appropriate helper.

TEST=gold/ld --version is gold on my machine, but bfd linker when
I corrupt the string the script searches for.
Review URL: https://chromiumcodereview.appspot.com/9323038

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/gold@120368 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoRebuild ld on an older machine to attempt to make it work on bots.
evan@chromium.org [Tue, 31 Jan 2012 20:10:02 +0000 (20:10 +0000)]
Rebuild ld on an older machine to attempt to make it work on bots.

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/gold@119943 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoCheck in a binary of gold from binutils 2.21.1.
evan@chromium.org [Tue, 31 Jan 2012 19:01:13 +0000 (19:01 +0000)]
Check in a binary of gold from binutils 2.21.1.

This will be used by the Chrome build to make gold the default.
Review URL: https://chromiumcodereview.appspot.com/9302017

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/gold@119932 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoMake a gold/ dir in third_party to check in a binary.
evan@chromium.org [Mon, 30 Jan 2012 23:21:28 +0000 (23:21 +0000)]
Make a gold/ dir in third_party to check in a binary.

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/gold@119762 4ff67af0-8c30-449e-8e8b-ad334ec8d88c