This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Initializing a bfd* without using openr_bfd (nor _bfd_new_bfd()) ?
- From: Emmanuel Fleury <fleury at labri dot fr>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Mon, 16 Jan 2012 16:20:56 +0100
- Subject: Initializing a bfd* without using openr_bfd (nor _bfd_new_bfd()) ?
Hi,
Again, a very naive question... :-/
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 ?
Regards
--
Emmanuel Fleury
If you have the right attitude, interesting problems will find you.
-- Eric S. Raymond (The Cathedral and the Bazaar)