diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-12-19 13:30:39 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-12-19 13:37:04 -0800 |
commit | 97aac4ec3293dc4a3fdb45a744a2991ae56514c2 (patch) | |
tree | 5d001c56054449c969d72d4c7dc770fd5cd2c14e /gold/tls.h | |
parent | 60108e47b5b16b32a62eb32c5e6f929ab2cb5cf1 (diff) | |
download | fsf-binutils-gdb-97aac4ec3293dc4a3fdb45a744a2991ae56514c2.zip fsf-binutils-gdb-97aac4ec3293dc4a3fdb45a744a2991ae56514c2.tar.gz fsf-binutils-gdb-97aac4ec3293dc4a3fdb45a744a2991ae56514c2.tar.bz2 |
gold: Move sym declaration just before use
Move sym declaration just before use to avoid -Wmaybe-uninitialized
warning from GCC 11.
PR gold/27097
* incremental.cc (Sized_relobj_incr::do_add_symbols): Move sym
declaration just before use.
(Sized_incr_dynobj::do_add_symbols): Likewise.
* plugin.cc (Sized_pluginobj::do_add_symbols): Likewise.
Diffstat (limited to 'gold/tls.h')
0 files changed, 0 insertions, 0 deletions