* Rename COFF-related files in `coff-ARCH.c' form.

coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
coff-mips.c, coff-rs6000.c to be exact.
This commit is contained in:
John Gilmore 1991-10-25 10:17:52 +00:00
parent 4a29cb1e7e
commit 156e38523a
6 changed files with 74 additions and 61 deletions

View file

@ -32,7 +32,6 @@ ChangeLog
Makefile.in Makefile.in
TODO TODO
VERSION VERSION
amdcoff.c
aout32.c aout32.c
aout64.c aout64.c
aoutf1.h aoutf1.h
@ -43,20 +42,24 @@ bfd-in.h
bfd.c bfd.c
bout.c bout.c
cache.c cache.c
coff-a29k.c
coff-i386.c
coff-i960.c
coff-m68k.c
coff-m88k.c
coff-mips.c
coff-rs6000.c
coffcode.h coffcode.h
config config
configure.in configure.in
core.c core.c
demo64.c demo64.c
ecoff.c
elf.c elf.c
filemode.c filemode.c
format.c format.c
host-aout.c host-aout.c
hosts hosts
i386aout.c i386aout.c
i386coff.c
icoff.c
ieee.c ieee.c
libaout.h libaout.h
libbfd-in.h libbfd-in.h
@ -77,13 +80,10 @@ libcoff-in.h
libcoff.h libcoff.h
libieee.h libieee.h
liboasys.h liboasys.h
m68kcoff.c
m88k-bcs.c
newsos3.c newsos3.c
oasys.c oasys.c
opncls.c opncls.c
reloc.c reloc.c
rs6000coff.c
section.c section.c
srec.c srec.c
sunos.c sunos.c
@ -115,6 +115,11 @@ echo Done in `pwd`.
# #
# #
# $Log$ # $Log$
# Revision 1.27 1991/10/25 10:17:41 gnu
# * Rename COFF-related files in `coff-ARCH.c' form.
# coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
# coff-mips.c, coff-rs6000.c to be exact.
#
# Revision 1.26 1991/10/25 07:16:59 gnu # Revision 1.26 1991/10/25 07:16:59 gnu
# RS/6000 support # RS/6000 support
# #

View file

