[PATCH] D13835: [ELF2] - Implemented R_X86_64_PLT32 rellocation.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 16 16:05:59 PDT 2015
ruiu added inline comments.
================
Comment at: ELF/Target.cpp:314-316
@@ -313,2 +313,5 @@
}
+ case R_X86_64_PLT32:
+ write32le(Loc, SA - BaseAddr - Offset);
+ break;
default:
----------------
Your test does not seem to cover this code. (I just run your test without applying this code, and it didn't die with "unrecognized reloc" error defined below, so a relocation with R_x86_64_PLT32 did not reach this function.)
http://reviews.llvm.org/D13835
More information about the llvm-commits
mailing list