aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>1999-09-28 21:45:39 +0000
committerRichard Henderson <rth@redhat.com>1999-09-28 21:45:39 +0000
commitf4bda9848fb4c4ae3e4cccba77d5ef26099e451e (patch)
tree4501f890e3384baae499ac90a40a28642ddcc92c /bfd/targets.c
parent7c9e78f8e450aa9cebaff594e70f7aeb2964b0af (diff)
downloadfsf-binutils-gdb-f4bda9848fb4c4ae3e4cccba77d5ef26099e451e.zip
fsf-binutils-gdb-f4bda9848fb4c4ae3e4cccba77d5ef26099e451e.tar.gz
fsf-binutils-gdb-f4bda9848fb4c4ae3e4cccba77d5ef26099e451e.tar.bz2
Fred Fish <fnf@cygnus.com>
* targets.c (cisco_core_vec): Replaced with two new vecs ... (cisco_core_big_vec): Add new bigendian vec. (cisco_core_little_vec): Add new little endian vec. * cisco-core.c (CRASH_INFO): Fixed offset replaced with ... (crash_info_locs): Add array of possible offsets. (MASK_ADDR): Mask to apply to crash info offset. (crashinfo_external): Add textbase, database, bssbase and turn into a typedef. (cisco_core_file_validate): Renamed from cisco_core_file_p. Many small changes to account for additional hardware versions. Pick a reasonable size for ".reg" section. Add a ".crash" section to allow access to crashinfo_external struct. (cisco_core_file_p): New version of this function that iterates over crash_info_locs, calling cisco_core_file_validate. (cisco_core_vec): Old big endian only vec replaced with ... (cisco_core_big_vec): Add big endian version. (cisco_core_little_vec): Add little endian version. * configure.in (cisco_core_vec): Split to two new vectors ... (cisco_core_big_vec): New target vector. (cisco_core_little_vec): New target vector. * configure: Regenerate. * config.bfd (targ): For m68*-*-aout* targ, change cisco_core_vec to cisco_core_big_vec in targ_selvecs.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r--bfd/targets.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index df80ec6..a50cc59 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -640,7 +640,8 @@ extern const bfd_target ihex_vec;
/* All of the xvecs for core files. */
extern const bfd_target aix386_core_vec;
-extern const bfd_target cisco_core_vec;
+extern const bfd_target cisco_core_big_vec;
+extern const bfd_target cisco_core_little_vec;
extern const bfd_target hpux_core_vec;
extern const bfd_target hppabsd_core_vec;
extern const bfd_target irix_core_vec;
@@ -726,7 +727,7 @@ const bfd_target * const bfd_target_vector[] = {
#if 0
&bfd_elf64_sparc_vec,
#endif
- /* We don't include cisco_core_vec. Although it has a magic number,
+ /* We don't include cisco_core_*_vec. Although it has a magic number,
the magic number isn't at the beginning of the file, and thus
might spuriously match other kinds of files. */
#ifdef BFD64