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-i386.c | |
parent | 92eb7b324474951c28d9f9555655b88aab733c5f (diff) | |
download | fsf-binutils-gdb-1518639ec4c952023ed8d1b73f31bb56fafd9929.zip fsf-binutils-gdb-1518639ec4c952023ed8d1b73f31bb56fafd9929.tar.gz fsf-binutils-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-i386.c')
-rw-r--r-- | bfd/nlm32-i386.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/nlm32-i386.c b/bfd/nlm32-i386.c index f16c74d..356d00e 100644 --- a/bfd/nlm32-i386.c +++ b/bfd/nlm32-i386.c @@ -226,7 +226,7 @@ nlm_i386_write_import (abfd, sec, rel) } } } - + bfd_put_32 (abfd, val, temp); if (bfd_write (temp, sizeof (temp), 1, abfd) != sizeof (temp)) return false; @@ -376,7 +376,7 @@ nlm_i386_read_import (abfd, sym) while (sym -> rcnt < rcount) { asection *section; - + if (nlm_i386_read_reloc (abfd, sym, §ion, &nlm_relocs -> reloc) == false) @@ -402,12 +402,12 @@ nlm_i386_write_external (abfd, count, sym, relocs) unsigned char temp[NLM_TARGET_LONG_SIZE]; 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; bfd_put_32 (abfd, count, temp); - if (bfd_write (temp, sizeof(temp), 1, abfd) != sizeof (temp)) + if (bfd_write (temp, sizeof (temp), 1, abfd) != sizeof (temp)) return false; for (i = 0; i < count; i++) |