diff options
Diffstat (limited to 'bfd/ecoff.c')
-rw-r--r-- | bfd/ecoff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/ecoff.c b/bfd/ecoff.c index a77107b..4f305eb 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -2517,7 +2517,7 @@ _bfd_ecoff_write_object_contents (bfd *abfd) section.s_flags = ecoff_sec_to_styp_flags (current->name, current->flags); - if (bfd_coff_swap_scnhdr_out (abfd, (void *) §ion, buff) == 0 + if (bfd_coff_swap_scnhdr_out (abfd, (void *) §ion, buff, current) == 0 || bfd_write (buff, scnhsz, abfd) != scnhsz) goto error_return; |