[ELF/AArch64] Support R_AARCH64_COPY relocation.
authorIgor Kudrin <ikudrin.dev@gmail.com>
Thu, 3 Dec 2015 08:05:35 +0000 (08:05 +0000)
committerIgor Kudrin <ikudrin.dev@gmail.com>
Thu, 3 Dec 2015 08:05:35 +0000 (08:05 +0000)
commit9606d19a65254ae2a399895f7db84d788b63f926
treeddbfec8df394a3e177a794f6d2e5e67d6225e97b
parent7b531c1a110fe35387fe5eac754590352fcaf7b1
[ELF/AArch64] Support R_AARCH64_COPY relocation.

Generate R_AARCH64_COPY relocations for non-GOT relocations,
which reference object symbols from shared libraries.

Differential revision: http://reviews.llvm.org/D15043

llvm-svn: 254591
lld/ELF/Target.cpp
lld/test/ELF/Inputs/relocation-copy.s
lld/test/ELF/aarch64-copy.s [new file with mode: 0644]