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

Unified Diff: lib/Target/X86/X86ELFWriterInfo.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 | « lib/Target/X86/X86ELFWriterInfo.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Target/X86/X86ELFWriterInfo.cpp
===================================================================
--- a/lib/Target/X86/X86ELFWriterInfo.cpp
+++ b/lib/Target/X86/X86ELFWriterInfo.cpp
@@ -31,7 +31,9 @@
X86ELFWriterInfo::~X86ELFWriterInfo() {}
-unsigned X86ELFWriterInfo::getRelocationType(unsigned MachineRelTy) const {
+unsigned X86ELFWriterInfo::getRelocationType(const BinaryObject &,
+ const MachineRelocation &MR) const {
+ unsigned int MachineRelTy = MR.getRelocationType();
if (is64Bit) {
switch(MachineRelTy) {
case X86::reloc_pcrel_word:
« no previous file with comments | « lib/Target/X86/X86ELFWriterInfo.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698