Commit | Line | Data |
---|---|---|
252b5132 | 1 | /* BFD backend for sparc little-endian aout binaries. |
691bf19c | 2 | Copyright 1996, 2001, 2005, 2007, 2012 Free Software Foundation, Inc. |
252b5132 RH |
3 | Written by Cygnus Support. |
4 | ||
cd123cb7 | 5 | This file is part of BFD, the Binary File Descriptor library. |
252b5132 | 6 | |
cd123cb7 NC |
7 | This program is free software; you can redistribute it and/or modify |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 3 of the License, or | |
10 | (at your option) any later version. | |
252b5132 | 11 | |
cd123cb7 NC |
12 | This program is distributed in the hope that it will be useful, |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
252b5132 | 16 | |
cd123cb7 NC |
17 | You should have received a copy of the GNU General Public License |
18 | along with this program; if not, write to the Free Software | |
19 | Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ | |
252b5132 RH |
20 | |
21 | #define TARGETNAME "a.out-sparc-little" | |
e43d48cc AM |
22 | |
23 | /* Do not "beautify" the CONCAT* macro args. Traditional C will not | |
24 | remove whitespace added here, and thus will fail to concatenate | |
25 | the tokens. */ | |
26 | #define MY(OP) CONCAT2 (sparcle_aout_,OP) | |
252b5132 | 27 | |
691bf19c | 28 | #include "sysdep.h" |
252b5132 RH |
29 | #include "bfd.h" |
30 | #include "bfdlink.h" | |
31 | #include "libaout.h" | |
32 | ||
33 | #define MACHTYPE_OK(mtype) ((mtype) == M_SPARC || (mtype) == M_SPARCLET) | |
34 | ||
35 | /* Include the usual a.out support. */ | |
36 | #define TARGET_IS_LITTLE_ENDIAN_P | |
37 | #include "aoutf1.h" |