aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-u68k.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-07-20 21:45:32 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-07-20 21:45:32 +0000
commitdf61743d3ee6b72c98e921f828a93e6890a200b8 (patch)
tree74551ef7544c04b252f6709c2ca52b89e768505d /bfd/coff-u68k.c
parent726d33a4362a2da76657cbe5d00e306163f52bfe (diff)
downloadgdb-df61743d3ee6b72c98e921f828a93e6890a200b8.zip
gdb-df61743d3ee6b72c98e921f828a93e6890a200b8.tar.gz
gdb-df61743d3ee6b72c98e921f828a93e6890a200b8.tar.bz2
* Rename for DOS uniqueness: coff-m68k-un.c -> coff-u68k.c
config/m68k-coffun.mt -> u68k-coff.mt. * Makefile.in, configure.in: Corresponding changes.
Diffstat (limited to 'bfd/coff-u68k.c')
-rw-r--r--bfd/coff-u68k.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/bfd/coff-u68k.c b/bfd/coff-u68k.c
new file mode 100644
index 0000000..399de96
--- /dev/null
+++ b/bfd/coff-u68k.c
@@ -0,0 +1,35 @@
+/* BFD back-end for Motorola 68000 COFF binaries having underscore with name.
+ Copyright 1990, 1991, 1992 Free Software Foundation, Inc.
+ Written by Cygnus Support.
+
+This file is part of BFD, the Binary File Descriptor library.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
+
+#define TARGET_SYM m68kcoffun_vec
+#define TARGET_NAME "coff-m68k-un"
+
+#define NAMES_HAVE_UNDERSCORE
+
+/* define this to not have multiple copy of m68k_rtype2howto
+ in the executable file */
+#define ONLY_DECLARE_RELOCS
+
+/* This magic number indicates that the names have underscores.
+ Other 68k magic numbers indicate that the names do not have
+ underscores. */
+#define BADMAG(x) ((x).f_magic != MC68KBCSMAGIC)
+
+#include "coff-m68k.c"