aboutsummaryrefslogtreecommitdiff
path: root/bfd/mpw-config.in
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1994-01-04 00:38:05 +0000
committerStan Shebs <shebs@codesourcery.com>1994-01-04 00:38:05 +0000
commita92c59065ae14ba88b79ff7a0eff5ce92e16efd2 (patch)
treeec5e11236d2c83f84ae2a3af4b4405b105c0ba4c /bfd/mpw-config.in
parentd60e8a540e68e47222cddaacb43ed5775e582400 (diff)
downloadgdb-a92c59065ae14ba88b79ff7a0eff5ce92e16efd2.zip
gdb-a92c59065ae14ba88b79ff7a0eff5ce92e16efd2.tar.gz
gdb-a92c59065ae14ba88b79ff7a0eff5ce92e16efd2.tar.bz2
Mon Jan 3 10:59:28 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. * hosts/mpw.h: New file, MPW host definitions. Mon Jan 3 13:00:07 1994 Stan Shebs (shebs@andros.cygnus.com) * mpw-xconfig.in: New file, mpw x mips configuration bits.
Diffstat (limited to 'bfd/mpw-config.in')
-rw-r--r--bfd/mpw-config.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/bfd/mpw-config.in b/bfd/mpw-config.in
new file mode 100644
index 0000000..0ada777
--- /dev/null
+++ b/bfd/mpw-config.in
@@ -0,0 +1,17 @@
+# Configuration fragment for BFD.
+
+DupIfChange {srcdir}hosts:mpw.h sysdep.h
+
+StreamEdit -e '/@WORDSIZE@/ Replace /@WORDSIZE@/ "32"' {srcdir}bfd-in2.h >bfd.h-new
+MoveIfChange bfd.h-new bfd.h
+
+#DupIfChange {srcdir}mpw.bfd.h bfd.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