BFD_LIBS = libbfd.o opncls.o bfd.o archive.o targets.o cache.o \
- archures.o obstack.o
+ archures.o
BFD_BACKENDS = oasys.o ieee.o srec.o sunos.o icoff.o b.out.o \
- m88k-bcs.o
+ m88k-bcs.o coffswap.o # trad-core.o
BFD_H=$(INCDIR)/bfd.h
SYSDEP_H=$(INCDIR)/sysdep.h
# C source files that correspond to .o's.
CFILES = libbfd.c opncls.c bfd.c archive.c targets.c cache.c archures.c \
- sunos.c icoff.c b.out.c srec.c oasys.c ieee.c m88k-bcs.c
+ sunos.c icoff.c b.out.c srec.c oasys.c ieee.c m88k-bcs.c \
+ coffswap.c trad-core.c
STAGESTUFF = $(TARGETLIB) $(OFILES)
#suppress 590 on abfd
#setopt load_flags $(CFLAGS)
#load $(CFILES)
-obstack.o : obstack.c
m88k-bcs.o : m88k-bcs.c
ieee.o : ieee.c
srec.o : srec.c
archive.o : archive.c libbfd.h $(BFD_H) $(SYSDEP_H)
archures.o : archures.c $(BFD_H) $(SYSDEP_H) archures.h
b.out.o : b.out.c libbfd.h $(BFD_H) $(SYSDEP_H) liba.out.h archures.h
-bcs88kcoff.o : bcs88kcoff.c libbfd.h $(BFD_H) $(SYSDEP_H) libcoff.h coff-code.h archures.h
+m88k-bcs.o : m88k-bcs.c libbfd.h $(BFD_H) $(SYSDEP_H) libcoff.h coff-code.h archures.h
bfd.o : bfd.c libbfd.h $(BFD_H) $(SYSDEP_H)
cache.o : cache.c libbfd.h $(BFD_H) $(SYSDEP_H)
coff.o : coff.c
Error handling
General rules:
-funtions which are boolean return true on success and false on failure
+functions which are boolean return true on success and false on failure
(unless they're a predicate). Functions which return pointers to
objects return NULL on error. The specifics are documented with each
function.