summaryrefslogtreecommitdiff
path: root/bfd/cisco-core.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-11-28 21:42:16 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-11-28 21:42:16 +0000
commit485c851b7395b6f1e54a556296230233d39a6c00 (patch)
tree66ebb2bca0508fb9435af338b6d3e528ad07a3b4 /bfd/cisco-core.c
parent89726a6fdac10cd2bf05e812ac8c558ac60c78de (diff)
downloadbinutils-redhat-485c851b7395b6f1e54a556296230233d39a6c00.tar.gz
2000-11-28 Kazu Hirata <kazu@hxi.com>
* aoutx.h: Fix formatting. * bfd-in.h: Likewise. * bfd-in2.h: Likewise. * cache.c: Likewise. * cisco-core.c: Likewise. * coff64-rs6000.c: Likewise. * coffcode.h: Likewise. * coffswap.h: Likewise. * corefile.c: Likewise.
Diffstat (limited to 'bfd/cisco-core.c')
-rw-r--r--bfd/cisco-core.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/bfd/cisco-core.c b/bfd/cisco-core.c
index 3492e75369..9d1fb6f20f 100644
--- a/bfd/cisco-core.c
+++ b/bfd/cisco-core.c
@@ -72,7 +72,7 @@ struct cisco_core_struct
};
/* Examine the file for a crash info struct at the offset given by
- CRASH_INFO_LOC. */
+ CRASH_INFO_LOC. */
static const bfd_target *
cisco_core_file_validate (abfd, crash_info_loc)
@@ -236,7 +236,7 @@ cisco_core_file_validate (abfd, crash_info_loc)
abfd->section_count = 0;
/* Create a ".reg" section to allow access to the saved
- registers. */
+ registers. */
asect = (asection *) bfd_zmalloc (sizeof (asection));
if (asect == NULL)
@@ -247,7 +247,7 @@ cisco_core_file_validate (abfd, crash_info_loc)
asect->filepos = bfd_get_32 (abfd, crashinfo.registers) - rambase;
/* Since we don't know the exact size of the saved register info,
choose a register section size that is either the remaining part
- of the file, or 1024, whichever is smaller. */
+ of the file, or 1024, whichever is smaller. */
nread = statbuf.st_size - asect->filepos;
asect->_raw_size = (nread < 1024) ? nread : 1024;
asect->next = abfd->sections;
@@ -255,7 +255,7 @@ cisco_core_file_validate (abfd, crash_info_loc)
++abfd->section_count;
/* Create a ".crash" section to allow access to the saved
- crash information. */
+ crash information. */
asect = (asection *) bfd_zmalloc (sizeof (asection));
if (asect == NULL)
@@ -270,7 +270,7 @@ cisco_core_file_validate (abfd, crash_info_loc)
++abfd->section_count;
/* Create a ".data" section that maps the entire file, which is
- essentially a dump of the target system's RAM. */
+ essentially a dump of the target system's RAM. */
asect = (asection *) bfd_zmalloc (sizeof (asection));
if (asect == NULL)
@@ -288,7 +288,7 @@ cisco_core_file_validate (abfd, crash_info_loc)
return abfd->xvec;
/* Get here if we have already started filling out the BFD
- and there is an error of some kind. */
+ and there is an error of some kind. */
error_return:
{
@@ -378,7 +378,7 @@ const bfd_target cisco_core_big_vec =
bfd_false, bfd_false,
bfd_false, bfd_false
},
-
+
BFD_JUMP_TABLE_GENERIC (_bfd_generic),
BFD_JUMP_TABLE_COPY (_bfd_generic),
BFD_JUMP_TABLE_CORE (cisco),
@@ -390,7 +390,7 @@ const bfd_target cisco_core_big_vec =
BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
& cisco_core_little_vec,
-
+
(PTR) 0 /* backend_data */
};
@@ -428,7 +428,7 @@ const bfd_target cisco_core_little_vec =
bfd_false, bfd_false,
bfd_false, bfd_false
},
-
+
BFD_JUMP_TABLE_GENERIC (_bfd_generic),
BFD_JUMP_TABLE_COPY (_bfd_generic),
BFD_JUMP_TABLE_CORE (cisco),
@@ -440,6 +440,6 @@ const bfd_target cisco_core_little_vec =
BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
&cisco_core_big_vec,
-
+
(PTR) 0 /* backend_data */
};