diff options
| author | Fangrui Song <maskray@google.com> | 2020-01-22 23:26:49 -0800 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2020-01-24 09:06:52 -0800 |
| commit | 425d15aeb13e2f60867654dd1abab515447a71ec (patch) | |
| tree | 635d85cfe05d2f9dab4b0f1c420326071c18c165 /llvm/include | |
| parent | 901a7890c0e65060511c43d55fc347a1a5cb54ff (diff) | |
| download | bcm5719-llvm-425d15aeb13e2f60867654dd1abab515447a71ec.tar.gz bcm5719-llvm-425d15aeb13e2f60867654dd1abab515447a71ec.zip | |
[ELF][PowerPC] Support R_PPC_COPY and R_PPC64_COPY
Reviewed By: Bdragon28, jhenderson, grimar, sfertile
Differential Revision: https://reviews.llvm.org/D73255
(cherry picked from commit f1dab29908d25a4044abff6ffc120c48b20f034d)
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def b/llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def index 8c5b482f051..719d0c9c36a 100644 --- a/llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def +++ b/llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def @@ -26,6 +26,7 @@ #undef R_PPC64_GOT16_LO #undef R_PPC64_GOT16_HI #undef R_PPC64_GOT16_HA +#undef R_PPC64_COPY #undef R_PPC64_GLOB_DAT #undef R_PPC64_JMP_SLOT #undef R_PPC64_RELATIVE @@ -119,6 +120,7 @@ ELF_RELOC(R_PPC64_GOT16, 14) ELF_RELOC(R_PPC64_GOT16_LO, 15) ELF_RELOC(R_PPC64_GOT16_HI, 16) ELF_RELOC(R_PPC64_GOT16_HA, 17) +ELF_RELOC(R_PPC64_COPY, 19) ELF_RELOC(R_PPC64_GLOB_DAT, 20) ELF_RELOC(R_PPC64_JMP_SLOT, 21) ELF_RELOC(R_PPC64_RELATIVE, 22) |

