diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2001-01-02 18:58:44 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2001-01-02 18:58:44 +0000 |
commit | 3f8474fb2ae1d40ddb6e5056e06f50058d2aa0d1 (patch) | |
tree | 724dedd9d6a84f801e3f22b88bb89dde6e012920 /bfd/ppcboot.c | |
parent | 8d65d4773ed40e2286050fe65e715849e4e20aca (diff) | |
download | gdb-3f8474fb2ae1d40ddb6e5056e06f50058d2aa0d1.tar.gz |
2001-01-02 Kazu Hirata <kazu@hxi.com>
* pc532-mach.c: Fix formatting.
* pe-arm.c: Likewise.
* pe-i386.c: Likewise.
* pe-mips.c: Likewise.
* pe-ppc.c: Likewise.
* pe-sh.c: Likewise.
* pei-mips.c: Likewise.
* pei-sh.c: Likewise.
* ppcboot.c: Likewise.
* ptrace-core.c: Likewise.
Diffstat (limited to 'bfd/ppcboot.c')
-rw-r--r-- | bfd/ppcboot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/ppcboot.c b/bfd/ppcboot.c index 9441848b3d3..d92a0a6f0d8 100644 --- a/bfd/ppcboot.c +++ b/bfd/ppcboot.c @@ -234,7 +234,7 @@ ppcboot_get_section_contents (abfd, section, location, offset, count) file_ptr offset; bfd_size_type count; { - if (bfd_seek (abfd, offset + sizeof(ppcboot_hdr_t), SEEK_SET) != 0 + if (bfd_seek (abfd, offset + sizeof (ppcboot_hdr_t), SEEK_SET) != 0 || bfd_read (location, 1, count, abfd) != count) return false; return true; @@ -536,6 +536,6 @@ const bfd_target ppcboot_vec = BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), NULL, - + NULL }; |