Initializing a bfd* without using openr_bfd (nor _bfd_new_bfd()) ?

nick clifton nickc@redhat.com
Thu Jan 19 16:42:00 GMT 2012


Hi Emmanuel,

> I am struggling with libbfd trying to allocate a fresh bfd* structure,
> yet without using openr_bfd, openw_bfd (nor _bfd_new_bfd as it is a
> private function).
>
> Is there a simple way to call _bfd_new_bfd() without having to
> reimplement it ?

Have you tried using bfd_create() ?

Or bfd_openr_iovec() ?

Cheers
   Nick




More information about the Binutils mailing list