diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-07-06 02:22:00 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-07-06 02:22:00 +0000 |
commit | ede4eed4838610aaaf1e43571638036ca3819c64 (patch) | |
tree | f959dbd6fbb60e94b3ef82eb74fa2fcfc2da0865 /bfd/Makefile.in | |
parent | 80c5739dbe40e1eac02aaf85fa63711c29571a2b (diff) | |
download | gdb-ede4eed4838610aaaf1e43571638036ca3819c64.zip gdb-ede4eed4838610aaaf1e43571638036ca3819c64.tar.gz gdb-ede4eed4838610aaaf1e43571638036ca3819c64.tar.bz2 |
Added new files elflink.c, elflink.h, elfcore.h.
Moved some mostly size-independent stuff from elfcode.h to elf.c, adding a data
structure to elfcode.h with some misc data and callback functions. Added a
pointer to that structure to the target back end data. More work can be done
here.
Renamed generic elf routines (not cpu-specific stuff) to start with bfd_elf or
_bfd_elf. Updated most call sites, sometimes defined some macros.
Moved some dynamic linking support code from m68k, sparc, i386 to common files,
using target back end flags to control behavior. More work can probably be
done here too.
Moved core- and linker-support code out of elfcode.h to elf.c, elfcore.h,
elflink.h, or elflink.c. Now elfcode.h contains only .o and executable
support, plus #includes of elfcore.h and elflink.h. Much of the contents of
these other header files can probably still be moved from the .h files to the
.c files, to get compiled only once.
Cleaned up some "gcc -Wall" warnings regarding unused or uninitialized
variables, in generic and cpu-specific code.
Diffstat (limited to 'bfd/Makefile.in')
-rw-r--r-- | bfd/Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bfd/Makefile.in b/bfd/Makefile.in index 2d239b4..f29f115 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -85,7 +85,7 @@ BFD_LIBS = \ archive.o archures.o bfd.o cache.o coffgen.o core.o \ format.o init.o libbfd.o opncls.o reloc.o \ section.o syms.o targets.o hash.o linker.o \ - elf.o srec.o binary.o tekhex.o + elf.o elflink.o srec.o binary.o tekhex.o # This list is alphabetized to make it easier to keep in sync # with the decls and initializer in archures.c. @@ -714,7 +714,9 @@ mipsbsd.o: mipsbsd.c libaout.h $(INCDIR)/bfdlink.h \ cpu-sh.o: cpu-sh.c elf.o: elf.c $(INCDIR)/bfdlink.h libelf.h $(INCDIR)/elf/common.h \ $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h -elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \ +elflink.o : elflink.c $(INCDIR)/bfdlink.h libelf.h $(INCDIR)/elf/common.h \ + $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h +elf32.o: elf32.c elfcode.h $(INCDIR)/bfdlink.h libelf.h elfcore.h elflink.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf32-sparc.o: elf32-sparc.c $(INCDIR)/bfdlink.h libelf.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ @@ -747,7 +749,7 @@ elf32-gen.o: elf32-gen.c libelf.h $(INCDIR)/elf/common.h \ elf32-ppc.o: elf32-ppc.c $(INCDIR)/bfdlink.h libelf.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ $(INCDIR)/elf/ppc.h elf32-target.h -elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h libelf.h \ +elf64.o: elf64.c elfcode.h $(INCDIR)/bfdlink.h libelf.h elfcore.h elflink.h \ $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h elf64-gen.o: elf64-gen.c libelf.h $(INCDIR)/elf/common.h \ $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h \ |