forked from OSchip/llvm-project
				
			
							parent
							
								
									08dd52dc75
								
							
						
					
					
						commit
						bca6eb85a3
					
				| 
						 | 
					@ -267,13 +267,13 @@ bool ICF<ELFT>::variableEq(const InputSection<ELFT> *A,
 | 
				
			||||||
  const RelTy *EA = RelsA.end();
 | 
					  const RelTy *EA = RelsA.end();
 | 
				
			||||||
  const RelTy *IB = RelsB.begin();
 | 
					  const RelTy *IB = RelsB.begin();
 | 
				
			||||||
  for (; IA != EA; ++IA, ++IB) {
 | 
					  for (; IA != EA; ++IA, ++IB) {
 | 
				
			||||||
    // If both IA and BA are pointing to the same local symbol,
 | 
					    // If both IA and IB are pointing to the same local symbol,
 | 
				
			||||||
    // this "if" condition must be true.
 | 
					    // this "if" condition must be true.
 | 
				
			||||||
    if (A->File == B->File &&
 | 
					    if (A->File == B->File &&
 | 
				
			||||||
        IA->getSymbol(Config->Mips64EL) == IB->getSymbol(Config->Mips64EL))
 | 
					        IA->getSymbol(Config->Mips64EL) == IB->getSymbol(Config->Mips64EL))
 | 
				
			||||||
      continue;
 | 
					      continue;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // Otherwise, IA and BA must be pointing to the global symbols.
 | 
					    // Otherwise, IA and IB must be pointing to the global symbols.
 | 
				
			||||||
    SymbolBody *SA = getSymbol(A, (const Elf_Rel *)IA);
 | 
					    SymbolBody *SA = getSymbol(A, (const Elf_Rel *)IA);
 | 
				
			||||||
    SymbolBody *SB = getSymbol(B, (const Elf_Rel *)IB);
 | 
					    SymbolBody *SB = getSymbol(B, (const Elf_Rel *)IB);
 | 
				
			||||||
    if (!SA || !SB)
 | 
					    if (!SA || !SB)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue