diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2000-11-20 19:05:12 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2000-11-20 19:05:12 +0000 |
commit | beb0d161cdeb8dddb7c49929ce8f415b45235759 (patch) | |
tree | cf4a82a61e745679ca32ffbf2dbd27736213f674 /bfd/aout-adobe.c | |
parent | b57d7d21ef3c86b335d93b8942bb1ee50c2c9a9e (diff) | |
download | gdb-beb0d161cdeb8dddb7c49929ce8f415b45235759.zip gdb-beb0d161cdeb8dddb7c49929ce8f415b45235759.tar.gz gdb-beb0d161cdeb8dddb7c49929ce8f415b45235759.tar.bz2 |
2000-11-20 Kazu Hirata <kazu@hxi.com>
* aix386-core.c: Fix formatting.
* aout-adobe.c: Likewise.
* aout-arm.c: Likewise.
* aout-encap.c: Likewise.
* aout-ns32k.c: Likewise.
* aout-target.h: Likewise.
* aout-tic30.c: Likewise.
* aoutf1.h: Likewise.
* aoutx.h: Likewise.
* archive.c: Likewise.
Diffstat (limited to 'bfd/aout-adobe.c')
-rw-r--r-- | bfd/aout-adobe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/aout-adobe.c b/bfd/aout-adobe.c index 676dca8..c79794f 100644 --- a/bfd/aout-adobe.c +++ b/bfd/aout-adobe.c @@ -336,14 +336,14 @@ aout_adobe_write_object_contents (abfd) /* Now write out reloc info, followed by syms and strings */ if (bfd_get_symcount (abfd) != 0) { - if (bfd_seek (abfd, (file_ptr)(N_SYMOFF(*exec_hdr(abfd))), SEEK_SET) + if (bfd_seek (abfd, (file_ptr) (N_SYMOFF(*exec_hdr(abfd))), SEEK_SET) != 0) return false; if (! aout_32_write_syms (abfd)) return false; - if (bfd_seek (abfd, (file_ptr)(N_TRELOFF(*exec_hdr(abfd))), SEEK_SET) + if (bfd_seek (abfd, (file_ptr) (N_TRELOFF(*exec_hdr(abfd))), SEEK_SET) != 0) return false; @@ -354,7 +354,7 @@ aout_adobe_write_object_contents (abfd) } } - if (bfd_seek (abfd, (file_ptr)(N_DRELOFF(*exec_hdr(abfd))), SEEK_SET) + if (bfd_seek (abfd, (file_ptr) (N_DRELOFF(*exec_hdr(abfd))), SEEK_SET) != 0) return false; @@ -451,7 +451,7 @@ aout_adobe_sizeof_headers (ignore_abfd, ignore) bfd *ignore_abfd ATTRIBUTE_UNUSED; boolean ignore ATTRIBUTE_UNUSED; { - return sizeof(struct internal_exec); + return sizeof (struct internal_exec); } /* Build the transfer vector for Adobe A.Out files. */ |