[PATCH] D15026: [mips][microMIPS] Add R_MICROMIPS_PC18_S3 relocation

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 18 07:42:06 PST 2015


dsanders added inline comments.

================
Comment at: lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp:137
@@ -136,2 +136,3 @@
   case Mips::fixup_MIPS_PC18_S3:
+  case Mips::fixup_MICROMIPS_PC18_S3:
     // Forcing a signed division because Value can be negative.
----------------
Thinking about it a bit more, we should check the alignment here for the micromips case.


http://reviews.llvm.org/D15026





More information about the llvm-commits mailing list