This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: porting gas, which bfd backend functions must be implemented?
- From: Ian Lance Taylor <ian at airs dot com>
- To: "free.jesse" <free dot jesse at yahoo dot com>
- Cc: binutils at sourceware dot org
- Date: 21 Feb 2006 20:13:51 -0800
- Subject: Re: porting gas, which bfd backend functions must be implemented?
- References: <20060221143350.60551.qmail@web37012.mail.mud.yahoo.com>
"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