This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: Looking to contribute OMF support


Bernd Jendrissek <berndj@prism.co.za> writes:

> Seems to me BFD_JUMP_TABLE_WRITE has only one substantive method
> (_bfd_set_section_contents) but for anything interesting I'll have to
> figure out how to write relocs to the output file.  Do I do that from
> within _bfd_set_section_contents too?

The object file creator (e.g., gas) will call bfd_set_reloc.  The
write_contents code is responsible for getting those relocs into the
object file.

Ian


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