* main.c (captured_main): Call bfd_init.

This commit is contained in:
Tom Tromey 2013-01-21 17:32:10 +00:00
parent 1605ef261f
commit 5484b13a88
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2013-01-21 Tom Tromey <tromey@redhat.com>
* main.c (captured_main): Call bfd_init.
2013-01-21 Tom Tromey <tromey@redhat.com>
* gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.

View File

@ -357,6 +357,8 @@ captured_main (void *data)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
bfd_init ();
make_cleanup (VEC_cleanup (cmdarg_s), &cmdarg_vec);
dirsize = 1;
dirarg = (char **) xmalloc (dirsize * sizeof (*dirarg));