gcov: Move prepend to list to read_gcda_file()
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Wed, 30 Mar 2022 19:54:36 +0000 (21:54 +0200)
committerSebastian Huber <sebastian.huber@embedded-brains.de>
Thu, 28 Apr 2022 18:46:49 +0000 (20:46 +0200)
commit76cae6482e0e618d1f8709b3c5d14642378281c7
treed930c6aa4a363a976021e495856603e4c0c21eb1
parentf9b59dd8e5586862cd3c2fa53901ee2e90226a3c
gcov: Move prepend to list to read_gcda_file()

This helps to reuse read_gcda_file().

libgcc/

* libgcov-util.c (read_gcda_file): Prepend new info object to global
list.
(ftw_read_file): Remove list append here.
libgcc/libgcov-util.c