mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 23:32:21 +08:00
* coffcode.h (coff_write_object_contents): Use
bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user