Re: Fix tight loop on recursively-defined symbols
authorAlan Modra <amodra@gmail.com>
Mon, 18 May 2020 04:00:59 +0000 (13:30 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 18 May 2020 04:16:27 +0000 (13:46 +0930)
commitd402189f2faa0aaa9fb8ad4669fdf0059946cd8a
tree9eab0921b5514839e2970951fbdcc7e11ef8546c
parent503648e41efa19dfb059757ffddf0206b6060520
Re: Fix tight loop on recursively-defined symbols

sy_resolving ought to not be set for a struct local_symbol, but it is
apparent from local_symbol_make that the field is not initialised.

* symbols.c (resolve_symbol_value): Invoke LOCAL_SYMBOL_CHECK
before looking at add_symbol->sy_flags.sy_resolving.
gas/ChangeLog
gas/symbols.c