Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0325/4

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


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]


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].