commit | 0051096059ac72c809d6439f589795d086047720 | [log] [tgz] |
---|---|---|
author | Martin Storsjo <martin@martin.st> | Wed Jul 19 20:14:32 2017 +0000 |
committer | Martin Storsjo <martin@martin.st> | Wed Jul 19 20:14:32 2017 +0000 |
tree | c6a51968aa5c75ed4feba16a5586d2273cb7c5fc | |
parent | 7b5942105005ee09c9ac2b3d00532ff8d7fe8e08 [diff] |
[AArch64] Force relocations for all ADRP instructions This generalizes an existing fix from ELF to MachO and COFF. Test that an ADRP to a local symbol whose offset is known at assembly time still produces relocations, both for MachO and COFF. Test that an ADRP without a @page modifier on MachO fails (previously it didn't). Differential Revision: https://reviews.llvm.org/D35544 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@308518 91177308-0d34-0410-b5e6-96231b3b80d8