[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
Sat Apr 28 01:55:57 PDT 2018


grimar added inline comments.


================
Comment at: ELF/InputSection.cpp:598
+
+    return SymVA - P + (1 << StOther);
   }
----------------
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?)`


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D45729





More information about the llvm-commits mailing list