diff options
author | Roland Pesch <pesch@cygnus> | 1991-10-08 19:20:35 +0000 |
---|---|---|
committer | Roland Pesch <pesch@cygnus> | 1991-10-08 19:20:35 +0000 |
commit | 92c78ee6eaf161b2f9a646d93c5cd231654d2487 (patch) | |
tree | 6d56c6af0b5778205416520687fd3b496f4f00f4 /bfd | |
parent | 71e83453e591a0b6e137e2c6639a15917d503aa4 (diff) | |
download | gdb-92c78ee6eaf161b2f9a646d93c5cd231654d2487.zip gdb-92c78ee6eaf161b2f9a646d93c5cd231654d2487.tar.gz gdb-92c78ee6eaf161b2f9a646d93c5cd231654d2487.tar.bz2 |
* reloc.c, section.c, syms.c, targets.c: correct info-node
structure in *doc* comments.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 25 | ||||
-rw-r--r-- | bfd/targets.c | 67 |
2 files changed, 67 insertions, 25 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8fd6be8..29159ea 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,28 @@ +Tue Oct 8 12:18:54 1991 Roland H. Pesch (pesch at cygnus.com) + + * reloc.c, section.c, syms.c, targets.c: correct info-node + structure in *doc* comments. + doc/Makefile: stop hiding complaints from makeinfo. + +Sun Oct 6 19:10:06 1991 John Gilmore (gnu at cygnus.com) + + * aoutx.h (...some_aout_object_p): Take a third parameter, + the internal_exec struct, and avoid ever looking at an + external_exec. All callers changed to read the entire + external_exec struct, swap and check its magic number, + swap in the whole structure, and pass the swapped-in version to + some_aout_object_p. + * bout.c: Bring into modern era. Use single _object_p routine + for big- aand little-endian. Provide internal and external + exec header structs. Use separate swap-in and swap-out routines. + + * libaout.h: Move struct internal_exec from ../include/aout64.h + to here. Add obj_symbol_entry_size to struct aoutdata. + * aoutx.h (...some_aout_object_p): Set obj_symbol_entry_size. + + * ../include/aout64.h: Change EXTERNAL_LIST_SIZE to + EXTERNAL_NLIST_SIZE. Callers changed. + Fri Oct 4 18:18:46 1991 John Gilmore (gnu at cygnus.com) * bfd.c: Remove strerror() to libiberty. diff --git a/bfd/targets.c b/bfd/targets.c index 1e42274..dd07784 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -63,11 +63,15 @@ Once the BFD has been opened and the target selected, the file format may be determined. This is done by calling @code{bfd_check_format} on the BFD with a suggested format. The routine returns @code{true} when the application guesses right. + +@menu +* bfd_target:: +@end menu */ /*proto* bfd_target -@node bfd_target +@node bfd_target, , Targets, Targets @subsection bfd_target This structure contains everything that BFD knows about a target. It includes things like its byte order, name, what routines to call @@ -119,13 +123,14 @@ $ char *name; The "flavour" of a back end is a general indication about the contents of a file. -$ 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; +$ enum target_flavour { +$ bfd_target_unknown_flavour, +$ bfd_target_aout_flavour, +$ bfd_target_coff_flavour, +$ bfd_target_elf_flavour, +$ bfd_target_ieee_flavour, +$ bfd_target_oasys_flavour, +$ bfd_target_srec_flavour} flavour; The order of bytes within the data area of a file. @@ -233,7 +238,7 @@ $ SDEF (unsigned int, _bfd_canonicalize_reloc, (bfd *, sec_ptr, arelent **, $ struct symbol_cache_entry**)); $ SDEF (struct symbol_cache_entry *, _bfd_make_empty_symbol, (bfd *)); $ SDEF (void, _bfd_print_symbol, (bfd *, PTR, struct symbol_cache_entry *, -$ bfd_print_symbol_enum_type)); +$ bfd_print_symbol_type)); $#define bfd_print_symbol(b,p,s,e) BFD_SEND(b, _bfd_print_symbol, (b,p,s,e)) $ SDEF (alent *, _get_lineno, (bfd *, struct symbol_cache_entry *)); $ @@ -325,7 +330,14 @@ extern bfd_target DEFAULT_VECTOR; #define ZB_OUT_VEC_BIG_HOST b_out_vec_big_host #define SUNOS_VEC_BIG_HOST sunos_big_vec #define DEMO_64_VEC demo_64_vec + +/* We have no oasys tools anymore, so we can't test any of this + anymore. If you want to test the stuff yourself, go ahead... + steve@cygnus.com */ +#if 0 #define OASYS_VEC oasys_vec +#endif + #define IEEE_VEC ieee_vec #define M88K_BCS_VEC m88k_bcs_vec #define SREC_VEC srec_vec @@ -338,11 +350,11 @@ bfd_target *target_vector[] = { #ifdef DEFAULT_VECTOR &DEFAULT_VECTOR, -#endif /* DEFAULT_VECTOR */ +#endif #ifdef I386COFF_VEC &I386COFF_VEC, -#endif /* I386COFF_VEC */ +#endif #ifdef ECOFF_LITTLE_VEC &ECOFF_LITTLE_VEC, @@ -351,18 +363,18 @@ bfd_target *target_vector[] = { #ifdef ECOFF_BIG_VEC &ECOFF_BIG_VEC, #endif + #ifdef IEEE_VEC &IEEE_VEC, -#endif /* IEEE_VEC */ +#endif #ifdef OASYS_VEC &OASYS_VEC, -#endif /* OASYS_VEC */ +#endif #ifdef SUNOS_VEC_BIG_HOST &SUNOS_VEC_BIG_HOST, -#endif /* SUNOS_BIG_VEC */ - +#endif #ifdef HOST_64_BIT #ifdef DEMO_64_VEC @@ -372,43 +384,48 @@ bfd_target *target_vector[] = { #ifdef M88K_BCS_VEC &M88K_BCS_VEC, -#endif /* M88K_BCS_VEC */ +#endif #ifdef SREC_VEC &SREC_VEC, -#endif /* SREC_VEC */ +#endif #ifdef ICOFF_LITTLE_VEC &ICOFF_LITTLE_VEC, -#endif /* ICOFF_LITTLE_VEC */ +#endif #ifdef ICOFF_BIG_VEC &ICOFF_BIG_VEC, -#endif /* ICOFF_BIG_VEC */ +#endif #ifdef ELF_LITTLE_VEC &ELF_LITTLE_VEC, -#endif /* ELF_LITTLE_VEC */ +#endif #ifdef ELF_BIG_VEC &ELF_BIG_VEC, -#endif /* ELF_BIG_VEC */ +#endif #ifdef B_OUT_VEC_LITTLE_HOST &B_OUT_VEC_LITTLE_HOST, -#endif /* B_OUT_VEC_LITTLE_HOST */ +#endif #ifdef B_OUT_VEC_BIG_HOST &B_OUT_VEC_BIG_HOST, -#endif /* B_OUT_VEC_BIG_HOST */ +#endif #ifdef M68KCOFF_VEC &M68KCOFF_VEC, -#endif /* M68KCOFF_VEC */ +#endif #ifdef A29KCOFF_BIG_VEC &A29KCOFF_BIG_VEC, -#endif /* A29KCOFF_BIG_VEC */ +#endif + +#ifdef TRAD_CORE + &trad_core_big_vec, + &trad_core_little_vec, +#endif NULL, /* end of list marker */ }; |