forked from OSchip/llvm-project
				
			
							parent
							
								
									35cf8bbe36
								
							
						
					
					
						commit
						d49866edba
					
				| 
						 | 
				
			
			@ -1202,12 +1202,12 @@ RelocationBaseSection::RelocationBaseSection(StringRef Name, uint32_t Type,
 | 
			
		|||
    : SyntheticSection(SHF_ALLOC, Type, Config->Wordsize, Name),
 | 
			
		||||
      DynamicTag(DynamicTag), SizeDynamicTag(SizeDynamicTag) {}
 | 
			
		||||
 | 
			
		||||
void RelocationBaseSection::addReloc(uint32_t DynType, InputSectionBase *IS,
 | 
			
		||||
void RelocationBaseSection::addReloc(RelType DynType, InputSectionBase *IS,
 | 
			
		||||
                                     uint64_t OffsetInSec, Symbol *Sym) {
 | 
			
		||||
  addReloc({DynType, IS, OffsetInSec, false, Sym, 0});
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void RelocationBaseSection::addReloc(uint32_t DynType,
 | 
			
		||||
void RelocationBaseSection::addReloc(RelType DynType,
 | 
			
		||||
                                     InputSectionBase *InputSec,
 | 
			
		||||
                                     uint64_t OffsetInSec, bool UseSymVA,
 | 
			
		||||
                                     Symbol *Sym, int64_t Addend, RelExpr Expr,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -361,9 +361,9 @@ class RelocationBaseSection : public SyntheticSection {
 | 
			
		|||
public:
 | 
			
		||||
  RelocationBaseSection(StringRef Name, uint32_t Type, int32_t DynamicTag,
 | 
			
		||||
                        int32_t SizeDynamicTag);
 | 
			
		||||
  void addReloc(uint32_t DynType, InputSectionBase *IS, uint64_t OffsetInSec,
 | 
			
		||||
  void addReloc(RelType DynType, InputSectionBase *IS, uint64_t OffsetInSec,
 | 
			
		||||
                Symbol *Sym);
 | 
			
		||||
  void addReloc(uint32_t DynType, InputSectionBase *InputSec,
 | 
			
		||||
  void addReloc(RelType DynType, InputSectionBase *InputSec,
 | 
			
		||||
                uint64_t OffsetInSec, bool UseSymVA, Symbol *Sym,
 | 
			
		||||
                int64_t Addend, RelExpr Expr, RelType Type);
 | 
			
		||||
  void addReloc(const DynamicReloc &Reloc);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue