This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Porting BFD to new architecture
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.
If you tell us the problems you are encountering, perhaps we can help
solve them.
Ian