[PATCH] D14922: [ELF/AArch64] Factor out overflow check into a separate function.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 23 08:33:53 PST 2015


davide accepted this revision.
This revision is now accepted and ready to land.

================
Comment at: ELF/Target.cpp:785
@@ -784,3 +778,1 @@
   case R_AARCH64_PREL32:
-    if (!isInt<32>(SA))
-      error("Relocation R_AARCH64_PREL32 out of range");
----------------
This and PREL16 fix bugs (changing the argument of check from SA to SA - P). I'd commit that separately, because it's a functional change.


http://reviews.llvm.org/D14922





More information about the llvm-commits mailing list