aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffswap.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-01-13 23:55:21 +0000
committerNick Clifton <nickc@redhat.com>2000-01-13 23:55:21 +0000
commit6b3b007bde0f9f46d184b8ecac57e1f91d3571f6 (patch)
treea235194dda9f61e94c546fcda52ffc444f197671 /bfd/coffswap.h
parent756fa1b9b743ac96fc0f870d098002d070fee082 (diff)
downloadgdb-6b3b007bde0f9f46d184b8ecac57e1f91d3571f6.zip
gdb-6b3b007bde0f9f46d184b8ecac57e1f91d3571f6.tar.gz
gdb-6b3b007bde0f9f46d184b8ecac57e1f91d3571f6.tar.bz2
Applied Tim Wall's patch to replace RELSZ and friends with bfd_coff_relsz and
friends.
Diffstat (limited to 'bfd/coffswap.h')
-rw-r--r--bfd/coffswap.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/coffswap.h b/bfd/coffswap.h
index c4a5f66..bb94384 100644
--- a/bfd/coffswap.h
+++ b/bfd/coffswap.h
@@ -261,7 +261,7 @@ coff_swap_reloc_out (abfd, src, dst)
SWAP_OUT_RELOC_EXTRA(abfd,reloc_src, reloc_dst);
#endif
- return RELSZ;
+ return bfd_coff_relsz (abfd);
}
#endif /* NO_COFF_RELOCS */
@@ -321,7 +321,7 @@ coff_swap_filehdr_out (abfd, in, out)
#ifdef COFF_ADJUST_FILEHDR_OUT_POST
COFF_ADJUST_FILEHDR_OUT_POST (abfd, in, out);
#endif
- return FILHSZ;
+ return bfd_coff_filhsz (abfd);
}
@@ -845,7 +845,7 @@ coff_swap_scnhdr_out (abfd, in, out)
{
struct internal_scnhdr *scnhdr_int = (struct internal_scnhdr *)in;
SCNHDR *scnhdr_ext = (SCNHDR *)out;
- unsigned int ret = SCNHSZ;
+ unsigned int ret = bfd_coff_scnhsz (abfd);
#ifdef COFF_ADJUST_SCNHDR_OUT_PRE
COFF_ADJUST_SCNHDR_OUT_PRE (abfd, in, out);