Don't use bfd.h in binutils/elfcomm.c
authorAlan Modra <amodra@gmail.com>
Thu, 19 Mar 2020 05:03:03 +0000 (15:33 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 19 Mar 2020 05:37:45 +0000 (16:07 +1030)
commit81a65eb338cf7b40ef76b1cdb150eefd8495e282
tree0d15be0f216b607191bdd1fbd0a43b2952548192
parent1cb7d8b1afc7c71cfacfe017e0692c9064bf9818
Don't use bfd.h in binutils/elfcomm.c

Better than warning about bfd types, just don't include bfd.h and
warn against including the header again.

* elfcomm.c: Don't include bfd.h or bucomm.h.
(program_name): Declare.
(process_archive_index_and_symbols): Replace bfd_boolean with int,
and substitute FALSE and TRUE.
(setup_archive, setup_nested_archive): Likewise.
* elfcomm.h: Likewise.
binutils/ChangeLog
binutils/elfcomm.c
binutils/elfcomm.h