+Tue Oct 1 12:29:44 1991 John Gilmore (gnu at cygnus.com)
+
+ * Makefile.in, configure.in, targets.c, elf.c: Add preliminary
+ ELF support good enough for GDB.
+ * configure.in, config/h-amix, config/t-m68k-elf: Handle
+ m68k-cbm-svr4 host and target.
+ * config/t-m68k-coff, t-m88k-coff, t-m88k-aout: Make files nonempty
+ so `diff' and `patch' can cope.
+
Tue Oct 1 11:24:31 1991 Steve Chamberlain (steve at cygnus.com)
* archures.c: removed texinfo error
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
+ icoff.o amdcoff.o m68kcoff.o i386coff.o m88k-bcs.o ecoff.o elf.o
OPTIONAL_BACKENDS = trad-core.o
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 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 \
+ m88k-bcs.c ecoff.c trad-core.c newsos3.c bout.c elf.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)
When a file is opened with @code{bfd_openr}, its format and target are
unknown. BFD uses various mechanisms to determine how to interpret the
-file. The operatios performed are:
+file. The operations performed are:
@itemize @bullet
@item
First a BFD is created by calling the internal routine
$ enum target_flavour_enum {
$ bfd_target_aout_flavour_enum,
$ bfd_target_coff_flavour_enum,
+$ bfd_target_elf_flavour_enum,
$ bfd_target_ieee_flavour_enum,
$ bfd_target_oasys_flavour_enum,
$ bfd_target_srec_flavour_enum} flavour;
extern bfd_target b_out_vec_big_host;
extern bfd_target icoff_little_vec;
extern bfd_target icoff_big_vec;
+extern bfd_target elf_little_vec;
+extern bfd_target elf_big_vec;
extern bfd_target ieee_vec;
extern bfd_target oasys_vec;
extern bfd_target m88k_bcs_vec;
#define ECOFF_BIG_VEC ecoff_big_vec
#define ICOFF_LITTLE_VEC icoff_little_vec
#define ICOFF_BIG_VEC icoff_big_vec
+#define ELF_LITTLE_VEC elf_little_vec
+#define ELF_BIG_VEC elf_big_vec
#define ZB_OUT_VEC_LITTLE_HOST b_out_vec_little_host
#define ZB_OUT_VEC_BIG_HOST b_out_vec_big_host
#define SUNOS_VEC_BIG_HOST sunos_big_vec
&ICOFF_BIG_VEC,
#endif /* ICOFF_BIG_VEC */
+#ifdef ELF_LITTLE_VEC
+ &ELF_LITTLE_VEC,
+#endif /* ELF_LITTLE_VEC */
+
+#ifdef ELF_BIG_VEC
+ &ELF_BIG_VEC,
+#endif /* ELF_BIG_VEC */
+
#ifdef B_OUT_VEC_LITTLE_HOST
&B_OUT_VEC_LITTLE_HOST,
#endif /* B_OUT_VEC_LITTLE_HOST */