old-cross-binutils/opcodes/mpw-config.in
Stan Shebs e7c4e61cc9 Mon Jan 3 11:44:29 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-config.in:  New file, MPW version of configure.in.
	* mpw-make.in:	  New file, MPW version of Makefile.in.

Mon Jan  3 12:54:35 1994  Stan Shebs  (shebs@andros.cygnus.com)

 	* mpw-xconfig.in: New file, mpw x mips configuration bits.
1994-01-03 20:58:02 +00:00

12 lines
475 B
Text

# Configuration fragment for opcodes.
duplicate -y -d {topsrcdir}bfd:hosts:mpw.h sysdep.h
Echo "#ifndef __va_list__" >varargs.h
Echo "#define __va_list__" >>varargs.h
Echo "typedef char *va_list;" >>varargs.h
Echo "#endif" >>varargs.h
Echo "#define va_dcl int va_alist;" >>varargs.h
Echo "#define va_start(list) list = (char *) &va_alist" >>varargs.h
Echo "#define va_end(list)" >>varargs.h
Echo "#define va_arg(list,mode) ((mode *)(list += sizeof(mode)))[-1]" >>varargs.h