Thu Feb 4 12:35:02 1993 Ian Lance Taylor (ian@cygnus.com)

* libecoff.h: New file.  Defines ECOFF backend data for gdb.
	* coff-mips.c: Now includes libecoff.h.
	(ecoff_data_type): Moved to libecoff.h.
	(ecoff_slurp_symbolic_info): Made globally visible so that gdb can
	call it.  If there is ever another ECOFF target, this and the
	swapping functions should be accessed via an ECOFF specific target
	vector.
	Makefile.in (coff-mips.o): Depends on libecoff.h.
This commit is contained in:
Ian Lance Taylor 1993-02-04 20:47:10 +00:00
parent 5f7b214259
commit a3b3dbdda5
3 changed files with 49 additions and 23 deletions

View File

@ -98,6 +98,7 @@ libbfd.c
libbfd.h
libcoff-in.h
libcoff.h
libecoff.h
libhppa.h
libieee.h
liboasys.h

View File

@ -1,3 +1,14 @@
Thu Feb 4 12:35:02 1993 Ian Lance Taylor (ian@cygnus.com)
* libecoff.h: New file. Defines ECOFF backend data for gdb.
* coff-mips.c: Now includes libecoff.h.
(ecoff_data_type): Moved to libecoff.h.
(ecoff_slurp_symbolic_info): Made globally visible so that gdb can
call it. If there is ever another ECOFF target, this and the
swapping functions should be accessed via an ECOFF specific target
vector.
Makefile.in (coff-mips.o): Depends on libecoff.h.
Wed Feb 3 09:14:36 1993 Ian Lance Taylor (ian@cygnus.com)
* coffcode.h: Removed MIPS specific information, since coff-mips.c

View File

@ -1,4 +1,4 @@
# Makefile template for Configure for the BFD library.
# Makefile template for Configure for the BFD library.
# Copyright (C) 1990, 1991, 1992 Free Software Foundation, Inc.
# Written by Cygnus Support.
#
@ -70,7 +70,8 @@ TARGETLIB = libbfd.a
BFD_LIBS = libbfd.o opncls.o bfd.o archive.o targets.o cache.o \
archures.o core.o section.o format.o syms.o reloc.o init.o ctor.o seclet.o
archures.o core.o section.o format.o syms.o reloc.o init.o \
ctor.o seclet.o coffgen.o reloc16.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-hppa.o \
@ -109,15 +110,16 @@ FLAGS_TO_PASS = \
BFD_H=$(INCDIR)/bfd.h
# C source files that correspond to .o's.
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-a29k.c coff-rs6000.c coff-msym.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 trad-core.c newsos3.c i386aout.c \
i386linux.c bout.c elf.c aout-adobe.c coff-we32k.c i386bsd.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 coff-h8300.c hppa.c \
cpu-hppa.c cpu-we32k.c
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-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 trad-core.c newsos3.c \
i386aout.c i386linux.c bout.c elf.c aout-adobe.c coff-we32k.c \
i386bsd.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 coff-h8300.c hppa.c cpu-hppa.c cpu-we32k.c reloc16.c
STAGESTUFF = $(TARGETLIB) $(OFILES)
@ -200,9 +202,7 @@ $(OPTIONAL_BACKENDS): libbfd.h $(BFD_H) $(RECONFIG)
# Get around a Sun Make bug in SunOS 4.1.1 with VPATH
cpu-i386.o:cpu-i386.c
cpu-z8k.o: cpu-z8k.c
coff-z8k.o: coff-z8k.c
cpu-we32k.o: cpu-we32k.c
coff-we32k.o: coff-we32k.c
saber:
#suppress 65 on bfd_map_over_sections
@ -338,25 +338,39 @@ oasys.o : oasys.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
coff-h8300.o: coff-h8300.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h
$(INCDIR)/coff/h8300.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
coffswap.h seclet.h
coff-a29k.o: coff-a29k.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h
$(INCDIR)/coff/a29k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
coffswap.h seclet.h
coff-i386.o: coff-i386.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h
$(INCDIR)/coff/i386.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
coffswap.h seclet.h
coff-i960.o: coff-i960.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h
$(INCDIR)/coff/i960.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
coffswap.h seclet.h
coff-m68k.o: coff-m68k.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h
$(INCDIR)/coff/m68k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
coffswap.h seclet.h
coff-m88k.o: coff-m88k.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h
$(INCDIR)/coff/m88k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
coffswap.h seclet.h
coff-mips.o: coff-mips.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/coff/mips.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h
$(INCDIR)/coff/mips.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
coffswap.h seclet.h libecoff.h
coff-rs6000.o: coff-rs6000.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/coff/rs6000.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h
$(INCDIR)/coff/rs6000.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
coffswap.h seclet.h
coff-z8k.o: coff-z8k.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/coff/z8k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h
$(INCDIR)/coff/z8k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
coffswap.h seclet.h
coff-we32k.o: coff-we32k.c $(INCDIR)/bfd.h $(INCDIR)/obstack.h libbfd.h \
$(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h
$(INCDIR)/coff/we32k.h $(INCDIR)/coff/internal.h libcoff.h coffcode.h \
coffswap.h seclet.h
coffgen.o: coffgen.c $(INCDIR)/bfd.h libbfd.h $(INCDIR)/coff/internal.h \
libcoff.h
reloc16.o: reloc16.c $(INCDIR)/bfd.h libbfd.h $(INCDIR)/coff/internal.h \
libcoff.h seclet.h
format.o : format.c $(INCDIR)/bfd.h \
$(INCDIR)/obstack.h libbfd.h
section.o : section.c $(INCDIR)/bfd.h \