forked from OSchip/llvm-project
				
			[ELF2/PPC64] Add a comment about the page size
Rafael requested some additional commentary (post-commit review of r249760), to make it clear this is intended and necessary. llvm-svn: 250087
This commit is contained in:
		
							parent
							
								
									80f82fb2d4
								
							
						
					
					
						commit
						c848b321fd
					
				| 
						 | 
					@ -200,7 +200,11 @@ PPC64TargetInfo::PPC64TargetInfo() {
 | 
				
			||||||
  // PCRelReloc = FIXME
 | 
					  // PCRelReloc = FIXME
 | 
				
			||||||
  // GotReloc = FIXME
 | 
					  // GotReloc = FIXME
 | 
				
			||||||
  PltEntrySize = 32;
 | 
					  PltEntrySize = 32;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  // We need 64K pages (at least under glibc/Linux, the loader won't
 | 
				
			||||||
 | 
					  // set different permissions on a finer granularity than that).
 | 
				
			||||||
  PageSize = 65536;
 | 
					  PageSize = 65536;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  VAStart = 0x10000000;
 | 
					  VAStart = 0x10000000;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
void PPC64TargetInfo::writePltEntry(uint8_t *Buf, uint64_t GotEntryAddr,
 | 
					void PPC64TargetInfo::writePltEntry(uint8_t *Buf, uint64_t GotEntryAddr,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue