PR28673, input file 'gcov' is the same as output file
authorAlan Modra <amodra@gmail.com>
Wed, 8 Dec 2021 09:23:54 +0000 (19:53 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 8 Dec 2021 10:00:48 +0000 (20:30 +1030)
commitda1ecf8919e3fe07fbec53240015dc3cc55dbd7c
tree8407e08a14ad982a921dbe2199a1cf9522d266b8
parenta8a7c763fdc5057684234feef94796ef9886aba8
PR28673, input file 'gcov' is the same as output file

PR 28673
* ldlang.c (open_output): Use local_sym_name when checking
output against input files rather than filename.
ld/ldlang.c