mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	add a bool for whether .lcomm takes an alignment instead of basing this on "isdarwin".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93852 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		@@ -951,7 +951,9 @@ void PPCDarwinAsmPrinter::PrintGlobalVariable(const GlobalVariable *GVar) {
 | 
			
		||||
  if (GVKind.isBSSLocal()) {
 | 
			
		||||
    if (Size == 0) Size = 1;   // .comm Foo, 0 is undefined, avoid it.
 | 
			
		||||
    
 | 
			
		||||
    O << MAI->getLCOMMDirective() << *GVarSym << ',' << Size << ',' << Align;
 | 
			
		||||
    O << MAI->getLCOMMDirective() << *GVarSym << ',' << Size;
 | 
			
		||||
    if (MAI->getLCOMMDirectiveTakesAlignment())
 | 
			
		||||
      O << ',' << Align;
 | 
			
		||||
    
 | 
			
		||||
    if (VerboseAsm) {
 | 
			
		||||
      O << "\t\t" << MAI->getCommentString() << " '";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user