* 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.
This commit is contained in:
John Gilmore 1991-10-01 19:46:47 +00:00
parent 2d996e5dc9
commit 3f85ebce78
3 changed files with 26 additions and 5 deletions

View File

@ -1,3 +1,12 @@
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) Tue Oct 1 11:24:31 1991 Steve Chamberlain (steve at cygnus.com)
* archures.c: removed texinfo error * archures.c: removed texinfo error

View File

@ -48,7 +48,7 @@ BFD_MACHINES=cpu-h8300.o cpu-i960.o cpu-sparc.o cpu-m68k.o cpu-m88k.o \
BFD_BACKENDS = oasys.o ieee.o srec.o \ BFD_BACKENDS = oasys.o ieee.o srec.o \
aout64.o aout32.o demo64.o sunos.o newsos3.o bout.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 OPTIONAL_BACKENDS = trad-core.o
@ -61,11 +61,10 @@ 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 \ i386coff.c aout64.c aout32.c sunos.c demo64.c icoff.c srec.c \
oasys.c ieee.c m68kcoff.c amdcoff.c \ oasys.c ieee.c m68kcoff.c amdcoff.c \
format.c section.c core.c syms.c reloc.c init.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 \ 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-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 cpu-vax.c cpu-mips.c cpu-a29k.c cpu-i386.o
STAGESTUFF = $(TARGETLIB) $(OFILES) STAGESTUFF = $(TARGETLIB) $(OFILES)
all: $(TARGETLIB) all: $(TARGETLIB)

View File

@ -34,7 +34,7 @@ through a pointer into calls to the back end routines.
When a file is opened with @code{bfd_openr}, its format and target are 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 unknown. BFD uses various mechanisms to determine how to interpret the
file. The operatios performed are: file. The operations performed are:
@itemize @bullet @itemize @bullet
@item @item
First a BFD is created by calling the internal routine First a BFD is created by calling the internal routine
@ -122,6 +122,7 @@ of a file.
$ enum target_flavour_enum { $ enum target_flavour_enum {
$ bfd_target_aout_flavour_enum, $ bfd_target_aout_flavour_enum,
$ bfd_target_coff_flavour_enum, $ bfd_target_coff_flavour_enum,
$ bfd_target_elf_flavour_enum,
$ bfd_target_ieee_flavour_enum, $ bfd_target_ieee_flavour_enum,
$ bfd_target_oasys_flavour_enum, $ bfd_target_oasys_flavour_enum,
$ bfd_target_srec_flavour_enum} flavour; $ bfd_target_srec_flavour_enum} flavour;
@ -285,6 +286,8 @@ extern bfd_target b_out_vec_little_host;
extern bfd_target b_out_vec_big_host; extern bfd_target b_out_vec_big_host;
extern bfd_target icoff_little_vec; extern bfd_target icoff_little_vec;
extern bfd_target icoff_big_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 ieee_vec;
extern bfd_target oasys_vec; extern bfd_target oasys_vec;
extern bfd_target m88k_bcs_vec; extern bfd_target m88k_bcs_vec;
@ -316,6 +319,8 @@ extern bfd_target DEFAULT_VECTOR;
#define ECOFF_BIG_VEC ecoff_big_vec #define ECOFF_BIG_VEC ecoff_big_vec
#define ICOFF_LITTLE_VEC icoff_little_vec #define ICOFF_LITTLE_VEC icoff_little_vec
#define ICOFF_BIG_VEC icoff_big_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_LITTLE_HOST b_out_vec_little_host
#define ZB_OUT_VEC_BIG_HOST b_out_vec_big_host #define ZB_OUT_VEC_BIG_HOST b_out_vec_big_host
#define SUNOS_VEC_BIG_HOST sunos_big_vec #define SUNOS_VEC_BIG_HOST sunos_big_vec
@ -381,6 +386,14 @@ bfd_target *target_vector[] = {
&ICOFF_BIG_VEC, &ICOFF_BIG_VEC,
#endif /* 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 #ifdef B_OUT_VEC_LITTLE_HOST
&B_OUT_VEC_LITTLE_HOST, &B_OUT_VEC_LITTLE_HOST,
#endif /* B_OUT_VEC_LITTLE_HOST */ #endif /* B_OUT_VEC_LITTLE_HOST */