This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fix for coffcode.h


> > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]