source: trunk/third/binutils/gas/emul.h @ 16965

Revision 16965, 1.4 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r16964, which included commits to RCS files with non-trunk default branches.
Line 
1/* emul.h.  File format emulation routines
2   Copyright 2001 Free Software Foundation, Inc.
3
4   This file is part of GAS, the GNU Assembler.
5
6   GAS 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   GAS 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 GAS; see the file COPYING.  If not, write to the Free
18   Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19   02111-1307, USA.  */
20
21#ifndef EMUL_DEFS
22#define EMUL_DEFS
23
24struct emulation {
25  void (*match) PARAMS ((const char *));
26  const char *name;
27  void (*init) PARAMS ((void));
28  const char *(*bfd_name) PARAMS ((void));
29  unsigned local_labels_fb : 1;
30  unsigned local_labels_dollar : 1;
31  unsigned leading_underscore : 2;
32  unsigned strip_underscore : 1;
33  unsigned default_endian : 2;
34  const char *fake_label_name;
35  const struct format_ops *format;
36};
37
38COMMON struct emulation *this_emulation;
39
40extern const char *default_emul_bfd_name PARAMS ((void));
41extern void common_emul_init PARAMS ((void));
42
43#endif
Note: See TracBrowser for help on using the repository browser.