* coffcode.h (coff_write_object_contents): Use

bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out.
This commit is contained in:
DJ Delorie 2001-04-15 04:23:46 +00:00
parent a80f694198
commit 3ed30d29c6
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2001-04-14 Mark Elbrecht <snowball3@bigfoot.com>
* coffcode.h (coff_write_object_contents): Use
bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out.
2001-04-14 H.J. Lu <hjl@gnu.org>
* bfd-in2.h: Regenerate.

View file

@ -4022,7 +4022,7 @@ coff_write_object_contents (abfd)
if (buff == NULL)
return false;
coff_swap_filehdr_out (abfd, (PTR) & internal_f, (PTR) buff);
bfd_coff_swap_filehdr_out (abfd, (PTR) & internal_f, (PTR) buff);
amount = bfd_write ((PTR) buff, 1, bfd_coff_filhsz (abfd), abfd);
free (buff);