]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - binutils/ChangeLog
readelf: zero static vars after freeing
authorAlan Modra <amodra@gmail.com>
Wed, 15 Apr 2020 07:10:54 +0000 (16:40 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 15 Apr 2020 07:33:22 +0000 (17:03 +0930)
commitb71d4fa7c35c1918e96bc3c297f940b5c1624e21
tree9073e7e8708cd9c5fbd746be9c4e05edbe7c5037
parent89246a0e7919e31f112526c11199ad2496980377
readelf: zero static vars after freeing

When readelf is processing more than one file, static bss vars won't
start out as zero for the second file unless they are cleared.

* readelf.c (process_symbol_table): Zero gnubuckets, gnuchains
etc. after freeing.
binutils/ChangeLog
binutils/readelf.c