diff options
author | Robert de Bath <rdebath@poboxes.com> | 1996-12-01 16:58:31 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:34:16 +0200 |
commit | f8de35da65c5d93bb733073cf40da154bc1c0748 (patch) | |
tree | d28c7644739a24402376d24cb0020ea410a9ccff /ld/writebin.c | |
parent | c218c617b5be443b7968308506969ad2b726d73c (diff) | |
download | dev86-f8de35da65c5d93bb733073cf40da154bc1c0748.tar.gz |
Import Dev86src-0.0.9.tar.gzv0.0.9
Diffstat (limited to 'ld/writebin.c')
-rw-r--r-- | ld/writebin.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/ld/writebin.c b/ld/writebin.c index de4b01c..60440f7 100644 --- a/ld/writebin.c +++ b/ld/writebin.c @@ -3,14 +3,18 @@ /* Copyright (C) 1994 Bruce Evans */ -#include "syshead.h" +#ifndef NO_AOUT #define A_OUT_INCL <a.out.h> +#endif + +#include "syshead.h" #include "bindef.h" #include "const.h" #include "obj.h" #include "type.h" #include "globvar.h" +#ifdef AOUT_DETECTED #define btextoffset (text_base_value) #define bdataoffset (data_base_value) #define page_size() 4096 @@ -936,3 +940,15 @@ bin_off_t count; while (count-- > 0) writechar(0); } +#else + +PUBLIC void writebin(outfilename, argsepid, argbits32, argstripflag, arguzp) +char *outfilename; +bool_pt argsepid; +bool_pt argbits32; +bool_pt argstripflag; +bool_pt arguzp; +{ + fatalerror("Native a.out generation not included, sorry"); +} +#endif |