This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
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