160484Sobrien/* BFD backend for sparc little-endian aout binaries.
289857Sobrien   Copyright 1996, 2001 Free Software Foundation, Inc.
360484Sobrien   Written by Cygnus Support.
460484Sobrien
560484SobrienThis file is part of BFD, the Binary File Descriptor library.
660484Sobrien
760484SobrienThis program is free software; you can redistribute it and/or modify
860484Sobrienit under the terms of the GNU General Public License as published by
960484Sobrienthe Free Software Foundation; either version 2 of the License, or
1060484Sobrien(at your option) any later version.
1160484Sobrien
1260484SobrienThis program is distributed in the hope that it will be useful,
1360484Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of
1460484SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1560484SobrienGNU General Public License for more details.
1660484Sobrien
1760484SobrienYou should have received a copy of the GNU General Public License
1860484Sobrienalong with this program; if not, write to the Free Software
19218822SdimFoundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
2060484Sobrien
2160484Sobrien#define TARGETNAME "a.out-sparc-little"
2260484Sobrien
2389857Sobrien/* Do not "beautify" the CONCAT* macro args.  Traditional C will not
2489857Sobrien   remove whitespace added here, and thus will fail to concatenate
2589857Sobrien   the tokens.  */
2689857Sobrien#define MY(OP) CONCAT2 (sparcle_aout_,OP)
2789857Sobrien
2860484Sobrien#include "bfd.h"
2960484Sobrien#include "bfdlink.h"
3060484Sobrien#include "libaout.h"
3160484Sobrien
3260484Sobrien#define MACHTYPE_OK(mtype) ((mtype) == M_SPARC || (mtype) == M_SPARCLET)
3360484Sobrien
3460484Sobrien/* Include the usual a.out support.  */
3560484Sobrien#define TARGET_IS_LITTLE_ENDIAN_P
3660484Sobrien#include "aoutf1.h"
37