X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fconfig%2Fe-mipself.c;h=7f19089ec426e3ad8bf4c8bdc9ad28a675719227;hb=7b14583ef0c858dc8f29c127f70b034f7f5d4ad2;hp=a2ba0551c7eb1875e6ff571393a7fe47592381c7;hpb=e7757ad0bc0d57143b4b313c56ce42abe63560cd;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/e-mipself.c b/gas/config/e-mipself.c index a2ba0551c7..7f19089ec4 100644 --- a/gas/config/e-mipself.c +++ b/gas/config/e-mipself.c @@ -1,10 +1,32 @@ +/* Copyright (C) 2007-2016 Free Software Foundation, Inc. + + 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 + the Free Software Foundation; either version 3, or (at your option) + 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 + Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA + 02110-1301, USA. */ + #include "as.h" #include "emul.h" +static const char *mipself_bfd_name (void); + static const char * -mipself_bfd_name () +mipself_bfd_name (void) { abort (); + return NULL; } #define emul_bfd_name mipself_bfd_name @@ -23,3 +45,12 @@ mipself_bfd_name () #define emul_struct_name mipslelf #define emul_default_endian 0 #include "emul-target.h" + +#undef emul_name +#undef emul_struct_name +#undef emul_default_endian + +#define emul_name "mipself" +#define emul_struct_name mipself +#define emul_default_endian 2 +#include "emul-target.h"