Skip to content

Commit 38e3973

Browse files
author
Dylan McKay
committed
[AVR] Handle AVR relocations when handling ELF files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282586 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent e62cb24 commit 38e3973

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/Object/ELF.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@ StringRef getELFRelocationTypeName(uint32_t Machine, uint32_t Type) {
5454
break;
5555
}
5656
break;
57+
case ELF::EM_AVR:
58+
switch (Type) {
59+
#include "llvm/Support/ELFRelocs/AVR.def"
60+
default:
61+
break;
62+
}
63+
break;
5764
case ELF::EM_HEXAGON:
5865
switch (Type) {
5966
#include "llvm/Support/ELFRelocs/Hexagon.def"

0 commit comments

Comments
 (0)