source: trunk/emx/src/emxomf/emxomf.h@ 3669

Last change on this file since 3669 was 806, checked in by bird, 22 years ago

#456: Fixing major sst encoding problem, bad size field. Try get a type index on pubs and exts. Fixed a little problem with static members.

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