diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2000-12-12 21:25:54 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2000-12-12 21:25:54 +0000 |
commit | 1518639ec4c952023ed8d1b73f31bb56fafd9929 (patch) | |
tree | 97b65a291a7939aebc42de2ef0ccccf5abd86f27 /bfd/nlm32-alpha.c | |
parent | 92eb7b324474951c28d9f9555655b88aab733c5f (diff) | |
download | gdb-1518639ec4c952023ed8d1b73f31bb56fafd9929.zip gdb-1518639ec4c952023ed8d1b73f31bb56fafd9929.tar.gz gdb-1518639ec4c952023ed8d1b73f31bb56fafd9929.tar.bz2 |
2000-12-12 Kazu Hirata <kazu@hxi.com>
* m68klinux.c: Fix formatting.
* m68knetbsd.c: Likewise.
* mipsbsd.c: Likewise.
* netbsd-core.c: Likewise.
* netbsd.h: Likewise.
* newsos3.c: Likewise.
* nlm32-alpha.c: Likewise.
* nlm32-i386.c: Likewise.
* nlm32-ppc.c: Likewise.
* nlm32-sparc.c: Likewise.
* nlmcode.h: Likewise.
* nlmswap.h: Likewise.
* nlm-target.h: Likewise.
* ns32knetbsd.c: Likewise.
Diffstat (limited to 'bfd/nlm32-alpha.c')
-rw-r--r-- | bfd/nlm32-alpha.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/nlm32-alpha.c b/bfd/nlm32-alpha.c index 24c8e51..c1a0cbe7 100644 --- a/bfd/nlm32-alpha.c +++ b/bfd/nlm32-alpha.c @@ -651,7 +651,7 @@ nlm_alpha_read_import (abfd, sym) while (sym -> rcnt < rcount) { asection *section; - + if (nlm_alpha_read_reloc (abfd, sym, §ion, &nlm_relocs -> reloc) == false) @@ -828,7 +828,7 @@ nlm_alpha_write_external (abfd, count, sym, relocs) arelent r; len = strlen (sym->name); - if ((bfd_write (&len, sizeof (bfd_byte), 1, abfd) != sizeof(bfd_byte)) + if ((bfd_write (&len, sizeof (bfd_byte), 1, abfd) != sizeof (bfd_byte)) || bfd_write (sym->name, len, 1, abfd) != len) return false; |