1  /* Copyright (C) 2007-2023 Free Software Foundation, Inc.
       2  
       3     This file is part of GAS, the GNU Assembler.
       4  
       5     GAS is free software; you can redistribute it and/or modify
       6     it under the terms of the GNU General Public License as published by
       7     the Free Software Foundation; either version 3, or (at your option)
       8     any later version.
       9  
      10     GAS is distributed in the hope that it will be useful,
      11     but WITHOUT ANY WARRANTY; without even the implied warranty of
      12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      13     GNU General Public License for more details.
      14  
      15     You should have received a copy of the GNU General Public License
      16     along with GAS; see the file COPYING.  If not, write to the Free
      17     Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
      18     02110-1301, USA.  */
      19  
      20  #include "as.h"
      21  #include "emul.h"
      22  
      23  static const char *mipself_bfd_name (void);
      24  
      25  static const char *
      26  mipself_bfd_name (void)
      27  {
      28    abort ();
      29    return NULL;
      30  }
      31  
      32  #define emul_bfd_name	mipself_bfd_name
      33  #define emul_format	&elf_format_ops
      34  
      35  #define emul_name	"mipsbelf"
      36  #define emul_struct_name mipsbelf
      37  #define emul_default_endian 1
      38  #include "emul-target.h"
      39  
      40  #undef  emul_name
      41  #undef  emul_struct_name
      42  #undef  emul_default_endian
      43  
      44  #define emul_name	"mipslelf"
      45  #define emul_struct_name mipslelf
      46  #define emul_default_endian 0
      47  #include "emul-target.h"
      48  
      49  #undef emul_name
      50  #undef emul_struct_name
      51  #undef emul_default_endian
      52  
      53  #define emul_name	"mipself"
      54  #define emul_struct_name mipself
      55  #define emul_default_endian 2
      56  #include "emul-target.h"