RISC-V: Don't report warnings when linking different privileged spec objects.
[binutils-gdb.git] / gas / emul-target.h
blob6b6064a031ec40a35b629d3499249fee64eaac15
1 /* emul-target.h. Default values for struct emulation defined in emul.h
2 Copyright (C) 1995-2024 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 3, 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, 51 Franklin Street - Fifth Floor, Boston, MA
19 02110-1301, USA. */
21 #ifndef emul_init
22 #define emul_init common_emul_init
23 #endif
25 #ifndef emul_local_labels_fb
26 #define emul_local_labels_fb 0
27 #endif
29 #ifndef emul_local_labels_dollar
30 #define emul_local_labels_dollar 0
31 #endif
33 #ifndef emul_leading_underscore
34 #define emul_leading_underscore 2
35 #endif
37 #ifndef emul_default_endian
38 #define emul_default_endian 2
39 #endif
41 #ifndef emul_fake_label_name
42 #define emul_fake_label_name 0
43 #endif
45 struct emulation emul_struct_name =
47 emul_name,
48 emul_init,
49 emul_local_labels_fb, emul_local_labels_dollar,
50 emul_leading_underscore,
51 emul_default_endian,
52 emul_fake_label_name,
53 emul_format,