aboutsummaryrefslogtreecommitdiff
path: root/bfd/Makefile.in
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-10-01 03:55:40 +0000
committerSteve Chamberlain <steve@cygnus>1991-10-01 03:55:40 +0000
commit63ffe5ef86e4833dca5d777022df97677f171498 (patch)
tree81603023dcd1bc1eab2fc7fc5481710847383a33 /bfd/Makefile.in
parent7fe11a82b43a278ca46950f2e7d1176eff53132a (diff)
downloadgdb-63ffe5ef86e4833dca5d777022df97677f171498.zip
gdb-63ffe5ef86e4833dca5d777022df97677f171498.tar.gz
gdb-63ffe5ef86e4833dca5d777022df97677f171498.tar.bz2
Insert the incidentals and things I forgot to ci last time, same log message:
Mon Sep 30 15:13:46 1991 Steve Chamberlain (steve at cygnus.com) * cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c, cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These files will eventually contain processor specific bits for bfd, like strange relocation information and dis/assembly. So far only the H8 has been even partially done. This work also ties in with the change in handling architectures. * amdcoff.c: (a29k_reloc) fix error message. * aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to discover the architecture of the bfd. (sunos4_callback) calls the function bfd_set_arch_mach rather than stuffing stuff directly into the bfd. (sunos4_write_object_contents), changed names of accessor functions. * aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to setup the environment. * archive.c: (bfd_slurp_coff_armap) coff archives always have the headers in big endian format, regardless of the endianess of the host or target. * archures.c: totally changed. Now an architecture is represented with a pointer to an info structure rather than an enumerated type and a long. The old info is available as two elements in the structure. Future enhancements to architecure support will involve pointers to methods being placed into the info structure. * bfd.c: changed the definition of the bfd structure for the new architecture stuff. * bout.c: (b_out_set_arch_mach) changed to use the new architecture mechanism. * coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use the new architecture mechanism. * configure.in: added h8 stuff. * ieee.c: too many changes to note. Now ieee files written with bfd gas and ld can be read by gld and ieee only linkers and simulators. * libbfd.c, libbfd.h: changed prototype of bfd_write. * newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather than fixing the structure directly. * oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather than fixing the structure directly. * opncls.c: (new_bfd) makes sure that bfd_init has been called before opening a bfd. * srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach rather than fixing the structure directly. * targets.c: (target_vector) now by defining SELECT_VECS (perhaps in the t/hmake file) a user can select which backends they want linked with bfd without changing the source. * init.c: new, looks after initializing modules. * howto.c: for future use, will allow an application to work out what cookie to use as a handle on a relcoatio howto.
Diffstat (limited to 'bfd/Makefile.in')
-rw-r--r--bfd/Makefile.in18
1 files changed, 14 insertions, 4 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in
index 136de67..4d25568 100644
--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -41,12 +41,16 @@ CFLAGS = -g $(HDEFINES) $(TDEFINES) $(CSEARCH) $(CSWITCHES) # -DINTEL960VERSION
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
+ archures.o core.o section.o format.o syms.o reloc.o init.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
BFD_BACKENDS = oasys.o ieee.o srec.o \
aout64.o aout32.o demo64.o sunos.o newsos3.o bout.o \
icoff.o amdcoff.o m68kcoff.o i386coff.o m88k-bcs.o ecoff.o
+
OPTIONAL_BACKENDS = trad-core.o
BFD_H=$(INCDIR)/bfd.h
@@ -56,15 +60,18 @@ SYSDEP_H=$(INCDIR)/sysdep.h
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 \
oasys.c ieee.c m68kcoff.c amdcoff.c \
- format.c section.c core.c syms.c reloc.c \
- m88k-bcs.c ecoff.c trad-core.c newsos3.c bout.c
+ format.c section.c core.c syms.c reloc.c init.c \
+ m88k-bcs.c ecoff.c trad-core.c newsos3.c bout.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.o
+
STAGESTUFF = $(TARGETLIB) $(OFILES)
all: $(TARGETLIB)
# XDEPFILES comes from the host config; TDEPFILES from the target config.
-OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(XDEPFILES) $(TDEPFILES)
+OFILES = $(BFD_LIBS) $(BFD_BACKENDS) $(BFD_MACHINES) $(XDEPFILES) $(TDEPFILES)
$(TARGETLIB): $(OFILES)
rm -f $(TARGETLIB)
@@ -202,6 +209,9 @@ headers:
cp $(docdir)/bfd.h $(BFD_H)
cp $(docdir)/libbfd.h $(srcdir)/libbfd.h
cp $(docdir)/libcoff.h $(srcdir)/libcoff.h
+ rm -f $(docdir)/bfd-in.h
+ rm -f $(docdir)/libbfd-in.h
+ rm -f $(docdir)/libcoff-in.h
bfd.info:
( cd $(docdir); $(MAKE) bfd.info)