diff options
author | Steve Chamberlain <sac@cygnus> | 1993-02-27 01:43:10 +0000 |
---|---|---|
committer | Steve Chamberlain <sac@cygnus> | 1993-02-27 01:43:10 +0000 |
commit | 2ebd09764bf64daae4b1a1a37a61b3d31ff838a0 (patch) | |
tree | 7e3f8f1c52ca3bdb0e5fb374083b2f50b94a9ca9 | |
parent | d9c2980f647c08543c09455e7d196a687ab71323 (diff) | |
download | gdb-2ebd09764bf64daae4b1a1a37a61b3d31ff838a0.zip gdb-2ebd09764bf64daae4b1a1a37a61b3d31ff838a0.tar.gz gdb-2ebd09764bf64daae4b1a1a37a61b3d31ff838a0.tar.bz2 |
symbol srec stuff
-rw-r--r-- | bfd/ChangeLog | 10 | ||||
-rw-r--r-- | bfd/targets.c | 29 |
2 files changed, 28 insertions, 11 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d7a7e75..ac963a2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,13 @@ +Fri Feb 26 17:37:34 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * srec.c: add support for symbolsrec, srecords with symbols in + them. + +Thu Feb 25 11:43:30 1993 John Gilmore (gnu@cacophony.cygnus.com) + + * ieee.c: cast all arguments of ieee_write_byte to bfd_byte + to avoid lint complaints. + Thu Feb 25 02:15:52 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) * elf.c (elf_write_object_contents): Section ".shstrtab" should be diff --git a/bfd/targets.c b/bfd/targets.c index 912adb9..fdf5d22 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -1,5 +1,5 @@ /* Generic target-file-type support for the BFD library. - Copyright 1990, 1991, 1992 Free Software Foundation, Inc. + Copyright 1990, 1991, 1992, 1993 Free Software Foundation, Inc. Written by Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -277,10 +277,14 @@ Symbols and relocations . void (*_bfd_debug_info_accumulate) PARAMS ((bfd *, struct sec *)); . . bfd_byte * (*_bfd_get_relocated_section_contents) PARAMS ((bfd *, -. struct bfd_seclet *, bfd_byte *data)); +. struct bfd_seclet *, bfd_byte *data, +. boolean relocateable)); . . boolean (*_bfd_relax_section) PARAMS ((bfd *, struct sec *, . struct symbol_cache_entry **)); +. +. boolean (*_bfd_seclet_link) PARAMS ((bfd *, PTR data, +. boolean relocateable)); . {* See documentation on reloc types. *} . CONST struct reloc_howto_struct * @@ -332,9 +336,12 @@ above COFF-specific fields. we can't intermix extern's and initializers. */ extern bfd_target ecoff_little_vec; extern bfd_target ecoff_big_vec; +extern bfd_target aout_mips_little_vec; +extern bfd_target aout_mips_big_vec; extern bfd_target sunos_big_vec; extern bfd_target demo_64_vec; extern bfd_target srec_vec; +extern bfd_target symbolsrec_vec; extern bfd_target tekhex_vec; extern bfd_target a_out_adobe_vec; extern bfd_target b_out_vec_little_host; @@ -356,6 +363,7 @@ extern bfd_target sco_core_vec; extern bfd_target aix386_core_vec; extern bfd_target rs6000coff_vec; extern bfd_target h8300coff_vec; +extern bfd_target h8500coff_vec; extern bfd_target z8kcoff_vec; extern bfd_target we32kcoff_vec; #ifdef HOST_HPPAHPUX @@ -366,16 +374,12 @@ extern bfd_target hppa_vec; extern bfd_target DEFAULT_VECTOR; #endif -#ifdef SELECT_VECS bfd_target *target_vector[] = { - SELECT_VECS, - 0 -}; - -#else -bfd_target *target_vector[] = { +#ifdef SELECT_VECS + SELECT_VECS, +#else /* SELECT_VECS */ #ifdef DEFAULT_VECTOR &DEFAULT_VECTOR, @@ -385,6 +389,8 @@ bfd_target *target_vector[] = { &i386aout_vec, &ecoff_little_vec, &ecoff_big_vec, + &aout_mips_little_vec, + &aout_mips_big_vec, &ieee_vec, #if 0 /* We have no oasys tools anymore, so we can't test any of this @@ -402,6 +408,7 @@ bfd_target *target_vector[] = { &z8kcoff_vec, &m88kbcs_vec, &srec_vec, + &symbolsrec_vec, /* &tekhex_vec,*/ &icoff_little_vec, &icoff_big_vec, @@ -427,11 +434,11 @@ bfd_target *target_vector[] = { #ifdef AIX386_CORE &aix386_core_vec, #endif + +#endif /* SELECT_VECS */ NULL, /* end of list marker */ }; -#endif - /* default_vector[0] contains either the address of the default vector, if there is one, or zero if there isn't. */ |