Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0404/3

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


libmach: add mipsmachle
 [rsc] --rw-rw-r-- M 337084 glenda sys 482 Apr  4 07:43 sys/src/libmach/mkfile
	/n/sourcesdump/2006/0404/plan9/sys/src/libmach/mkfile:1,7 - 
	/n/sourcesdump/2006/0405/plan9/sys/src/libmach/mkfile:1,8
	  </$objtype/mkfile
	  
	  LIB=/$objtype/lib/libmach.a
	- FILES=executable\
	+ FILES=\
	+ 	executable\
	  	map\
	  	obj\
	  	swap\
 [rsc] --rw-rw-r-- M 337084 glenda sys 22870 Apr  4 07:43 sys/src/libmach/vdb.c
	/n/sourcesdump/2006/0404/plan9/sys/src/libmach/vdb.c:35,40 - 
	/n/sourcesdump/2006/0405/plan9/sys/src/libmach/vdb.c:35,60
	  	mipsinstlen,		/* instruction size */
	  };
	  
	+ Machdata mipsmachle =
	+ {
	+ 	{0, 0, 0, 0xD},		/* break point */
	+ 	4,			/* break point size */
	+ 
	+ 	leswab,			/* short to local byte order */
	+ 	leswal,			/* long to local byte order */
	+ 	leswav,			/* vlong to local byte order */
	+ 	risctrace,		/* C traceback */
	+ 	riscframe,		/* Frame finder */
	+ 	mipsexcep,		/* print exception */
	+ 	0,			/* breakpoint fixup */
	+ 	leieeesftos,		/* single precision float printer */
	+ 	leieeedftos,		/* double precisioin float printer */
	+ 	mipsfoll,		/* following addresses */
	+ 	mipsinst,		/* print instruction */
	+ 	mipsdas,		/* dissembler */
	+ 	mipsinstlen,		/* instruction size */
	+ };
	+ 
	  /*
	   *	mips r4k little-endian
	   */
	/n/sourcesdump/2006/0404/plan9/sys/src/libmach/vdb.c:147,153 - 
	/n/sourcesdump/2006/0405/plan9/sys/src/libmach/vdb.c:167,172
	  decode(uvlong pc, Instr *i)
	  {
	  	ulong w;
	- 	extern Mach mmips2le;
	  
	  	if (get4(mymap, pc, &w) < 0) {
	  		werrstr("can't read instruction: %r");


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].