[ELF][MIPS] Support R_MIPS_COPY relocation
authorSimon Atanasyan <simon@atanasyan.com>
Mon, 8 Feb 2016 10:05:13 +0000 (10:05 +0000)
committerSimon Atanasyan <simon@atanasyan.com>
Mon, 8 Feb 2016 10:05:13 +0000 (10:05 +0000)
commite1bfc2e793d9f9b529031ca0e19f06a3340ee5fc
tree2f113345b2b76aa4863c173baf4dc848c1441f16
parented203da5586487b8eda9be49064c2235ba3fd112
[ELF][MIPS] Support R_MIPS_COPY relocation

Generate R_MIPS_COPY relocation for 'static' relocations against object
symbols defined in a shared libraries.

llvm-svn: 260083
lld/ELF/Target.cpp
lld/test/ELF/Inputs/mips-dynamic.s
lld/test/ELF/mips-plt-copy.s [new file with mode: 0644]