[PATCH] D85973: [PowerPC] Fix thunk alignment issue when using pc-rel instruction

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 13:33:16 PDT 2020


MaskRay added inline comments.


================
Comment at: lld/test/ELF/ppc64-toc-call-to-pcrel.s:35
 # CHECK-LABEL: caller_14
-# CHECK:       bfl 0, 0x1002003c
+# CHECK:       bfl 0, 0x10020040
 # CHECK-NEXT:  ld 2, 24(1)
----------------
NeHuang wrote:
> MaskRay wrote:
> > Doesn't it have ` <__toc_save_callee>`?
> Sorry I did not quite get your point. `0x10020040` is the start address of `__toc_save_callee` stub. 
For b and bl , objdump -d symbolizes the target address. If it symbolizes bfl and the result is meaningful, please add ` <__toc_save_callee>`



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85973/new/

https://reviews.llvm.org/D85973



More information about the llvm-commits mailing list