From: Ian Lance Taylor Date: Mon, 25 Sep 1995 15:50:25 +0000 (+0000) Subject: * init.c (initialized): Remove static variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=81449d47c5400f7ea20543d20c416be210caa4ac;p=binutils-gdb.git * init.c (initialized): Remove static variable. (bfd_init): Don't bother setting initialized. (bfd_check_init): Remove. * opncls.c (_bfd_new_bfd): Don't call bfd_check_init. * libbfd.h: Rebuild. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d055dd80249..86e0bd32a73 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +Mon Sep 25 11:48:02 1995 Ian Lance Taylor + + * init.c (initialized): Remove static variable. + (bfd_init): Don't bother setting initialized. + (bfd_check_init): Remove. + * opncls.c (_bfd_new_bfd): Don't call bfd_check_init. + * libbfd.h: Rebuild. + Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * rs6000-core.c (rs6000coff_core_p): Don't check the core file diff --git a/bfd/libbfd.h b/bfd/libbfd.h index 2aaeb8a2606..a57e292106c 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -463,9 +463,6 @@ extern boolean _bfd_ecoff_get_accumulated_ss PARAMS ((PTR, bfd_byte *)); /* And more follows */ -void -bfd_check_init PARAMS ((void)); - void bfd_write_bigendian_4byte_int PARAMS ((bfd *abfd, int i)); diff --git a/bfd/opncls.c b/bfd/opncls.c index f3872bf31d4..bfb341527c1 100644 --- a/bfd/opncls.c +++ b/bfd/opncls.c @@ -54,7 +54,6 @@ _bfd_new_bfd () return 0; } - bfd_check_init(); if (!obstack_begin(&nbfd->memory, 128)) { bfd_set_error (bfd_error_no_memory);