Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(400)

Unified Diff: lib/CodeGen/ELFWriter.cpp

Issue 4294001: arm-mc-elf-s07 (Closed)
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/llvm/Target/TargetELFWriterInfo.h ('k') | lib/Target/ARM/ARMELFWriterInfo.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/CodeGen/ELFWriter.cpp
===================================================================
--- a/lib/CodeGen/ELFWriter.cpp
+++ b/lib/CodeGen/ELFWriter.cpp
@@ -765,7 +765,7 @@
unsigned SymIdx = 0;
// Target specific relocation field type and size
- unsigned RelType = TEW->getRelocationType(MR.getRelocationType());
+ unsigned RelType = TEW->getRelocationType(S, MR);
unsigned RelTySize = TEW->getRelocationTySize(RelType);
int64_t Addend = 0;
« no previous file with comments | « include/llvm/Target/TargetELFWriterInfo.h ('k') | lib/Target/ARM/ARMELFWriterInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698