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: porting gas, which bfd backend functions must be implemented?


"free.jesse" <free.jesse@yahoo.com> writes:

> if only porting gas, besides writting tc-foo.c, which
> bfd target vector functions and bfd backend functions
> in elf32-foo.c must be implemented?  

To port gas, you only need the backend vectors which are used to write
a file.  You don't need the ones used to read a file.  In general, you
need BFD_JUMP_TABLE_GENERIC, bfd_reloc_type_lookup,
BFD_JUMP_TABLE_WRITE.

Ian


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