aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mpw-config.in
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-01-03 20:58:02 +0000
committerStan Shebs <shebs@codesourcery.com>1994-01-03 20:58:02 +0000
commite7c4e61cc9fda986784f6eadc9645842a60e0630 (patch)
treed1bce4d60b4614b6a98e8ea3e6004bec9a6b2b55 /opcodes/mpw-config.in
parente1beb23045e46be16ada8a5012256b505f2790b2 (diff)
downloadgdb-e7c4e61cc9fda986784f6eadc9645842a60e0630.zip
gdb-e7c4e61cc9fda986784f6eadc9645842a60e0630.tar.gz
gdb-e7c4e61cc9fda986784f6eadc9645842a60e0630.tar.bz2
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.
Diffstat (limited to 'opcodes/mpw-config.in')
-rw-r--r--opcodes/mpw-config.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/opcodes/mpw-config.in b/opcodes/mpw-config.in
new file mode 100644
index 0000000..62b7662
--- /dev/null
+++ b/opcodes/mpw-config.in
@@ -0,0 +1,12 @@
+# 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