Commit | Line | Data |
---|---|---|
f7e42eb4 NC |
1 | /* emul-target.h. Default values for struct emulation defined in emul.h |
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 | ||
252b5132 RH |
21 | #ifndef emul_init |
22 | #define emul_init common_emul_init | |
23 | #endif | |
24 | ||
25 | #ifndef emul_bfd_name | |
26 | #define emul_bfd_name default_emul_bfd_name | |
27 | #endif | |
28 | ||
29 | #ifndef emul_local_labels_fb | |
30 | #define emul_local_labels_fb 0 | |
31 | #endif | |
32 | ||
33 | #ifndef emul_local_labels_dollar | |
34 | #define emul_local_labels_dollar 0 | |
35 | #endif | |
36 | ||
37 | #ifndef emul_leading_underscore | |
38 | #define emul_leading_underscore 2 | |
39 | #endif | |
40 | ||
41 | #ifndef emul_strip_underscore | |
42 | #define emul_strip_underscore 0 | |
43 | #endif | |
44 | ||
45 | #ifndef emul_default_endian | |
46 | #define emul_default_endian 2 | |
47 | #endif | |
48 | ||
49 | #ifndef emul_fake_label_name | |
50 | #define emul_fake_label_name 0 | |
51 | #endif | |
52 | ||
f7e42eb4 NC |
53 | struct emulation emul_struct_name = |
54 | { | |
55 | 0, | |
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, | |
64 | }; |