@ -1,3 +1,13 @@
Fri Oct 25 02:48:19 1991 John Gilmore (gnu at cygnus.com)
* Rename COFF-related files in `coff-ARCH.c' form.
coff-a29k.c, coff-i386.c, coff-i960.c, coff-m68k.c, coff-m88k.c,
coff-mips.c, coff-rs6000.c to be exact.
* Makefile.in: Only supply TARGET_DEFAULTS to targets.c, reducing
make output clutter.
* config/mt-*: Ditto.
Thu Oct 24 22:40:07 1991 John Gilmore (gnu at cygnus.com) Thu Oct 24 22:40:07 1991 John Gilmore (gnu at cygnus.com)
RS/6000 support, by Metin G. Ozisik, Mimi Phûông-Thåo Võ, and RS/6000 support, by Metin G. Ozisik, Mimi Phûông-Thåo Võ, and

View file

@ -46,11 +46,10 @@ BFD_LIBS = libbfd.o opncls.o bfd.o archive.o targets.o cache.o \
BFD_MACHINES = cpu-h8300.o cpu-i960.o cpu-sparc.o cpu-m68k.o cpu-m88k.o \ BFD_MACHINES = cpu-h8300.o cpu-i960.o cpu-sparc.o cpu-m68k.o cpu-m88k.o \
cpu-vax.o cpu-mips.o cpu-a29k.o cpu-i386.o cpu-rs6000.o cpu-vax.o cpu-mips.o cpu-a29k.o cpu-i386.o cpu-rs6000.o
BFD_BACKENDS = oasys.o ieee.o srec.o \ BFD_BACKENDS = oasys.o ieee.o srec.o elf.o \
aout64.o aout32.o demo64.o sunos.o newsos3.o i386aout.o bout.o \ aout64.o aout32.o demo64.o sunos.o newsos3.o i386aout.o bout.o \
icoff.o amdcoff.o m68kcoff.o i386coff.o m88k-bcs.o ecoff.o elf.o \ coff-i960.o coff-a29k.o coff-m68k.o coff-i386.o coff-m88k.o \
rs6000coff.o coff-mips.o coff-rs6000.o
OPTIONAL_BACKENDS = trad-core.o OPTIONAL_BACKENDS = trad-core.o
@ -58,10 +57,10 @@ BFD_H=$(INCDIR)/bfd.h
# C source files that correspond to .o's. # C source files that correspond to .o's.
CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c archures.c \ CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c archures.c \
i386coff.c aout64.c aout32.c sunos.c demo64.c icoff.c srec.c \ coff-i386.c aout64.c aout32.c sunos.c demo64.c coff-i960.c srec.c \
oasys.c ieee.c m68kcoff.c amdcoff.c rs6000coff.c \ oasys.c ieee.c coff-m68k.c coff-a29k.c coff-rs6000.c \
format.c section.c core.c syms.c reloc.c init.c \ format.c section.c core.c syms.c reloc.c init.c \
m88k-bcs.c ecoff.c trad-core.c newsos3.c i386aout.c bout.c elf.c \ coff-m88k.c coff-mips.c trad-core.c newsos3.c i386aout.c bout.c elf.c \
cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c cpu-m88k.c \ cpu-h8300.c cpu-i960.c cpu-sparc.c cpu-m68k.c cpu-m88k.c \
cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-rs6000.c cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.c cpu-rs6000.c
@ -249,8 +248,8 @@ archive.o : archive.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
targets.o : targets.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h targets.o : targets.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
cache.o : cache.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h cache.o : cache.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
archures.o : archures.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h archures.o : archures.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h
i386coff.o : i386coff.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \ coff-i386.o : coff-i386.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/i386coff.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h $(INCDIR)/coff-i386.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h
aout64.o : aout64.c aout64.o : aout64.c
aout32.o : aout32.c aoutx.h $(INCDIR)/bfd.h $(INCDIR)/ansidecl.h \ aout32.o : aout32.c aoutx.h $(INCDIR)/bfd.h $(INCDIR)/ansidecl.h \
$(INCDIR)/obstack.h libaout.h libbfd.h $(INCDIR)/aout64.h \ $(INCDIR)/obstack.h libaout.h libbfd.h $(INCDIR)/aout64.h \
@ -259,19 +258,19 @@ sunos.o : sunos.c aoutf1.h $(INCDIR)/bfd.h $(INCDIR)/obstack.h \
libaout.h libbfd.h $(INCDIR)/aout64.h $(INCDIR)/stab.gnu.h \ libaout.h libbfd.h $(INCDIR)/aout64.h $(INCDIR)/stab.gnu.h \
$(INCDIR)/stab.def $(INCDIR)/ar.h $(INCDIR)/stab.def $(INCDIR)/ar.h
demo64.o : demo64.c demo64.o : demo64.c
icoff.o : icoff.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \ coff-i960.o : coff-i960.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/intel-coff.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h $(INCDIR)/coff-i960.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h
srec.o : srec.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h srec.o : srec.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h
oasys.o : oasys.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \ oasys.o : oasys.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/oasys.h liboasys.h $(INCDIR)/oasys.h liboasys.h
ieee.o : ieee.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \ ieee.o : ieee.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/ieee.h libieee.h $(INCDIR)/ieee.h libieee.h
m68kcoff.o : m68kcoff.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \ coff-m68k.o : coff-m68k.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/m68kcoff.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h $(INCDIR)/coff-m68k.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h
amdcoff.o : amdcoff.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \ coff-a29k.o : coff-a29k.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/amdcoff.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h $(INCDIR)/coff-a29k.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h
rs6000coff.o: rs6000coff.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \ coff-rs6000.o: coff-rs6000.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/rs6000coff.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h $(INCDIR)/coff-rs6000.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h
format.o : format.c $(INCDIR)/bfd.h \ format.o : format.c $(INCDIR)/bfd.h \
$(INCDIR)/obstack.h libbfd.h $(INCDIR)/obstack.h libbfd.h
section.o : section.c $(INCDIR)/bfd.h \ section.o : section.c $(INCDIR)/bfd.h \
@ -282,10 +281,10 @@ syms.o : syms.c $(INCDIR)/bfd.h \
$(INCDIR)/obstack.h libbfd.h $(INCDIR)/obstack.h libbfd.h
reloc.o : reloc.c $(INCDIR)/bfd.h \ reloc.o : reloc.c $(INCDIR)/bfd.h \
$(INCDIR)/obstack.h libbfd.h $(INCDIR)/obstack.h libbfd.h
m88k-bcs.o : m88k-bcs.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \ coff-m88k.o : coff-m88k.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/m88k-bcs.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h $(INCDIR)/coff-m88k.h $(INCDIR)/internalcoff.h libcoff.h coffcode.h
ecoff.o : ecoff.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \ coff-mips.o : coff-mips.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/ecoff.h $(INCDIR)/internalcoff.h libcoff.h trad-core.h \ $(INCDIR)/coff-mips.h $(INCDIR)/internalcoff.h libcoff.h trad-core.h \
coffcode.h coffcode.h
trad-core.o : trad-core.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h \ trad-core.o : trad-core.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h \
libbfd.h libaout.h libbfd.h libaout.h

View file

@ -26,7 +26,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "sysdep.h" #include "sysdep.h"
#include "libbfd.h" #include "libbfd.h"
#include "obstack.h" #include "obstack.h"
#include "amdcoff.h" #include "coff-a29k.h"
#include "internalcoff.h" #include "internalcoff.h"
#include "libcoff.h" #include "libcoff.h"

View file

@ -1,31 +1,32 @@
/* Copyright (C) 1990, 1991 Free Software Foundation, Inc. /* Motorola 88000 COFF support ("Binary Compatability Standard") for BFD.
Copyright (C) 1990-1991 Free Software Foundation, Inc.
Written by Cygnus Support.
This file is part of BFD, the Binary File Diddler. This file is part of BFD, the Binary File Descriptor library.
BFD is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 1, or (at your option) the Free Software Foundation; either version 2 of the License, or
any later version. (at your option) any later version.
BFD is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with BFD; see the file COPYING. If not, write to along with this program; if not, write to the Free Software
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* $Id$ */ /* $Id$ */
#define M88 1 #define M88 1 /* Customize various include files */
#include <ansidecl.h>
#include <sysdep.h>
#include "bfd.h" #include "bfd.h"
#include "sysdep.h"
#include "libbfd.h" #include "libbfd.h"
#include "obstack.h" #include "obstack.h"
#include "m88k-bcs.h" #include "coff-m88k.h"
#include "internalcoff.h"
#include "libcoff.h" #include "libcoff.h"
/* Provided the symbol, returns the value reffed */ /* Provided the symbol, returns the value reffed */
@ -47,7 +48,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
static bfd_reloc_status_enum_type static bfd_reloc_status_type
DEFUN(howto_hvrt16,(abfd, reloc_entry, symbol_in, data, ignore_input_section), DEFUN(howto_hvrt16,(abfd, reloc_entry, symbol_in, data, ignore_input_section),
bfd *abfd AND bfd *abfd AND
arelent *reloc_entry AND arelent *reloc_entry AND
@ -93,7 +94,7 @@ static reloc_howto_type howto_table[] =
bfd_target m88k_bcs_vec = bfd_target m88k_bcs_vec =
{ {
"m88kbcs", /* name */ "m88kbcs", /* name */
bfd_target_coff_flavour_enum, bfd_target_coff_flavour,
true, /* data byte order is big */ true, /* data byte order is big */
true, /* header byte order is big */ true, /* header byte order is big */
@ -104,9 +105,9 @@ bfd_target m88k_bcs_vec =
(SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* section flags */ (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* section flags */
'/', /* ar_pad_char */ '/', /* ar_pad_char */
15, /* ar_max_namelen */ 15, /* ar_max_namelen */
3, /* default alignment power */
_do_getb64, _do_putb64, _do_getb32, _do_putb32, _do_getb16, _do_putb16, /* data */ _do_getb64, _do_putb64, _do_getb32, _do_putb32, _do_getb16, _do_putb16, /* data */
_do_getb64, _do_putb64, _do_getb32, _do_putb32, _do_getb16, _do_putb16, /* hdrs */ _do_getb64, _do_putb64, _do_getb32, _do_putb32, _do_getb16, _do_putb16, /* hdrs */
{_bfd_dummy_target, coff_object_p, /* bfd_check_format */ {_bfd_dummy_target, coff_object_p, /* bfd_check_format */
bfd_generic_archive_p, _bfd_dummy_target}, bfd_generic_archive_p, _bfd_dummy_target},
@ -116,5 +117,5 @@ _do_getb64, _do_putb64, _do_getb32, _do_putb32, _do_getb16, _do_putb16, /* hdr
_bfd_write_archive_contents, bfd_false}, _bfd_write_archive_contents, bfd_false},
JUMP_TABLE(coff), JUMP_TABLE(coff),
COFF_SWAP_TABLE COFF_SWAP_TABLE
}; };

View file

@ -26,13 +26,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Internalcoff.h and coffcode.h modify themselves based on this flag. */ /* Internalcoff.h and coffcode.h modify themselves based on this flag. */
#define RS6000COFF_C 1 #define RS6000COFF_C 1
#include <ansidecl.h>
#include <sysdep.h>
#include "bfd.h" #include "bfd.h"
#include "sysdep.h"
#include "libbfd.h" #include "libbfd.h"
#include "obstack.h" #include "obstack.h"
#include "internalcoff.h" #include "internalcoff.h"
#include "rs6000coff.h" #include "coff-rs6000.h"
#include "libcoff.h" #include "libcoff.h"
/* The main body of code is in coffcode.h. */ /* The main body of code is in coffcode.h. */
@ -58,7 +57,7 @@ static bfd_target *rs6000coff_real_object_p ();
bfd_target rs6000coff_vec = bfd_target rs6000coff_vec =
{ {
"coff_rs6000", /* name */ "coff-rs6000", /* name */
bfd_target_coff_flavour, bfd_target_coff_flavour,
true, /* data byte order is big */ true, /* data byte order is big */
true, /* header byte order is big */ true, /* header byte order is big */
@ -497,4 +496,3 @@ rs6000coff_get_section_contents (abfd, section, location, offset, count)
} }
#endif /* if 0 - for CORE */ #endif /* if 0 - for CORE */