summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2021-05-11 15:53:31 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-11 15:53:31 +0000
commit3f42d04145e3c2f6bd6f236bc4eb4630d84fb3b7 (patch)
treee90c882bb55d9c813e7cb71660222f2cb299c2ae
parent949980c8fbf6281e573e2d5dd2e44dab2c578f14 (diff)
parentd8f7e0ee321bce64c601a20345d0ef15391229fc (diff)
downloadmclinker-3f42d04145e3c2f6bd6f236bc4eb4630d84fb3b7.tar.gz
Original change: https://android-review.googlesource.com/c/platform/frameworks/compile/mclinker/+/1702185 Change-Id: Ie5d9698f9f7fc907b2125c2d1aec0fd20293c534
-rw-r--r--lib/Core/IRBuilder.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Core/IRBuilder.cpp b/lib/Core/IRBuilder.cpp
index 4c6eab8..3c3823e 100644
--- a/lib/Core/IRBuilder.cpp
+++ b/lib/Core/IRBuilder.cpp
@@ -82,6 +82,7 @@ LDFileFormat::Kind GetELFSectionKind(uint32_t pType,
return LDFileFormat::NamePool;
case llvm::ELF::SHT_RELA:
case llvm::ELF::SHT_REL:
+ case 19 /*llvm::ELF::SHT_RELR*/:
return LDFileFormat::Relocation;
case llvm::ELF::SHT_NOBITS:
return LDFileFormat::BSS;