kernel: white space edit
[rsc] --rw-rw-r-- M 1168567 glenda sys 21534 Mar 25 07:27 sys/src/9/port/sysproc.c
/n/sourcesdump/2006/0325/plan9/sys/src/9/port/sysproc.c:1011,1017 -
/n/sourcesdump/2006/0326/plan9/sys/src/9/port/sysproc.c:1011,1017
return 1;
if(!block)
return 0;
-
+
acquired = 0;
semqueue(s, addr, &phore);
for(;;){
8c: missed file from yesterday
[rsc] --rw-rw-r-- M 1168567 glenda sys 4120 Mar 25 07:17 sys/src/cmd/8c/8.out.h
/n/sourcesdump/2006/0325/plan9/sys/src/cmd/8c/8.out.h:420,426 -
/n/sourcesdump/2006/0326/plan9/sys/src/cmd/8c/8.out.h:420,426
T_SYM = 1<<4,
T_SCONST = 1<<5,
- REGARG = 0,
+ REGARG = -1,
REGRET = D_AX,
FREGRET = D_F0,
REGSP = D_SP,
[rsc] --rw-rw-r-- M 1168567 glenda sys 12189 Mar 25 07:37 sys/src/cmd/cc/cc.h
/n/sourcesdump/2006/0325/plan9/sys/src/cmd/cc/cc.h:476,481 -
/n/sourcesdump/2006/0326/plan9/sys/src/cmd/cc/cc.h:476,482
EXTERN int fproundflg;
EXTERN int profileflg;
EXTERN Bits zbits;
+ EXTERN int little;
extern char *onames[], *tnames[], *gnames[];
extern char *cnames[], *qnames[], *bnames[];
[rsc] --rw-rw-r-- M 1168567 glenda sys 24192 Mar 25 07:37 sys/src/cmd/cc/lex.c
/n/sourcesdump/2006/0325/plan9/sys/src/cmd/cc/lex.c:7,33 -
/n/sourcesdump/2006/0326/plan9/sys/src/cmd/cc/lex.c:7,34
/*
* known debug flags
- * -o file output file
- * -D name define
- * -I path include
* -a acid declaration output
- * -M constant multiplication
- * -B non ANSI
* -A !B
+ * -B non ANSI
* -d print declarations
- * -t print type trees
- * -L print every NAME symbol
- * -i print initialization
+ * -D name define
* -F format specification check
- * -r print registerization
- * -v verbose printing
- * -X abort on error
- * -w print warnings
+ * -i print initialization
+ * -I path include
+ * -l generate little-endian code
+ * -L print every NAME symbol
+ * -M constant multiplication
* -m print add/sub/mul trees
- * -s print structure offsets (with -a or -aa)
* -n print acid to file (%.c=%.acid) (with -a or -aa)
+ * -o file output file
* -p use standard cpp ANSI preprocessor (not on windows)
+ * -r print registerization
+ * -s print structure offsets (with -a or -aa)
+ * -t print type trees
* -V enable void* conversion warnings
+ * -v verbose printing
+ * -w print warnings
+ * -X abort on error
*/
void
/n/sourcesdump/2006/0325/plan9/sys/src/cmd/cc/lex.c:52,57 -
/n/sourcesdump/2006/0326/plan9/sys/src/cmd/cc/lex.c:53,68
c = ARGC();
if(c >= 0 && c < sizeof(debug))
debug[c]++;
+ break;
+
+ case 'l': /* for little-endian mips */
+ if(thechar != 'v'){
+ print("can only use -l with vc");
+ errorexit();
+ }
+ thechar = '0';
+ thestring = "spim";
+ little = 1;
break;
case 'o':
remove unnecessary return statements
[rsc] --rw-rw-r-- M 1168567 glenda sys 37706 Mar 25 07:27 sys/src/cmd/dossrv/dossubs.c
/n/sourcesdump/2006/0325/plan9/sys/src/cmd/dossrv/dossubs.c:1501,1507 -
/n/sourcesdump/2006/0326/plan9/sys/src/cmd/dossrv/dossubs.c:1501,1506
return 0;
clust = next;
}
- return 0; /* not reached */
}
/*
[rsc] --rw-rw-r-- M 1168567 glenda sys 15331 Mar 25 07:27 sys/src/cmd/ndb/dnresolve.c
/n/sourcesdump/2006/0325/plan9/sys/src/cmd/ndb/dnresolve.c:389,396 -
/n/sourcesdump/2006/0326/plan9/sys/src/cmd/ndb/dnresolve.c:389,394
return 0;
}
-
- return 0; /* never reached */
}
/*
[rsc] --rw-rw-r-- M 1168567 glenda sys 3951 Mar 25 07:28 sys/src/cmd/ssh/pubkey.c
/n/sourcesdump/2006/0325/plan9/sys/src/cmd/ssh/pubkey.c:79,85 -
/n/sourcesdump/2006/0326/plan9/sys/src/cmd/ssh/pubkey.c:79,84
fprint(2, "warning: skipping line '%s'; cannot parse\n", s);
free(s);
}
- return nil; /* ken */
}
static int
[rsc] --rw-rw-r-- M 1168567 rsc sys 21732 Mar 25 07:27 sys/src/cmd/unix/netkey.c
/n/sourcesdump/2006/0325/plan9/sys/src/cmd/unix/netkey.c:537,543 -
/n/sourcesdump/2006/0326/plan9/sys/src/cmd/unix/netkey.c:537,542
}
encrypt9(key, t, 8);
}
- return 1; /* not reached */
}
int
0a, 0c, 0l - little-endian mips compiler
[rsc] --rwxrwxr-x M 1168567 rsc sys 24 Mar 25 07:37 rc/bin/0c
[rsc] --rw-rw-r-- M 1168567 glenda sys 11310 Mar 25 07:37 sys/src/cmd/vc/swt.c
/n/sourcesdump/2006/0325/plan9/sys/src/cmd/vc/swt.c:636,642 -
/n/sourcesdump/2006/0326/plan9/sys/src/cmd/vc/swt.c:636,643
w = SZ_LONG;
break;
}
- o += SZ_LONG - w; /* big endian adjustment */
+ if (!little)
+ o += SZ_LONG - w; /* big endian adjustment */
w = 1;
break;
[rsc] --rwxrwxr-x M 1168567 rsc sys 24 Mar 25 08:37 rc/bin/0a
[rsc] --rwxrwxr-x M 1168567 rsc sys 24 Mar 25 08:37 rc/bin/0l
[rsc] --rw-rw-r-- M 1168567 glenda sys 1192 Mar 25 08:38 sys/man/1/2a
/n/sourcesdump/2006/0325/plan9/sys/man/1/2a:1,6 -
/n/sourcesdump/2006/0326/plan9/sys/man/1/2a:1,6
.TH 2A 1
.SH NAME
- 1a, 2a, 5a, 7a, 8a, ka, qa, va \- assemblers
+ 0a, 1a, 2a, 5a, 7a, 8a, ka, qa, va \- assemblers
.SH SYNOPSIS
.B 2a
[
[rsc] --rw-rw-r-- M 1168567 glenda sys 8288 Mar 25 08:37 sys/man/1/2c
/n/sourcesdump/2006/0325/plan9/sys/man/1/2c:1,6 -
/n/sourcesdump/2006/0326/plan9/sys/man/1/2c:1,6
.TH 2C 1
.SH NAME
- 1c, 2c, 5c, 7c, 8c, kc, qc, vc \- C compilers
+ 0c, 1c, 2c, 5c, 7c, 8c, kc, qc, vc \- C compilers
.SH SYNOPSIS
.B 2c
[
/n/sourcesdump/2006/0325/plan9/sys/man/1/2c:19,24 -
/n/sourcesdump/2006/0326/plan9/sys/man/1/2c:19,27
.IR objtype ,
for example
.TP 1.5i
+ .B "0c spim
+ little-endian MIPS 3000 family
+ .TP
.B "1c 68000
Motorola MC68000
.TP
[rsc] --rw-rw-r-- M 1168567 glenda sys 4372 Mar 25 08:38 sys/man/1/2l
/n/sourcesdump/2006/0325/plan9/sys/man/1/2l:1,6 -
/n/sourcesdump/2006/0326/plan9/sys/man/1/2l:1,6
.TH 2L 1
.SH NAME
- 1l, 2l, 5l, 7l, 8l, kl, ql, vl \- loaders
+ 0l, 1l, 2l, 5l, 7l, 8l, kl, ql, vl \- loaders
.SH SYNOPSIS
.B 2l
[
[rsc] --rw-rw-r-- M 1168567 glenda sys 12095 Mar 25 08:36 sys/src/cmd/va/lex.c
/n/sourcesdump/2006/0325/plan9/sys/src/cmd/va/lex.c:36,41 -
/n/sourcesdump/2006/0326/plan9/sys/src/cmd/va/lex.c:36,45
p = ARGF();
setinclude(p);
break;
+ case 'L': /* for little-endian mips */
+ thechar = '0';
+ thestring = "spim";
+ break;
} ARGEND
if(*argv == 0) {
print("usage: %ca [-options] file.s\n", thechar);
[rsc] --rw-rw-r-- M 1168567 glenda sys 31296 Mar 25 08:35 sys/src/cmd/vl/asm.c
[diffs elided - too long]
[diff -c /n/sourcesdump/2006/0325/plan9/sys/src/cmd/vl/asm.c /n/sourcesdump/2006/0326/plan9/sys/src/cmd/vl/asm.c]
[rsc] --rw-rw-r-- M 1168567 glenda sys 5458 Mar 25 08:35 sys/src/cmd/vl/l.h
/n/sourcesdump/2006/0325/plan9/sys/src/cmd/vl/l.h:237,242 -
/n/sourcesdump/2006/0326/plan9/sys/src/cmd/vl/l.h:237,243
EXTERN char xcmp[32][32];
EXTERN Prog zprg;
EXTERN int dtype;
+ EXTERN int little;
EXTERN struct
{
/n/sourcesdump/2006/0325/plan9/sys/src/cmd/vl/l.h:298,303 -
/n/sourcesdump/2006/0326/plan9/sys/src/cmd/vl/l.h:299,305
void listinit(void);
Sym* lookup(char*, int);
void lput(long);
+ void bput(long);
void mkfwd(void);
void* mysbrk(ulong);
void names(void);
[rsc] --rw-rw-r-- M 1168567 glenda sys 23718 Mar 25 08:35 sys/src/cmd/vl/obj.c
[diffs elided - too long]
[diff -c /n/sourcesdump/2006/0325/plan9/sys/src/cmd/vl/obj.c /n/sourcesdump/2006/0326/plan9/sys/src/cmd/vl/obj.c]
|