Commit | Line | Data |
---|---|---|
f7e42eb4 | 1 | /* emul-target.h. Default values for struct emulation defined in emul.h |
ec2655a6 | 2 | Copyright 1995, 2007 Free Software Foundation, Inc. |
f7e42eb4 NC |
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 | |
ec2655a6 | 8 | the Free Software Foundation; either version 3, or (at your option) |
f7e42eb4 NC |
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 | |
4b4da160 NC |
18 | Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA |
19 | 02110-1301, USA. */ | |
f7e42eb4 | 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 | }; |