[18] | 1 | /* emxomf.h -- Global header file for emxomf
|
---|
| 2 | Copyright (c) 1992-1996 Eberhard Mattes
|
---|
| 3 |
|
---|
| 4 | This file is part of emxomf.
|
---|
| 5 |
|
---|
| 6 | emxomf is free software; you can redistribute it and/or modify
|
---|
| 7 | it under the terms of the GNU General Public License as published by
|
---|
| 8 | the Free Software Foundation; either version 2, or (at your option)
|
---|
| 9 | any later version.
|
---|
| 10 |
|
---|
| 11 | emxomf is distributed in the hope that it will be useful,
|
---|
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 14 | GNU General Public License for more details.
|
---|
| 15 |
|
---|
| 16 | You should have received a copy of the GNU General Public License
|
---|
| 17 | along with emxomf; see the file COPYING. If not, write to
|
---|
| 18 | the Free Software Foundation, 59 Temple Place - Suite 330,
|
---|
| 19 | Boston, MA 02111-1307, USA. */
|
---|
| 20 |
|
---|
| 21 |
|
---|
[236] | 22 | #include "a_out.h"
|
---|
| 23 | #include "a_out_stab.h"
|
---|
| 24 |
|
---|
[18] | 25 | /* These functions are defined in emxomf.c. */
|
---|
| 26 |
|
---|
| 27 | extern void error (const char *fmt, ...) NORETURN2 ATTR_PRINTF (1, 2);
|
---|
| 28 | extern void warning (const char *fmt, ...) ATTR_PRINTF (1, 2);
|
---|
| 29 | extern void *xmalloc (size_t n);
|
---|
| 30 | void *xrealloc (void *ptr, size_t n);
|
---|
| 31 | char *xstrdup (const char *s);
|
---|
| 32 | extern const struct nlist *find_symbol (const char *name);
|
---|
[727] | 33 | extern const struct nlist *find_symbol_ex (const char *name, int not_entry, int fext);
|
---|
[806] | 34 | extern void set_hll_type (int index, int hll_type);
|
---|
[18] | 35 |
|
---|
| 36 | /* These variables are defined in emxomf.c. */
|
---|
| 37 |
|
---|
| 38 | extern int sym_count;
|
---|
| 39 | extern const struct nlist *sym_ptr;
|
---|
| 40 | extern const byte *str_ptr;
|
---|
| 41 | extern byte *text_ptr;
|
---|
| 42 | extern long text_size;
|
---|
| 43 | extern struct buffer tt;
|
---|
| 44 | extern struct buffer sst;
|
---|
| 45 | extern struct buffer sst_reloc;
|
---|
| 46 | extern struct grow sst_boundary_grow;
|
---|
| 47 | extern struct grow tt_boundary_grow;
|
---|
| 48 | extern int *sst_boundary;
|
---|
| 49 | extern int *tt_boundary;
|
---|
[304] | 50 | extern int hll_version;
|
---|
[3920] | 51 | extern const char *error_fname;
|
---|
| 52 | extern int warning_level;
|
---|