commit | ee8091affaedaacc7ba723b8699950a3b2078d21 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue May 11 14:49:40 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue May 11 14:49:40 2021 +0000 |
tree | e90c882bb55d9c813e7cb71660222f2cb299c2ae | |
parent | 00e2459843d96764a65e1ad4426dd8e4517d7b37 [diff] | |
parent | 036793a771d662ee50555aba082ef2772fb2144f [diff] |
Merge "Teach mclinker that SHT_RELR sections are just relocations."
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 @@ 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;