Ver código fonte

Add hoc solution of .align problem.

keie 39 anos atrás
pai
commit
eb92039acd
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      mach/proto/as/comm6.c

+ 3 - 2
mach/proto/as/comm6.c

@@ -254,8 +254,9 @@ valu_t bytes;
 			DOTGAIN += (bytes - 1) - gap;
 #endif
 	}
-	DOTVAL += gap;
-	sp->s_zero += gap;
+	/* I don't play the os_zero game here, but plainly write out zero's */
+	/* Led abuses trailing zero parts */
+	while (gap--) emit1(0) ;
 }
 
 #ifdef RELOCATION