diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-11 23:23:20 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-07-11 23:23:20 +0000 |
commit | 4d09e8acfb68cfbdef55b4569cdc8cb0eeb48ab9 (patch) | |
tree | 429bf3aa89b31181827f57c1923568a747ed4fca /bfd/coff-m68k-un.c | |
parent | 6f4d6543da2b56e114ed45559a424b60f17559fc (diff) | |
download | gdb-4d09e8acfb68cfbdef55b4569cdc8cb0eeb48ab9.zip gdb-4d09e8acfb68cfbdef55b4569cdc8cb0eeb48ab9.tar.gz gdb-4d09e8acfb68cfbdef55b4569cdc8cb0eeb48ab9.tar.bz2 |
* elfcode.h: Use memset not bzero.
* trad-core.c: Don't include <sys/file.h>.
* i386linux.h: Include <sys/file.h>.
* coff-m68k-un.c: new file to handle names with underscores on
svr3 machines.
* coff-m68k.c (m68k_rtype2howto): added #ifdef ONLY_DECLARE_RELOCS
to not duplicate the function in the executable.
(TARGET_SYM, TARGET_NAME, NAMES_HAVE_UNDERSCORE): new macros needed
by coff-m68k-un.c.
* coffcode.h (MC68KBCSMAGIC): case added.
* targets.c: Add m68kcoffun_vec.
* configure.host: added support for Bull dpx/2.
* config/dpx2.mh, hosts/dpx2.h: new files.
* Makefile.in: added target coff-m68k-un.
Diffstat (limited to 'bfd/coff-m68k-un.c')
-rw-r--r-- | bfd/coff-m68k-un.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/bfd/coff-m68k-un.c b/bfd/coff-m68k-un.c index e69de29..399de96 100644 --- a/bfd/coff-m68k-un.c +++ b/bfd/coff-m68k-un.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" |