commit | 59349ad8ad18d1b2e9ee6741d91d01dd74b63710 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Thu Jul 03 23:28:03 2014 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Thu Jul 03 23:28:03 2014 +0000 |
tree | 84654af95d7d2b4f776fb9c76a8c84a0d7b431ae | |
parent | 1e64b30a9b96deeb3e168d415570a8c92488505f [diff] |
gold plugin: move target initialization to the top of the onload function. On at least my machine, ar does not register an all symbols read hook (which previously triggered target initialization), but it does register a claim files hook, which depends on the targets being initialized. Differential Revision: http://reviews.llvm.org/D4372 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212303 91177308-0d34-0410-b5e6-96231b3b80d8