this_emulation->init ();
}
-const char *
-default_emul_bfd_name (void)
-{
- abort ();
- return NULL;
-}
-
void
common_emul_init (void)
{
#include "as.h"
#include "emul.h"
-static const char *crisaout_bfd_name (void);
-
-static const char *
-crisaout_bfd_name (void)
-{
- abort ();
- return NULL;
-}
-
-#define emul_bfd_name crisaout_bfd_name
#define emul_format &aout_format_ops
#define emul_name "crisaout"
#include "as.h"
#include "emul.h"
-static const char *criself_bfd_name (void);
-
-static const char *
-criself_bfd_name (void)
-{
- abort ();
- return NULL;
-}
-
-#define emul_bfd_name criself_bfd_name
#define emul_format &elf_format_ops
#define emul_name "criself"
#include "as.h"
#include "emul.h"
-static const char *i386aout_bfd_name (void);
-
-static const char *
-i386aout_bfd_name (void)
-{
- abort ();
- return NULL;
-}
-
-#define emul_bfd_name i386aout_bfd_name
#define emul_format &aout_format_ops
#define emul_name "i386aout"
#include "as.h"
#include "emul.h"
-static const char *i386coff_bfd_name (void);
-
-static const char *
-i386coff_bfd_name (void)
-{
- abort ();
- return NULL;
-}
-
-#define emul_bfd_name i386coff_bfd_name
#define emul_format &coff_format_ops
#define emul_name "i386coff"
#include "as.h"
#include "emul.h"
-static const char *i386elf_bfd_name (void);
-
-static const char *
-i386elf_bfd_name (void)
-{
- abort ();
- return NULL;
-}
-
-#define emul_bfd_name i386elf_bfd_name
#define emul_format &elf_format_ops
#define emul_name "i386elf"
#include "as.h"
#include "emul.h"
-static const char *mipself_bfd_name (void);
-
-static const char *
-mipself_bfd_name (void)
-{
- abort ();
- return NULL;
-}
-
-#define emul_bfd_name mipself_bfd_name
#define emul_format &elf_format_ops
#define emul_name "mipsbelf"
#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
struct emulation emul_struct_name =
{
- 0,
emul_name,
emul_init,
- emul_bfd_name,
emul_local_labels_fb, emul_local_labels_dollar,
emul_leading_underscore,
emul_default_endian,
struct emulation
{
- void (* match) (const char *);
const char * name;
void (* init) (void);
- const char *(* bfd_name) (void);
unsigned local_labels_fb : 1;
unsigned local_labels_dollar : 1;
unsigned leading_underscore : 2;
COMMON struct emulation * this_emulation;
-extern const char * default_emul_bfd_name (void);
extern void common_emul_init (void);
#endif