diff options
author | Alan Modra <amodra@gmail.com> | 2020-05-19 12:35:56 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-05-19 12:35:56 +0930 |
commit | c177f3771c821d649bc1b1d6dc67caa0a0a22f78 (patch) | |
tree | 9dbca410452dee46148f2fcc7adf39b7d467fda9 /binutils/binemul.c | |
parent | 765cf5f623dbc2de8c8791bce9a29fcc3492436c (diff) | |
download | gdb-c177f3771c821d649bc1b1d6dc67caa0a0a22f78.zip gdb-c177f3771c821d649bc1b1d6dc67caa0a0a22f78.tar.gz gdb-c177f3771c821d649bc1b1d6dc67caa0a0a22f78.tar.bz2 |
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.
Diffstat (limited to 'binutils/binemul.c')
-rw-r--r-- | binutils/binemul.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/binemul.c b/binutils/binemul.c index c1621c3..7c71b5b 100644 --- a/binutils/binemul.c +++ b/binutils/binemul.c @@ -84,7 +84,7 @@ do_ar_emul_append (bfd **after_bfd, bfd *new_bfd, if (!check (new_bfd)) return FALSE; - AR_EMUL_APPEND_PRINT_VERBOSE (verbose, new_bfd->filename); + AR_EMUL_APPEND_PRINT_VERBOSE (verbose, bfd_get_filename (new_bfd)); new_bfd->archive_next = *after_bfd; *after_bfd = new_bfd; |