diff options
author | Stan Shebs <shebs@codesourcery.com> | 1994-01-04 00:38:05 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1994-01-04 00:38:05 +0000 |
commit | a92c59065ae14ba88b79ff7a0eff5ce92e16efd2 (patch) | |
tree | ec5e11236d2c83f84ae2a3af4b4405b105c0ba4c /bfd/mpw-config.in | |
parent | d60e8a540e68e47222cddaacb43ed5775e582400 (diff) | |
download | gdb-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.in | 17 |
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 |