[PATCH] D91426: [PowerPC] Fix issue where binary uses a .got but is missing a .TOC.

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 1 14:53:30 PST 2021


MaskRay added a comment.

Sorry, I missed your early comments.

Which test can demonstrate the bug? My idea is that instead of creating `setupPPCDelayedInit`, we should let `in.got->hasGotOffRel` to convey that .got is needed.
See Relocations.cpp:1397


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91426



More information about the llvm-commits mailing list