changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > plan9front / sys/src/cmd/7l/asm.c

revision 7243: 34f64dcbbc25
parent 7144: d0b9ab522e8b
     1.1--- a/sys/src/cmd/7l/asm.c
     1.2+++ b/sys/src/cmd/7l/asm.c
     1.3@@ -100,7 +100,7 @@ asmb(void)
     1.4 		seek(cout, OFFSET, 0);
     1.5 		break;
     1.6 	case 6:	/* no header, padded segments */
     1.7-		OFFSET = rnd(HEADR+textsize, 4096);
     1.8+		OFFSET = rnd(HEADR+textsize, INITRND);
     1.9 		seek(cout, OFFSET, 0);
    1.10 		break;
    1.11 	}
    1.12@@ -132,7 +132,7 @@ asmb(void)
    1.13 			seek(cout, OFFSET, 0);
    1.14 			break;
    1.15 		case 6:	/* no header, padded segments */
    1.16-			OFFSET += rnd(datsize, 4096);
    1.17+			OFFSET += rnd(datsize, INITRND);
    1.18 			seek(cout, OFFSET, 0);
    1.19 			break;
    1.20 		case 7: