1a1ba9ba4Schristos /* BFD back-end for MCore PECOFF files. 2*184b2d41Schristos Copyright (C) 1999-2020 Free Software Foundation, Inc. 3a1ba9ba4Schristos 4a1ba9ba4Schristos This file is part of BFD, the Binary File Descriptor library. 5a1ba9ba4Schristos 6a1ba9ba4Schristos This program is free software; you can redistribute it and/or modify 7a1ba9ba4Schristos it under the terms of the GNU General Public License as published by 8a1ba9ba4Schristos the Free Software Foundation; either version 3 of the License, or 9a1ba9ba4Schristos (at your option) any later version. 10a1ba9ba4Schristos 11a1ba9ba4Schristos This program is distributed in the hope that it will be useful, 12a1ba9ba4Schristos but WITHOUT ANY WARRANTY; without even the implied warranty of 13a1ba9ba4Schristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14a1ba9ba4Schristos GNU General Public License for more details. 15a1ba9ba4Schristos 16a1ba9ba4Schristos You should have received a copy of the GNU General Public License 17a1ba9ba4Schristos along with this program; if not, write to the Free Software 18a1ba9ba4Schristos Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 19a1ba9ba4Schristos MA 02110-1301, USA. */ 20a1ba9ba4Schristos 21a1ba9ba4Schristos #include "sysdep.h" 22a1ba9ba4Schristos #include "bfd.h" 23a1ba9ba4Schristos 24a1ba9ba4Schristos #ifndef TARGET_BIG_SYM 25a1ba9ba4Schristos #define TARGET_BIG_SYM mcore_pei_be_vec 26a1ba9ba4Schristos #define TARGET_BIG_NAME "pei-mcore-big" 27a1ba9ba4Schristos #define TARGET_LITTLE_SYM mcore_pei_le_vec 28a1ba9ba4Schristos #define TARGET_LITTLE_NAME "pei-mcore-little" 29a1ba9ba4Schristos #endif 30a1ba9ba4Schristos 31a1ba9ba4Schristos #define COFF_IMAGE_WITH_PE 32a1ba9ba4Schristos #define COFF_WITH_PE 33a1ba9ba4Schristos #define PCRELOFFSET TRUE 34a1ba9ba4Schristos /* Long section names not allowed in executable images, only object files. */ 35a1ba9ba4Schristos #define COFF_LONG_SECTION_NAMES 0 36a1ba9ba4Schristos 37a1ba9ba4Schristos #define MCORE_PE 38a1ba9ba4Schristos 39a1ba9ba4Schristos #ifndef bfd_pe_print_pdata 40a1ba9ba4Schristos #define bfd_pe_print_pdata NULL 41a1ba9ba4Schristos #endif 42a1ba9ba4Schristos 43a1ba9ba4Schristos #include "coff-mcore.c" 44