1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[AVR] Handle AVR relocations when handling ELF files

llvm-svn: 282586
This commit is contained in:
Dylan McKay 2016-09-28 13:23:42 +00:00
parent 446fa94ea9
commit 39aec8aa4e

View File

@ -54,6 +54,13 @@ StringRef getELFRelocationTypeName(uint32_t Machine, uint32_t Type) {
break;
}
break;
case ELF::EM_AVR:
switch (Type) {
#include "llvm/Support/ELFRelocs/AVR.def"
default:
break;
}
break;
case ELF::EM_HEXAGON:
switch (Type) {
#include "llvm/Support/ELFRelocs/Hexagon.def"