Use bfd_get_filename throughout binutils
authorAlan Modra <amodra@gmail.com>
Tue, 19 May 2020 03:05:56 +0000 (12:35 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 19 May 2020 03:05:56 +0000 (12:35 +0930)
commitc177f3771c821d649bc1b1d6dc67caa0a0a22f78
tree9dbca410452dee46148f2fcc7adf39b7d467fda9
parent765cf5f623dbc2de8c8791bce9a29fcc3492436c
Use bfd_get_filename throughout binutils

* ar.c (map_over_members, get_pos_bfd, delete_members, move_members),
(replace_members): Use bfd_get_filename rather than accessing
bfd->filename directly.
* arsup.c (map_over_list, ar_delete, ar_replace, ar_extract): Likewise.
* binemul.c (do_ar_emul_append): Likewise.
* coffgrok.c (coff_grok): Likewise.
binutils/ChangeLog
binutils/ar.c
binutils/arsup.c
binutils/binemul.c
binutils/coffgrok.c