From: Jim Kingdon Date: Tue, 20 Jul 1993 21:45:32 +0000 (+0000) Subject: * Rename for DOS uniqueness: coff-m68k-un.c -> coff-u68k.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df61743d3ee6b72c98e921f828a93e6890a200b8;p=binutils-gdb.git * Rename for DOS uniqueness: coff-m68k-un.c -> coff-u68k.c config/m68k-coffun.mt -> u68k-coff.mt. * Makefile.in, configure.in: Corresponding changes. --- diff --git a/bfd/.Sanitize b/bfd/.Sanitize index 3962940f6a6..01fb6cddf29 100644 --- a/bfd/.Sanitize +++ b/bfd/.Sanitize @@ -55,13 +55,13 @@ coff-h8300.c coff-h8500.c coff-i386.c coff-i960.c -coff-m68k-un.c coff-m68k.c coff-m88k.c coff-mips.c coff-msym.c coff-rs6000.c coff-sh.c +coff-u68k.c coff-we32k.c coff-z8k.c coffcode.h diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a4f7a43c914..e91146cf5e7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +Tue Jul 20 14:36:27 1993 Jim Kingdon (kingdon@deneb.cygnus.com) + + * Rename for DOS uniqueness: coff-m68k-un.c -> coff-u68k.c + config/m68k-coffun.mt -> u68k-coff.mt. + * Makefile.in, configure.in: Corresponding changes. + Tue Jul 20 16:21:52 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) * elf32-sparc.c (elf_sparc_howto_table): Don't use "^&" before diff --git a/bfd/Makefile.in b/bfd/Makefile.in index ce8491301d8..c65c4c8ca37 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -90,7 +90,7 @@ BFD32_BACKENDS = \ aout32.o sunos.o newsos3.o mipsbsd.o aout-adobe.o \ i386aout.o i386bsd.o i386linux.o i386lynx.o \ hp300hpux.o bout.o \ - coff-i960.o coff-a29k.o coff-m68k.o coff-m68k-un.o \ + coff-i960.o coff-a29k.o coff-m68k.o coff-u68k.o \ coff-i386.o coff-m88k.o \ coff-rs6000.o coff-h8300.o coff-h8500.o coff-z8k.o coff-we32k.o \ coff-mips.o coff-msym.o coff-alpha.o coff-sh.o \ @@ -139,7 +139,7 @@ FLAGS_TO_PASS = \ CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c \ archures.c coff-i386.c aout64.c aout32.c sunos.c demo64.c \ coff-i960.c srec.c tekhex.c oasys.c ieee.c \ - coff-m68k.c coff-m68k-un.c \ + coff-m68k.c coff-u68k.c \ coff-a29k.c coff-rs6000.c coff-msym.c coffgen.c format.c \ section.c core.c syms.c stab-syms.c reloc.c init.c ctor.c \ seclet.c coff-m88k.c coff-mips.c coff-sh.c trad-core.c newsos3.c \ diff --git a/bfd/coff-m68k-un.c b/bfd/coff-m68k-un.c deleted file mode 100644 index 399de96afef..00000000000 --- a/bfd/coff-m68k-un.c +++ /dev/null @@ -1,35 +0,0 @@ -/* 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" diff --git a/bfd/coff-u68k.c b/bfd/coff-u68k.c new file mode 100644 index 00000000000..399de96afef --- /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" diff --git a/bfd/configure.in b/bfd/configure.in index 1cbe4dabb64..bdd5ee86bd8 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -64,7 +64,7 @@ case "${target}" in i960-*-vxworks) bfd_target=i960-bout ;; i960-*-aout) bfd_target=i960-bout ;; i960-*-bout) bfd_target=i960-bout ;; - m68*-bull-sysv*) bfd_target=m68k-coffun ;; + m68*-bull-sysv*) bfd_target=u68k-coff ;; m68*-hp-bsd*) bfd_target=hp300bsd ;; m68*-*-aout) bfd_target=m68k-aout ;; m68*-*-coff) bfd_target=m68k-coff ;;