This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: bfd/elf/mn10300 "dangerous error"
DJ Delorie <dj@redhat.com> writes:
> What I meant, was, if our target has its own "style" of shared
> libraries, more specific than the generic shared library support BFD
> offers, can it tell the BFD that it needs this more specific format?
> Or would that be a new BFD, derived from the generic one, a new
> emulation, or just a command line option?
>
> That way, we could differentiate (for example) uClinux-style PIC from
> MMU-ful Linux style PIC.
If the target supports two different kinds of shared libraries, then I
think two different targets would be appropriate.
> (it's issues like this that make me wish bfd was implemented in C++.
> Virtual functions for these handlers would be *so* nice)
Yes.
Ian