xref: /openbsd-src/gnu/usr.bin/binutils/bfd/pei-mcore.c (revision d2201f2f89f0be1a0be6f7568000ed297414a06d)
1f7cc78ecSespie /* BFD back-end for MCore PECOFF files.
2*d2201f2fSdrahn    Copyright 1999, 2002 Free Software Foundation, Inc.
3f7cc78ecSespie 
4f7cc78ecSespie This file is part of BFD, the Binary File Descriptor library.
5f7cc78ecSespie 
6f7cc78ecSespie This program is free software; you can redistribute it and/or modify
7f7cc78ecSespie it under the terms of the GNU General Public License as published by
8f7cc78ecSespie the Free Software Foundation; either version 2 of the License, or
9f7cc78ecSespie (at your option) any later version.
10f7cc78ecSespie 
11f7cc78ecSespie This program is distributed in the hope that it will be useful,
12f7cc78ecSespie but WITHOUT ANY WARRANTY; without even the implied warranty of
13f7cc78ecSespie MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14f7cc78ecSespie GNU General Public License for more details.
15f7cc78ecSespie 
16f7cc78ecSespie You should have received a copy of the GNU General Public License
17f7cc78ecSespie along with this program; if not, write to the Free Software
18f7cc78ecSespie Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
19f7cc78ecSespie 
20f7cc78ecSespie #include "bfd.h"
21f7cc78ecSespie #include "sysdep.h"
22f7cc78ecSespie 
23f7cc78ecSespie #ifndef TARGET_BIG_SYM
24f7cc78ecSespie #define TARGET_BIG_SYM       mcore_pei_big_vec
25f7cc78ecSespie #define TARGET_BIG_NAME      "pei-mcore-big"
26f7cc78ecSespie #define TARGET_LITTLE_SYM    mcore_pei_little_vec
27f7cc78ecSespie #define TARGET_LITTLE_NAME   "pei-mcore-little"
28f7cc78ecSespie #endif
29f7cc78ecSespie 
30f7cc78ecSespie #define COFF_IMAGE_WITH_PE
31f7cc78ecSespie #define COFF_WITH_PE
32*d2201f2fSdrahn #define PCRELOFFSET        TRUE
33f7cc78ecSespie #define COFF_LONG_SECTION_NAMES
34f7cc78ecSespie 
35f7cc78ecSespie #define MCORE_PE
36f7cc78ecSespie 
37f7cc78ecSespie #include "coff-mcore.c"
38