This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Porting BFD to new architecture
Hi,
On 12 Oct 2005 13:43:46 -0700, Ian Lance Taylor <ian@airs.com> wrote:
> ibanez@sunplus.com writes:
>
> > But to port bfd, we need to hack the bfd source code.
> > It makes upgrade to a new libbfd version impossible without re-porting.
> >
> > How can we add our architecture to the libbfd in a smart and transparent
> > way?
>
> We don't know. For most targets you can port BFD by adding a few
> files and adding a line or two to reloc.c, archures.c, targets.c,
> config.bfd, and perhaps configure.in.
And don't forget to build using --enable-maintainer-mode configure flag.
--
Ravi Ramaseshan
http://www.geocities.com/ramaseshan_ravi/
" Reality is only something we believe in strongly. "