Fix for coffcode.h

Mark E. snowball3@bigfoot.com
Sat Apr 14 21:17:00 GMT 2001


> > coff_* may be a #define set according to
> > the file including coffcode.h, whereas bfd_coff_* may point somewhere
> > else entirely.

I forgot to say the swap table does call coff_swap_filehdr_out by default:

#ifndef coff_SWAP_filehdr_out
#define coff_SWAP_filehdr_out coff_swap_filehdr_out
#endif

[...]

static const bfd_coff_backend_data bfd_coff_std_swap_table =
{
[ snip]
  coff_SWAP_filehdr_out, coff_SWAP_aouthdr_out,

Mark



More information about the Binutils mailing list