summaryrefslogtreecommitdiff
path: root/ld/writerel.c
blob: a0294f566e4f01becdc41874f9d0c33aea8d97ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * This uses a special version of writebin for bug compatibility with
 * the old bin86 package.
 *
 * This _should_ be replaced by a function that writes out a as86 object
 * but then it would completely **** up dosemu compiles.
 *
 * NOTE: A some time I intend to replace this with a routine that generates
 *       an as86 object file.
 */

#ifdef BUGCOMPAT
#define A_OUT_INCL		"rel_aout.h"
#define BSD_A_OUT		1
#define FILEHEADERLENGTH	32
#define ELF_SYMS		0

#define FUNCNAME		write_rel
#undef NO_AOUT

#include "writebin.c"
#endif