Bugzilla bug 493 - libbfd seg fault

Alan Modra amodra@bigpond.net.au
Wed Dec 12 15:50:00 GMT 2001


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



More information about the Binutils mailing list