Add a missed CommonLinkage check.

llvm-svn: 51503
This commit is contained in:
Dale Johannesen 2008-05-23 21:33:27 +00:00
parent 20ccc4c3ed
commit 002e554ce9
1 changed files with 1 additions and 0 deletions

View File

@ -143,5 +143,6 @@ bool PPCSubtarget::hasLazyResolverStub(const GlobalValue *GV) const {
return false;
return GV->hasWeakLinkage() || GV->hasLinkOnceLinkage() ||
GV->hasCommonLinkage() ||
(GV->isDeclaration() && !GV->hasNotBeenReadFromBitcode());
}