| 1 | /* BFD back-end for Motorola 68000 COFF binaries having underscore with name. |
| 2 | Copyright (C) 1990-2018 Free Software Foundation, Inc. |
| 3 | Written by Cygnus Support. |
| 4 | |
| 5 | This file is part of BFD, the Binary File Descriptor library. |
| 6 | |
| 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. |
| 11 | |
| 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. |
| 16 | |
| 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, |
| 20 | MA 02110-1301, USA. */ |
| 21 | |
| 22 | #define TARGET_SYM m68k_coff_un_vec |
| 23 | #define TARGET_NAME "coff-m68k-un" |
| 24 | |
| 25 | #define NAMES_HAVE_UNDERSCORE |
| 26 | |
| 27 | /* define this to not have multiple copy of m68k_rtype2howto |
| 28 | in the executable file */ |
| 29 | #define ONLY_DECLARE_RELOCS |
| 30 | |
| 31 | /* This magic number indicates that the names have underscores. |
| 32 | Other 68k magic numbers indicate that the names do not have |
| 33 | underscores. */ |
| 34 | #define BADMAG(x) ((x).f_magic != MC68KBCSMAGIC) |
| 35 | |
| 36 | #include "coff-m68k.c" |