2001-05-25 H.J. Lu <hjl@gnu.org>
[binutils.git] / gas / emul-target.h
blob4c1a02a500f050282a076bfced707423457c717a
1 /* emul-target.h. Default values for struct emulation defined in emul.h
2 Copyright 2001 Free Software Foundation, Inc.
4 This file is part of GAS, the GNU Assembler.
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.
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.
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. */
21 #ifndef emul_init
22 #define emul_init common_emul_init
23 #endif
25 #ifndef emul_bfd_name
26 #define emul_bfd_name default_emul_bfd_name
27 #endif
29 #ifndef emul_local_labels_fb
30 #define emul_local_labels_fb 0
31 #endif
33 #ifndef emul_local_labels_dollar
34 #define emul_local_labels_dollar 0
35 #endif
37 #ifndef emul_leading_underscore
38 #define emul_leading_underscore 2
39 #endif
41 #ifndef emul_strip_underscore
42 #define emul_strip_underscore 0
43 #endif
45 #ifndef emul_default_endian
46 #define emul_default_endian 2
47 #endif
49 #ifndef emul_fake_label_name
50 #define emul_fake_label_name 0
51 #endif
53 struct emulation emul_struct_name =
56 emul_name,
57 emul_init,
58 emul_bfd_name,
59 emul_local_labels_fb, emul_local_labels_dollar,
60 emul_leading_underscore, emul_strip_underscore,
61 emul_default_endian,
62 emul_fake_label_name,
63 emul_format,