aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-04-15 04:23:46 +0000
committerDJ Delorie <dj@redhat.com>2001-04-15 04:23:46 +0000
commit3ed30d29c615edca09467def7656d3e87cd722b7 (patch)
tree0c934329396210a652a22a87542699d8ff1b1bee
parenta80f694198c20eeec2f63d21259dc5aa4c4ebe17 (diff)
downloadgdb-3ed30d29c615edca09467def7656d3e87cd722b7.zip
gdb-3ed30d29c615edca09467def7656d3e87cd722b7.tar.gz
gdb-3ed30d29c615edca09467def7656d3e87cd722b7.tar.bz2
* coffcode.h (coff_write_object_contents): Use
bfd_coff_swap_filehdr_out instead of coff_swap_filehdr_out.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/coffcode.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 85b0a59..0d7dc31 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 34e6fc2..2cdc137 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -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);