[PATCH] D45729: [PPC64] Add offset to local entry point when calling functions without plt

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 30 07:54:14 PDT 2018


grimar added inline comments.


================
Comment at: ELF/InputSection.cpp:598
+
+    return SymVA - P + (1 << StOther);
   }
----------------
syzaara wrote:
> grimar wrote:
> > This produces a warning for me now:
> > `InputSection.cpp(598): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)`
> Should be fixed with https://reviews.llvm.org/rL331181
It`s fixed for me, thanks!


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D45729





More information about the llvm-commits mailing list