commit | 6584d946102f0e52e7365fa8d05922b6dee29e70 | [log] [tgz] |
---|---|---|
author | Tim Northover <tnorthover@apple.com> | Wed Apr 02 14:39:11 2014 +0000 |
committer | Tim Northover <tnorthover@apple.com> | Wed Apr 02 14:39:11 2014 +0000 |
tree | cb279303dd18a510795326d8661ca4a05cdf5dc6 | |
parent | 671c92d886c1559e1986141b6f7bb268a63c911e [diff] |
ARM64: use GOT for weak symbols & PIC. Weak symbols cannot use the small code model's usual ADRP sequences since the instruction simply may not be able to encode a value of 0. This redirects them to use the GOT, which hopefully linkers are able to cope with even in the static relocation model. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205426 91177308-0d34-0410-b5e6-96231b3b80d8