Move bfd_alloc, bfd_zalloc and bfd_release to libbfd.c
authorAlan Modra <amodra@gmail.com>
Wed, 3 May 2023 03:30:11 +0000 (13:00 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 3 May 2023 05:26:01 +0000 (14:56 +0930)
commita41bd1c837f9b71b44dbb71c2d47814326cfaa8d
tree004dda95dfc323a4cc65050f0652a8c0f6274b28
parent37cfe371c4f2bb7aba2a684ed91749d1288ca187
Move bfd_alloc, bfd_zalloc and bfd_release to libbfd.c

These functions don't belong in opncls.c.

* libbfd-in.h (bfd_release): Delete prototype.
* opncls.c (bfd_alloc, bfd_zalloc, bfd_release): Move to..
* libbfd.c: ..here.  Include objalloc.c and provide bfd_release
with a FUNCTION comment.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
bfd/bfd-in2.h
bfd/libbfd-in.h
bfd/libbfd.c
bfd/libbfd.h
bfd/opncls.c