2001-03-09 07:24:26 +08:00
|
|
|
/* emul-target.h. Default values for struct emulation defined in emul.h
|
2019-01-01 18:31:27 +08:00
|
|
|
Copyright (C) 1995-2019 Free Software Foundation, Inc.
|
2001-03-09 07:24:26 +08:00
|
|
|
|
|
|
|
This file is part of GAS, the GNU Assembler.
|
|
|
|
|
|
|
|
GAS is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
2007-07-03 19:01:12 +08:00
|
|
|
the Free Software Foundation; either version 3, or (at your option)
|
2001-03-09 07:24:26 +08:00
|
|
|
any later version.
|
|
|
|
|
|
|
|
GAS is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with GAS; see the file COPYING. If not, write to the Free
|
2005-05-05 17:13:19 +08:00
|
|
|
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
|
|
|
|
02110-1301, USA. */
|
2001-03-09 07:24:26 +08:00
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
#ifndef emul_init
|
|
|
|
#define emul_init common_emul_init
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef emul_bfd_name
|
|
|
|
#define emul_bfd_name default_emul_bfd_name
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef emul_local_labels_fb
|
|
|
|
#define emul_local_labels_fb 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef emul_local_labels_dollar
|
|
|
|
#define emul_local_labels_dollar 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef emul_leading_underscore
|
|
|
|
#define emul_leading_underscore 2
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef emul_default_endian
|
|
|
|
#define emul_default_endian 2
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef emul_fake_label_name
|
|
|
|
#define emul_fake_label_name 0
|
|
|
|
#endif
|
|
|
|
|
2001-03-09 07:24:26 +08:00
|
|
|
struct emulation emul_struct_name =
|
|
|
|
{
|
|
|
|
0,
|
|
|
|
emul_name,
|
|
|
|
emul_init,
|
|
|
|
emul_bfd_name,
|
|
|
|
emul_local_labels_fb, emul_local_labels_dollar,
|
2019-03-20 16:05:16 +08:00
|
|
|
emul_leading_underscore,
|
2001-03-09 07:24:26 +08:00
|
|
|
emul_default_endian,
|
|
|
|
emul_fake_label_name,
|
|
|
|
emul_format,
|
|
|
|
};
|