[llvm] r282586 - [AVR] Handle AVR relocations when handling ELF files
Dylan McKay via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 28 06:23:42 PDT 2016
Author: dylanmckay
Date: Wed Sep 28 08:23:42 2016
New Revision: 282586
URL: http://llvm.org/viewvc/llvm-project?rev=282586&view=rev
Log:
[AVR] Handle AVR relocations when handling ELF files
Modified:
llvm/trunk/lib/Object/ELF.cpp
Modified: llvm/trunk/lib/Object/ELF.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Object/ELF.cpp?rev=282586&r1=282585&r2=282586&view=diff
==============================================================================
--- llvm/trunk/lib/Object/ELF.cpp (original)
+++ llvm/trunk/lib/Object/ELF.cpp Wed Sep 28 08:23:42 2016
@@ -54,6 +54,13 @@ StringRef getELFRelocationTypeName(uint3
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"
More information about the llvm-commits
mailing list