From 328a1d6dc9a9f9f4422a47217a4d95416dafad4e Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 12 Dec 2000 21:25:54 +0000 Subject: 2000-12-12 Kazu Hirata * 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. --- bfd/nlm32-i386.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bfd/nlm32-i386.c') diff --git a/bfd/nlm32-i386.c b/bfd/nlm32-i386.c index f16c74d985..356d00e295 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++) -- cgit v1.2.1