This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Bugzilla bug 493 - libbfd seg fault
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Niels Christiansen <nchr at us dot ibm dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 13 Dec 2001 10:20:42 +1030
- Subject: Re: Bugzilla bug 493 - libbfd seg fault
- References: <OF96D65AA1.A496422C-ON85256B20.004C5644@raleigh.ibm.com>
On Wed, Dec 12, 2001 at 09:06:39AM -0500, Niels Christiansen wrote:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x20000000000be571 in bfd_elf64_slurp_symbol_table ()
You haven't called bfd_init, or set_default_bfd_target. Take a look at
one of the existing binutils utilities, eg. binutils/objdump.c, for
an example of what needs to be done.
Alan