[PATCH] D49394: Add R_HEX_B15_PCREL relocation

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 18 10:50:48 PDT 2018


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM with these fixes.



================
Comment at: ELF/Arch/Hexagon.cpp:56-59
   case R_HEX_B32_PCREL_X:
   case R_HEX_B22_PCREL_X:
   case R_HEX_B22_PCREL:
+  case R_HEX_B15_PCREL:
----------------
Sort alphabetically.


================
Comment at: ELF/Arch/Hexagon.cpp:81
     break;
+  case R_HEX_B15_PCREL:
+    or32le(Loc, applyMask(0x00df20fe, Val >> 2));
----------------
Sort `case`s alphabetically.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D49394





More information about the llvm-commits mailing list