diff options
author | Peter Smith <peter.smith@linaro.org> | 2016-11-09 10:22:29 +0000 |
---|---|---|
committer | Peter Smith <peter.smith@linaro.org> | 2016-11-09 10:22:29 +0000 |
commit | 8339bbd75929ad2d28b4a5a8777bf34f783cc131 (patch) | |
tree | 8d6aeacaf6e65912177e82afd72150ece3c0c57c /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | 222fd13e3f53881026111935f655f806a79153c7 (diff) | |
download | llvm-8339bbd75929ad2d28b4a5a8777bf34f783cc131.zip llvm-8339bbd75929ad2d28b4a5a8777bf34f783cc131.tar.gz llvm-8339bbd75929ad2d28b4a5a8777bf34f783cc131.tar.bz2 |
[ELF] ARM and AArch64 undefined weak reference values
The ARM 32 and 64-bit ABI does not use 0 for undefined weak references
that are used in PC relative relocations. In particular:
- A branch relocation to an undefined weak resolves to the next
instruction. Effectively making the branch a no-op
- In all other cases the symbol resolves to the place so that S + A - P
resolves to A.
Differential Revision: https://reviews.llvm.org/D26240
llvm-svn: 286353
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions