mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 13:09:48 +00:00
4d09e8acfb
* 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.
36 lines
1.3 KiB
C
36 lines
1.3 KiB
C
/* 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"
|